Stopping Search from a command line?

WDS under Vista has huge performance issues for me- even after allowing 5 days for it to index, my HD runs excessively. The worst performance hits are when I'm running anything full-screen DirectX, at which point every 10-20 sec, I'll hit a pause of 1-2 seconds. Irritating.

What I'd like to be able to do is stop the service from a command line. In XP, you could do this with something like "Net Stop "Windows Search"" in a batch file. In Vista, I get "System Error 5 has occured. Access is denied."

Any workaround And I mean to the command line problem, not the performance problems...



Answer this question

Stopping Search from a command line?

  • Carver42

    TL_Norman,

    You can pause the indexer by simply doing the following:

    In 2.6.x you can simply right click on the magnifying glass in the system tray and choose snooze indexing for 1 hour.

    In 3.0 you can right click on the magnifying glass and the pick how long you would like the indexer to snooze.

    Paul Nystrom - MSFT



  • bennett_chen

    Hil,

    I'm looking into a command line snooze option for Vista. I'll let you know when/if I find something.

    Paul Nystrom - MSFT



  • steal

    I would be interested in the response to this. Ever since I installed Desktop Search | Search Deskbar on my XP system my performance has gone down the toilet. It can take10-15 seconds for an IE browser window to open.
  • RB_Banc

    Hil,

    Here is the information you are looking for:

    From an elevated command prompt:

    To Pause: cscript \\back\scratch\WSearch\Tools\Scripts\pause.vbs

    To Resume: cscript \\back\scratch\WSearch\Tools\Scripts\resume.vbs

    Paul Nystrom - MSFT



  • Stopping Search from a command line?