User Tools

Site Tools


windows:kill_windows_service_that_hangs_on_stopping

Windows - Kill Windows Service that Hangs on "Stopping"

Find the Service Name

Open Windows Services from Command Prompt:

C:\WINDOWS\system32>services.msc

Double click on the Service and make a note of the Service Name.


Find the Process ID (PID)

sc queryex xxx

NOTE: xxx is the Service Name identified earlier.


Kill the Process

C:\WINDOWS\system32>taskkill /PID xxx /F

NOTE: xxx is the PID identified earlier.

returns:

SUCCESS: The process with PID 508 has been terminated.
windows/kill_windows_service_that_hangs_on_stopping.txt · Last modified: 2021/07/23 08:29 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki