Displaying Services Not Running

by Mitch Tulloch [Published on 9 Jan. 2007 / Last Updated on 9 Jan. 2007]

How to display services not running.

Here's a quick and accurate way of displaying all Windows services that are not currently running on your system using the sc query command:

sc query type= service state= inactive

Don't forget the spaces after the equals signs, they're required.

If you only want to determine whether a single service (for example VSS, the Volume Shadow Copy service) is running or not, use this:

sc query vss


Mitch Tulloch is President of MTIT Enterprises, an IT content development company based in Winnipeg, Canada. Prior to starting his own company in 1998, Mitch worked as a Microsoft Certified Trainer (MCT) for Productivity Point International. Mitch is a widely recognized expert on Windows administration, networking and security and has written 14 books and over a hundred articles on various topics. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy Microsoft platforms, products and solutions. Mitch is also a professor at Jones International University (JIU) where he teaches graduate-level courses in Information Security Management (ISM) for their Masters of Business Administration (MBA) program. For more information see http://www.mtit.com.

See Also

The Author — Mitch Tulloch

Mitch Tulloch is a well-known expert on Windows Server administration and cloud computing technologies. He has published over a thousand articles on information technology topics and has written, contributed to or been series editor for over 50 books.

Featured Links