This is useful if you need to stop a service stuck in a “STOP_PENDING” state.
All you have to do is find the PID of the service.
You can do so by typing at the command line prompt
sc queryex <servicename>
This will return alot of information including the PID number of the service. After you have the PID you can then stop the service by the command
taskkill /F /PID <PID Number>
Hope this helps someone