- Author and member of the year 2019 – Why DevOps still doesn't rule the IT world - Wed, Jan 1 2020
- Results of the 4sysops member and author competition in 2018 - Tue, Jan 8 2019
- Why Microsoft is using Windows customers as guinea pigs - Reply to Tim Warner - Tue, Dec 18 2018
Update: I have written a new article about turning off indexing in Windows 7 and Vista, which I recommend to read first. If you installed Vista SP1, there are other ways to disable indexing.
Vista comes with a new indexing service which improves desktop search. It not only makes search faster, but also adds some nice features. The one I like most is that it allows you to search very fast for mails in Outlook. There are, however, cases where you might want to disable Vista's search indexing.
Good desktop search tools index your hard disk only whenever the PC is idle. This seems to be different with Vista. I often saw the corresponding processes (SearchProtocolHost, SearchFilterHost, SearchIndexer) active even though my computer was quite busy with other tasks. This can decrease the overall performance tremendously.
Another reason why you might want to disable Vista search indexing is, if you are using another desktop search solution. Or perhaps you only rarely search for files on your PC. If it is not the reduced performance, then it could be the constant activity of your hard disk, whenever indexing starts, that might get on your nerves. And if you install Vista in a virtual environment, for example, VMware Workstation or Virtual PC, I recommend disabling it anyway since it will slow down your VM significantly.
I know of three ways to turn off Vista's search indexing:
- Navigate to Control Panel, choose "Uninstall a Program" under "Programs" and then click on "Turn Windows features on or off". There you can disable the Indexing Service Navigate to Control Panel/System and Maintenance/Indexing Options. There you can remove all locations or only those you use rarely.
- It is also possible to disable indexing for a certain drive or enable it only for selected folders. You can do this by changing the Properties of a drive or folder (right click on drive letter in Windows Explorer).
- The fasted way is to simply disable the Windows Search service. Run Services (just type "Services" at the Start Search bar), right click on the Windows Search service and select "Properties". Then choose "Disabled" for the start type. Afterwards, you have to stop this service by right clicking on it and selecting "Stop".
The first option is the one you will quite often find on the Web. But I found out that Windows Search remains active after disabling it this way. The second option works, however, it takes quite long time until all files in all subfolders have been excluded from indexing. Thus, the third option is the best one. You don't have to reboot, as with the first option, and if your want to enable it again later, it will cost you just a couple of mouse clicks.