Finding Service Dependencies

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

How to use sc.exe to find service dependencies

Windows services often have dependencies where starting one service requires that others already be running. Although you can view these dependencies using the Services.msc console, an easier way is to use the following two Sc.exe commands:

sc qc service_name will list all services on which the specified service depends

sc enumdepend service_name will list all services that depend upon the specified service.

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

Featured Links