Windows Services – Query Current Status
Find the current status of a service running on a server or windows workstation/laptop.
sc query <Service Name> | findstr STATE
To find a list of all installed services launch the services computer management window by running Services.msc or by launching start -> programs -> Administrative Tools -> Services
- Right click the service in question
- The Service Name will be the name that you reference in your service query.
Example Service: Indexing Service = CiSvc
Example Status Output: sc query CiSvc | findstr STATE
Output: STATE : 1 STOPPED
Categories: Uncategorized
batch, query, status, Windows