Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What's the best way to disable indexing in Windows 7?

All of the articles that I've found online instruct me to access services.msc and disable the Windows Search service. However, even after I did that, when I right click properties of my C-drive, I notice the "Allow files on this drive...indexed..." is still checked.

So should I uncheck that option and re-enable Windows Search? Or just uncheck it and leave the Windows Search service disabled?

share|improve this question
add comment

5 Answers

Don't bother for the checkbox "Allow files on this drive...". Even if it's checked, if the service is disabled, Windows won't index anything at all.

If you want, you can completely uninstall Windows Search, as explained in this tutorial (at maximumpcguides.com).

alt text

share|improve this answer
    
Thanks for the help! I don't really use Windows Search but I guess it's good to keep it. –  KL90 Nov 21 '09 at 17:21
add comment

You can uninstall just the Indexing service (as opposed to all of Windows search which has somewhat big ramifications as below).

To uninstall the Indexing service, open the Windows Features dialog (Start -> OptionalFeatures.exe) and un-check the Indexing Service entry.


Windows Search Uninstallation Warning

share|improve this answer
add comment

The previous two answers show you how to disable Windows search altogether. This also causes search boxes in various places to disappear, most notably the search box on the bottom of the Start menu and the search box at the top right of file explorers.

Personally, I like the search box in various places, I just don't want an indexing process to be running all the time. The main advantages of indexing are that it leads to faster searches, and to in-document searches and email searches. If you need neither of these, but want to keep Search in general, proceed as follows:

  1. Do not turn off Windows search, or switch it back on via OptionalFeatures.exe. (reboot if necessary).

  2. Go to the services control (either via Computer, right click, Manage; or by typing services.msc in the search box at the Start menu).

  3. Find the Windows Search service, right click, Properties and set it to disabled at start up.

  4. Reboot (not strictly necessary, but you won't be able to see whether it worked until you reboot).

Note that documents created after you do this will not be found by the search boxes. Windows search is based on indexes only and does not do the equivalent of a Unix find anymore (as it did in the Windows XP days).

You can occasionally switch on the Windows Search service and leave your computer on overnight to have it update the indexes.

A very good in-depth discussion of windows search can be found over at Wikipedia.

share|improve this answer
add comment

Just type this into Start->Run (Win+R):

sc config WSearch start= disabled

It disables the indexing service.

share|improve this answer
add comment

If your objective is to retain search functionality, but not to use indexes, you need the set up the following situation:

  • Turn off the indexing (to prevent an index being produced).
  • Delete the existing index (to prevent windows from using the index during searches).
  • Avoid re-enabling indexing.
  • Optional: enable the searching of file contents.

Turning off indexing

Start -> Run -> services.msc -> disable and stop Windows Search.

Ensure that the Startup type is set to disabled to prevent Windows from starting it again automatically.

Deleting the existing index

You can get the path to the search index from the following dialog box:

Control Panel -> Indexing Options -> Advanced

indexing with directory

However since we have disabled indexing, it will be empty:

advanced indexing options

But we can still look up the value in the registry:

  • Start -> Run -> regedit.exe
  • Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search
  • We need the value of the DataDictionary key:

registry keys

Delete the Search folder specified by that path.

Avoid re-enabling indexing

Beware that when you run a search, you will frequently see this popup:

yellow popup

If you enable this, the indexing service will be restarted, and Windows will start using the index for indexed locations. So don't do that if you don't want it to use the index.

Search file contents

You may want to turn on searching file contents:

Control Panel -> Folder Options -> Search Tab

folder options

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.