Wednesday, June 13, 2012

How to kill a hung Windows Service

Yesterday, I was unable to stop the  vCenter Update Manager service.  It was hung at "stopping".

To kill the service, get the name of the offending service from Server Manager. In my case, it was vmware-ufad-vci:
Open a command prompt and get the PID for the hung service by running the following command:
sc queryex <service name>

Then kill the appropriate PID:
taskkill /PID <PID> /F



That's it!

No comments:

Post a Comment