When you start or stop a service in Windows it can sometimes gets hung in a “starting” or “stopping” state. Follow these easy steps to kill a hung service in Windows. I ran into this issue recently so I thought I would share the steps I used to kill the hung service.
1. Find the Process ID of the Hung Service
You must know the Process ID (PID) in order to kill the hung service. You can locate the PID by opening a command prompt and entering the following command:
Replace “servicename” with the actual service name of your hung service. You can locate the service name by right clicking on the hung service and selecting Properties. For example, the Windows Time service name is W32Time.
I’ve highlighted the Process ID (PID) that is needed for step 2.
2. Stop the Hung Service Using the Taskkill Command
Use the PID you found in step 1 and run the following command to kill the hung service: