Skip to main content

How to kill hung service

Sometimes, when you're trying to stop Windows service, it shows stopping and actually don't stop.
You need to force it to stop.

First query for service PID:
sc queryex SERVICENAME

Then kill the process using tskill
taskkill /f /pid PID