Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.