Wednesday, April 13, 2016

Kill windows service that is not responding/hungs

1) Query the service PID via NT service controller.

sc queryex <servicename>
eg.
sc queryex w32time
Note: you can find the service name from services.msc in Run box. Here w32time for Windows Time Service.











 



2) Note the PID of the service

3) kill the process by PID.
tskill <PID>

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.