Home » Windows(2003/2008/2012) » How to stop a hung service.

How to stop a hung service.

We are often getting trouble with a service being in starting or stopping state. There is solution to get off from such issues.

This happens due to the process which holds the service and to fix the issue we would need to find the PID so that we can kill it.

Please follow the below steps:

1. Query the process. Syntax: “sc queryex servicename” would need registry name.
2. Identify the PID.
3. Use Taskkill to kill the hung process. Syntax: ” taskkill /f /pid [PID].

This will forcefully hill the hung service.

Print Friendly

Leave a comment

Your email address will not be published. Required fields are marked *


9 + 5 =


Visitors Count

Subscriber Count

    3981
May 2017
M T W T F S S
« Apr    
1234567
891011121314
15161718192021
22232425262728
293031