Super User is a question and answer site for computer enthusiasts and power users. 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

I would like to cleanup a windows service leftover from an application that I uninstalled. The executable for it has been removed, but it is still visible in the services view.

share|improve this question
up vote 11 down vote accepted

At a command prompt:


See Source: How To Unregister Windows Services

share|improve this answer
+1 nice and clean! – Ivo Flipse Sep 30 '09 at 19:31
Yeah, nice. I've always done it the slow, manual way via the Registry, but if this works I won't even bother answering with that disaster-waiting-to-happen. – JMD Sep 30 '09 at 20:07

If you have tried the above and it didn't appear to work even though you are positive you typed everything correctly try the following command:

sc query state= all >> "C:\\[Preferred Foldername]\Service_details.LOG"

I found when running the above that, even though the Windows Services MMC showed that the name of the service was one thing, when i piped it to a log file it showed it as another.

Basically, because there was a space in the name, Windwos truncated it to remove the space. So even though it displayed with a space in the Services MMC, in realterms, there shouldn't have been one.

After the above discovery I found that the suggested routine worked a treat!

Thanks for that one Will

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .