Steve Fenton

Poking around services using commands

Important Note! These commands for Windows Services work if you run Command Prompt as Administrator.

List all services

SC QUERY state=all > "C:\Temp\Services.txt"

This will drop a text file (because you’re likely to have more information than your command buffer) into the temp folder for your perusal.

Start / stop a service

Start a service…

SC START YourServiceName

Stop a service…

SC STOP YourServiceName

Delete a service

This deletes the service…

SC DELETE YourServiceName

Written by Steve Fenton on