Stop hung service (stopping or starting status) without server reboot
Here is a solution to stop an hung service without server reboot. Here an hung service is a service in stopping or starting status.
Step 1 : find the PID of the service using any way:
example:
taskkill /f /pid 2320
This works for many cases :)
Step 1 : find the PID of the service using any way:
- Task manager
- sc queryex servicename
- tasklist /svc | findstr /i servicename
Step 2: Kill the service by it's PID with taskkill /f command, syntax below:
taskkill /f /pid pidoftheservice
example:
taskkill /f /pid 2320
This works for many cases :)
Comments
Post a Comment