Batch file to start a service

Hello,
i want to restart the service which is alread running
2 answers Last reply
More about batch file start service
  1. 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>
  2. 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)
Ask a new question

Read More

Configuration Windows XP