Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

There are times when Windows Services are installed and for various reasons, that hopefully are not important to the answer, the service no longer has the installer attached to it. Therefore, this particular service shows up in the list of Services, but cannot be uninstalled through normal practices.

In situations like this, how does one go about manually removing the orphaned service?

share|improve this question
add comment

1 Answer

up vote 15 down vote accepted

Using sc.exe from system32 dir:

sc delete <service_name>

(be sure to stop the service first)

share|improve this answer
    
And then (and only then) remove files (executable or otherwise). –  Richard May 1 '09 at 15:26
    
One comment, if your service has a space in the name, you should use: sc delete "<service name>" –  Saariko Jun 5 '12 at 7:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.