Tuesday, March 4, 2014

How to Kill a Process Stuck in Stopping State

On Windows 7:

Open a command prompt and query the service using

sc queryex MyServiceName

Where MyServiceName is the service that won't stop.

This will print a bunch of information, one item will be the PID. Use the PID (in this case 3604) from above and kill the process:

taskkill /PID 3604 /F