Sc.exe: Service Controller Tool


This tool provides a way to communicate with Service Controller (Services.exe) from the command prompt to retrieve and set information about services.

Service Controller Tool is useful for testing and debugging your service programs. SC implements calls to all of the Windows 2000 service control functions. You can specify any function parameters through the command line. You can create batch files that call SC with various command lines to see how your service behaves with repeated starting and stopping.

SC can be used to display complete status information, including state, checkpoint number, and wait hint.

To view and manage services in Windows 2000

  1. Click Start, point to Programs, point to Administrative Tools, then click Computer Management.
  2. In Computer Management, double-click System Tools, then click Services.
  3. For information about how to use Services, right-click Services, and then click Help.

SC Topics

Files Required