Stopping Search from a command line?  
Author Message
Hil H





PostPosted: Windows Desktop Search Help, Stopping Search from a command line? Top

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...



Windows Search Technologies3  
 
 
TL_Norman





PostPosted: Windows Desktop Search Help, Stopping Search from a command line? Top

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.
 
 
Paul Nystrom - MSFT





PostPosted: Windows Desktop Search Help, Stopping Search from a command line? Top

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



 
 
Paul Nystrom - MSFT





PostPosted: Windows Desktop Search Help, Stopping Search from a command line? Top

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



 
 
Paul Nystrom - MSFT





PostPosted: Windows Desktop Search Help, Stopping Search from a command line? Top

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