I would like to do this because i have half installed service because of installation failure which is just there non functioning.

How can we remove the windows service using the command line ?

link|improve this question

25% accept rate
For Googlability: "How to delete a Windows service". – Epaga Nov 16 '10 at 10:26
feedback

migrated from stackoverflow.com Apr 28 '10 at 10:57

This question came from our site for professional and enthusiast programmers.

1 Answer

the sc command is what you want, specifically sc delete

C:\Users\Jeff>sc delete
DESCRIPTION:
        Deletes a service entry from the registry.
        If the service is running, or another process has an
        open handle to the service, the service is simply marked
        for deletion.
USAGE:
        sc  delete [service name]
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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