Sometimes I think I should run a signspotting campaign for error messages. In this particular case, the error happens when trying to install or uninstall a Windows service.
Since there was nothing actionable in the error message (sigh), it was off to the web. On MSDN, the only “fix” was to reboot your machine. Boo. Fortunately after digging deeper it turns out that all you really need to do is close services.msc if it’s open.
Given that this is a fairly common situation for services development, hopefully this post will save a few reboots. And maybe the next version of Windows will say something to the effect of “service was unable to install/uninstall because services.msc is open, please close the control panel and retry your installation.”
Thanks a lot.
I had Serivices.msc open and that was my problem. You saved me few reboots.
Cheers..
This saved me. Thanks for the post.
All I can say is….exactly the same:
Thanks a lot.
I had Services.msc open…..uarghh what a naughty error……. You saved me, probably quite a few, reboots.
Cheers mate…..
Geez, you’d think MS would update their knowledge base, saving me a reboot much appreciated because it takes FOREVER with safenet drive encryption…
Thanks very much for posting this tip! You saved me many reboots in the future, since this is not a very obvious reason for the error message.
LEGEND!!!
Hi,
You know what, i ahd this problem on my production server, i just could not have rebooted it in any condition untill the weekend.
You saved my ass.
Thanks,
Manish
Me too! What a lifesaver.
Many thanks
Thanks a lot,
It saved me from reboot.
Thanks heaps – saved yet another reboot with 30 users active!
Pingback: Error 1001. The specified service has been marked for deletion | errorspotting.com
Saved me some reboots for sure! Thanks!!!
This saved my time….in my case Services.msc was open
thank you
sandesh
sanshark.com
I would like to offer my thanks too, saved time, and stopped a reboot of a live site
Thanks a lot…it saved me reboots
Thanks a lot..its saved me from reboot.
Make sure that each and every services.msc is closed on ALL nodes in your cluster by all users. This happened to me.
Thanks a lot! It saved my CPS!
Exactly as you suggested, thanks for blogging the problem/solution.
THANX ALOT !!!! Your post solve my problem. Thanx to you and (……..) for windows. you can understand
Thanks a lot for sharing!!
Can’t believe I allways rebooted when it was so simple to solve.
Thank’s man. You have saved me some time. Shame on Microsoft!
just wanted to thank you,.. saved me a reboot
You’re my hero of the day!
saved me a 2*20 miles trip (thanks to very strict policies for rebooting production servers).
Thanks a lot.. It really helped me as I cannot have the machine rebooted!!!
Thanks for your answer, it helped me to save a lot of time.
Sure enough. That’s all it was. Thanks for the post.
Thanks a lot
Life Saver! Thanks a ton !!
I had same issue. Reason was open alert in “Services” window.
Thanks!!!!!!!!!!!!!!!
Thank you so much. I believe you saved me hours of headaches
Thanks a ton
You Rock!!!!
Thank you! I’m so glad I googled the error instead of rebooting!
You are a scholar and a gentleman. Thanks!
Also check to make sure no instances of mmc.exe are running in the Task Manager. I ran into that today when it still failed after all services.msc windows were closed. Killing mmc.exe allowed the install to succeed.
Good very good… Thanks!!!
Thank You very much!
Thanks for making our lives a bit easier.
Brilliant, thanks!
Thanks buddy for your help.It saved me a lot.
OMFG! Man… I lost hours trying to debug this stupid service over such a simple issue? I feel a bit silly!
Thank you ! It Saved me a Lot
thank you! makes me want to cry….
Yup. This.
Saved me, too.
Bravo et Merci !
Thanks heaps!!
Thanks a lot. This has been bugging me for a couple of days now. Sometime the error message happens, sometimes, it does not. As you pointed out, rebooting the machine helps, but when working on a live server, that’s not an option.
Therefore, thanks !!
Thanks a lot……..u saved my day
-harini