Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to stop the Windows Search (WSEARCH) service, I type NET STOP WSEARCH, and within 3 minutes, it is running again. How can I find out who is restarting it, and stop them? Do I need to disable the service?

share|improve this question

migrated from serverfault.com Jan 21 '11 at 21:11

This question came from our site for system and network administrators.

    
I agree to Rodrigo's answer. My question is, however: Why do you want to do that? – Tobias Plutat Jan 21 '11 at 23:20
1  
If you need to re-enable it in the future be sure to set it to Enabled (Delayed Start), which is the default setting. – Moab Jan 22 '11 at 0:14
up vote 3 down vote accepted

Try "sc config "wsearch" start= disabled" or use the graphical "services.msc" to mark it as disabled.

Note: A space is required after start= or it won't be accepted.

share|improve this answer
1  
You're going to have to disable the service, or it's going to automatically restart. It's like the Indexing service of XP. – JohnThePro Jan 21 '11 at 18:42
1  
note that a space is required after start= or sc won't accept it. – Warren P Jan 28 '11 at 13:50

To stop it and have it stay stopped, I used this:

net stop wsearch
sc config "wsearch" start= disabled

To restart it I used this:

sc config "wsearch" start= auto
net start wsearch

Note that the space after the start= parameter is required (thanks to a lazy programmer at Microsoft who didn't want to write a thorough command line parsing function).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .