Controlling Services at the Command Prompt
If you regularly stop and start certain services, loading the Services snap-in and manually stopping and then restarting each service can be time-consuming. A better method is to take advantage of the NET STOP
and NET START
command-line tools, which enable you to stop and start any service that isn’t disabled. If a service can be paused and restarted, you can also use the NET PAUSE
and NET CONTINUE
commands to control the service. Each of these commands uses the same syntax:
NET STOP Service NET START Service NET PAUSE Service NET CONTINUE Service
Service
is the name of the service you want to control. Use the same value that appears in the Name column of the Services snap-in. If the name contains a ...
Get Windows 8 In Depth now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.