SC Delete Not Removing Service

So, I start Windows Server 2008 R2 Standard and try to uninstall the service using sc delete <myservicesname>, and the command seems to be executed without complaint, however, when I check the list of services after running the command, the service still exists.

Any ideas?

+17
source share
3 answers

sc in PowerShell - Set-Content; therefore, if you work in PowerShell, you probably have a file called "delete" with your service name as its contents

If this is really your problem, use sc.exe to remove servicename

+56
source

, , - . . : fooobar.com/questions/18032/...

Computer Management

+6

Be sure to stop the service first, and then run the sc delete command. He will take care of closing any running process.

0
source

All Articles