WINDOWS SERVICES – STOP AND START

If you have a Windows service you want to be able to stop and start easily, then you can create a DOS batch file that sits on your desktop and is easy to launch. First, find out the name of the service – sometimes this is not the same as it’s display name. For example, Print Spooler is actually “spooler”. Get the actual service name from the service Properties page:

services

services2

Now create a text document on your Desktop containing the following code:

net stop spooler

and save as *.bat or *.cmd (change the file extension). If there are spaces in the service name, add quotes around it:

services3

You can now double-click the cmd file to either stop or start the service:

services4

This could be useful to reboot Exchange, iTunes, or a dodgy Print queue (as you probably know if you’ve ever owned an iPad or Laserjet, Apple and HP software is a joke).

services5