Monday, September 9, 2013

Windows service stuck in Stopping state

Many times you try to stop a service and it remains in “stopping” state and you cannot do anything to make it stop. There is a way to kill a serive by running the following command.
Taskkill /F /FI "SERVICES eq Service_name"
In the Service_name you have to enter the name. To find the name you will need to open services.msc and right-click on the service and select properties. You will need to copy the name on the Service Name field under the General tab. (875)

No comments:

Post a Comment