Question Locked

How can I delete a service?

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a service that I have already disabled and it is not running, but I would like to delete it. On WIN server 2003 R2.

8 replies

by tobif

Or ("avoid trying this at home, kids!") go hunting in the registry.

by buddingleader

but this service remained even after uninstalling the "parent" program. And messing with the registry is my last resort.
Thanks anyways for your suggestions.

by churdoo

From a CMD prompt:
sc delete servicename
where servicename = the service name from the service's properties, not necessarily the name as it's listed in the services.msc panel.

enter SC alone for the command description and options.

by Member 25348569

And rip the relevant service key right out. If it's a "normal" service then you will find it straightforward. Some viruses will remove the necessary permissions and you have to grant yourself the rights.

Check the values and see what executable it was running and delete them.

Neil

Please be aware that this can totally screw your machine up and, if that happens, the only response that you would subsequently get from me (and most of the other peers on this site) would be one of maniacal laughter.

by buddingleader

while registry edits are sometimes neccessary, I always leave it as the last possible option. I really don't like being the responsible party for a production server outage... just personal preference.

by Member 25348569

with "If all else fails". With the case of a viruse this might well be your only resort.

However, I'm not such a thumb junky that I would take begrudged thanks. Feel free not to take my advice.

Neil :_|

This discussion is closed to new replies.