Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 17 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
What if there was an uninstaller and it removed the files, but did not remove the service? – Colin Mackay Mar 1 at 9:40
Never mind - It seems to work. BTW, the Service Name is not the same as the display name. You have to right click the service and select properties to see the actual name. – Colin Mackay Mar 1 at 9:47

Your Answer


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.