Posts Tagged ‘Troubleshooting Hung Services’
2003 server - Thursday, February 28, 2008 4:11 - 0 Comments
Troubleshooting Hung Services
How to troubleshoot hung services.
It can be tricky to determine when a misbehaving Windows service has hung and is no longer responding. That’s because Windows services can be in one of several states:
SERVICE_STOPPED
SERVICE_STOP_PENDING
SERVICE_START_PENDING
SERVICE_RUNNING
If a service has stopped, both the Services.msc console and the Net.exe command will report it as stopped, and if the service is running, both tools will report it as running. But if the service is in the SERVICE_STOP_PENDING or SERVICE_START_PENDING state, both Net.exe and Services.msc will report it as running! That’s why you should use the Sc.exe command instead to troubleshoot hung services as this command will return the true state in these conditions.
Article written by MyComputerAid.com