In Windows Servers, If you have a service that is not responding or showing as stopping in Windows services that you are unable to stop, use the following steps to force the service to stop.
- Open command prompt as Administrator
- Type ‘services.msc’
- Press Enter
- Look for the service and check the Properties and identify its service name
- Once found, open a command prompt. Type sc queryex [servicename].
- Press Enter
- Identify the PID
- In the same command prompt type taskkill /pid [pid number] /f
- Press Enter
Example:
