The SC Utility

The SC Utility is a command line interface for the service controller. It displays the configuration of the computer on which is it run. The SC Utility is on the Windows NT Resource Kit 4.0 CD in the Computer Configuration group. Run it from a command prompt window; it should not be started from the Run command on the Start menu.

At the command prompt, type sc to see a brief description of the commands. Among other things, SC lists all services and drivers on the system.

To see a listing of services, drivers, or both, type:


c:\> sc query

Or, for just services, type:


c:\> sc query type= service

Or, for just drivers, type:


c:\> sc query type= driver

For more detail on a driver or service, including the process in which it runs, type:


c:\> sc qc servicename

To find the display name, type:


c:\> sc getkeyname displayname