Sometimes if you restart or stop a Windows service it wont stop. The Windows Service is stuck in the “stopping” state. If you cannot reboot your server or workstation for whatever reason you can kill the task using taskkill.exe.
First, open CMD (command prompt) as Administrator.
Then query the process ID (pid) using:
sc queryex servicename
Look for the PID.
Then
taskkill /f /pid PIDNR
Or using PowerShell with a force command:
get-service | where{$_.status -match "stopping"} | stop-service -Force
The post Kill a stopping service in Windows appeared first on Rob V IT.