Search This Blog

Wednesday, May 23, 2012

Service stuck in "starting" or "stopping" state.

Windows  Service stucking problem.

Many times, service stuck and we don't know what to do with this issue.
If your server is production and you can't reboot him right now, but you must start or stop the specific service - this post for you.


1. Open command prompt
Let's find your service and identify the PID.
If you already know the name of service, run next command:

sc queryex w32Time

and you will see PID number.
If you don't know name of the service, just run same command without name of the service.

sc queryex

you will see list of all services, just find what you need.

2. Let's kill the service.
Now you know PID of the service and let's kill him!

taskkill /f /pid 1132

That's all.

enJoY!

No comments:

Post a Comment