Knowledge - Details


The specified service has been marked for deletion.
Date Added: 4/26/2018

PROBLEM:
I'm trying to delete a service but keep getting errors.  When I try to delete the service from the command line using sc delete SERVICENAME, I get the error The specified service has been marked for deletion.  Even deleting the registry key doesn't work.

SOLUTION:
Close all copies of mmc, including services.msc.  Then run the sc delete command again, and it will work immediately without requiring a reboot.



Back to List

Disclaimer: Everything on this website is written for my own use. I disclaim any guarantees that the procedures and advice listed here are accurate, safe, or beneficial for anyone else. If you attempt to follow any procedures or advice shared here, you do it at your own risk. Part of IT work is knowing how to recover from problems.