Finding Out Why a Service Won’t Start
How to display service exit codes.
If you want to know whether a particular Windows service started successfully when your machine booted up, you can use the sc query command to do this. Simply run the command sc query service_name and look for the WIN32_EXIT_CODE field in the output of the command. If this field is zero then the service started properly, and if the service didn’t start properly then WIN32_EXIT_CODE will display a non-zero exit code specific to the service.
For example, when I run the command sc query vss to query the status of the Volume Shadow Copy service on a Windows Server 2003 machine, the WIN32_EXIT_CODE value returned is 1077 (0x435). To find out what this exit code means, you can type net helpmsg 1077, and the result of doing this is “No attempts to start the service have been made since the last boot.” This likely indicates that the Startup Type for this service is Manual i.e. the service isn’t set to start automatically upon reboot.
Article written by MyComputerAid.com
2003 server - Sep 30, 2008 22:34 - 0 Comments
instant messaging srv records
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Microsoft Outlook - Mar 22, 2009 11:22 - 0 Comments
Outlook: Duplicates in Mailbox
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Microsoft Desktop, Web browsers and Internet, Windows 2000, Windows 7, Windows 98, Windows Firewall and networking, Windows Vista, Windows XP - Feb 8, 2010 18:09 - 0 Comments
Disable Proxy settings in IE
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Leave a Reply
You must be logged in to post a comment.