| Windows XP Tips and Tricks! |
| MANAGE AND DEBUG SERVICES USING SC.EXE |
| Although the primary focus of Windows XP was to make it easy for home |
| users to use, Microsoft also included some additional features for advanced |
| users and administrators. One of these features is the command line |
| This utility allows users to manage and debug services from the command |
| line. You can use it to query the status of a service; to start, pause, |
| and stop the service; to change the configuration of a service; to |
| enumerate service dependencies; to delete the service from the registry; and for |
| many other purposes. To obtain the list of all supported commands, type |
| The Sc.exe utility is quite powerful. For example, it will allow you to |
| query services not only by their name but also by their type (driver, |
| service, both), their state, group, and so on. If, for instance, you wanted |
| to query all of the services that are stopped, you would type: |
| Be sure to type the command exactly as shown. There is no space between |
| the state and the equal sign; however, there is a space between the equal |
| sign and "inactive." If the correct syntax is not used, you will receive |
First Previous Next Last |