Table of Contents

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.