Sign in with
Sign up | Sign in
Your question

Batch file to start a service

Last response: in Windows XP
September 14, 2010 9:07:30 PM

i want to restart the service which is alread running
September 14, 2010 10:12:40 PM

Try these commands:

net stop <service name>
net start <service name>

The following are also available, but may not apply to your situation:
net pause <service name>
net continue <service name>
September 17, 2010 7:58:36 PM

hellwig is correct but I'd just like to add the following:

- use net start command to see names of all services running
- copy the name of the service you want to stop to the clipboard
- use net stop <service name> to stop it (don't forget to put " at beginning and end of service name if it has spaces)