How to kill frozen service

Hi Guys,

This happens very often that you are going to services.msc and you want to restart service and after a few seconds, you see that service is hung (grey out).

Step1. Grab the name of the service.

Step2. Get PID of the service.
sc queryex servername

looking for PID

Step3. Kill the PID
taskkill /f /pid [PID]

That’s all, now you can start service in service console.