How To: Display Windows Service Not Running

| | No TrackBacks
The standard utilities provided with Windows aren't capable to sort out the services, to find what services are in a given state. Fortunately, there's a sc.exe utility from the Resource Kit, and it can be of help. Use its 'query' syntax to find out services; e.g., to find all the services that are not running at the moment, type

sc query type= service state= inactive

Note: the spaces after equal signs are mandatory.

If you only need to determine a state of a given service, type

sc query servicename

No TrackBacks

TrackBack URL: /blog/mt-tb.cgi/61

blog comments powered by Disqus

About this Entry

This page contains a single entry by Konstantin Boyandin published on January 15, 2010 12:16 PM.

How To: Determind Why A Service Won't Start was the previous entry in this blog.

How To: Detect Hung Services is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.