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 

  1. Right click the service in question
  2. 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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s