Killing a Windows Service stuck in the 'Stopping' state

by Administrator 25. June 2010 22:48

Sometimes a service can hang/get stuck in the 'Stopping' state and you need to force it to stop.

I'm not saying its a good idea as it may have unforeseen repercusions but this can done as follows:

  • sc queryex "ServiceName". This gives you a PID for the process
  • Kill the process using the task manager

Tags:

Blog


Buy Me a Beer ?

If you've found this site useful, you could help support its running costs by either checking out the adverts on the page if you find anything that interests you - or by making a small donation