How to start/stop/pause the windows search indexer

Slaggg picture Slaggg · Oct 25, 2009 · Viewed 24.5k times · Source

I'd like to determine how to programatically start/stop/pause the indexer from Microsoft Search.

I know it is possible because I've seen it done in programs like this one: http://brandontools.com/files/folders/sidebar_gadgets/entry511.aspx

However, I cannot find any docs on MSDN or anywhere.

There is a "Windows Search" service which can be controlled with traditional service control methods. However, starting/stopping this service also changes the availability of search itself. I want to control just the indexer.

Does anyone know where docs may be found that describe how to interact with the indexer? My search skills have failed me.

Answer

Shay Erlichmen picture Shay Erlichmen · Oct 25, 2009

According the Microsoft there isn't an official way of doing so.