... Home Contact

Krzysztof Koźmic's blog

Designed in Poland, assembled in Australia.


Show appreciation: My Amazon.com Wish List


Me@Twitter

    Currently reading

    Article Categories

    Archives

    Post Categories

    MyPersonal

    Syndication:

    How to unregister windows service

    Tool for managing windows services in Windows XP allows you many things, but you can't unregister (delete, remove) a service with it. There is however a command line tool that allows that.

    Remember that unregistering important services may break your system. If you aren't sure what you're doing - don't. You have been warned.

    services_1 First you need to check real name of the service (not it's display name). To do this go to Control Panel-->Administrative Tools-->Services, and find the service you want to uninstall. Right click it, and choose "Properties". Then, on the "General" tab, find "Service Name". For example for service on the screenshot it's WLSetupSvc.

     

     

     

    Next go to command line and run command 'sc', it will enumerate its options. This is the tool, that we'll use to uninstall the service. To do this type

    sc delete SERVICENAME

    services_2 If everything goes fine, you'll see command similar to second screenshot, and you'll computer will continue working.

     

     

     

    Technorati Tags: ,

    Feedback

    Gravatar

    # re: How to unregister windows service
    Martin | 8/8/2008 2:36 PM

    Good job! Thank you for the tip.
    Gravatar

    # re: How to unregister windows service
    Q | 9/10/2008 4:04 PM

    Great tip. Fast and efficient.
    Gravatar

    # re: How to unregister windows service
    Bhaskar | 10/10/2008 9:03 AM

    gr8. It helped. Thanks !!
    Gravatar

    # re: How to unregister windows service
    crashSmoke | 10/15/2008 4:49 PM

    Cheers dude, much appreciated!!
    Gravatar

    # re: How to unregister windows service
    Robin | 12/29/2008 10:32 AM

    Well, it is valuable. But, there is a kind of services that are inaccessible for sc command. What shall one do in this case?
    Thanks!
    Gravatar

    # re: How to unregister windows service
    Krzysztof Kozmic | 12/29/2008 11:17 AM

    Robin, what services are you talking about? AFAIK all services by definition are accessible by sc. Can you give me an example of one that is not?
    Gravatar

    # re: How to unregister windows service
    Dmitrij | 1/10/2009 3:11 PM

    Thanks man! Really useful.
    Gravatar

    # re: How to unregister windows service
    Pavel Lutskovsky | 2/16/2009 10:39 PM

    Thanks. exactly what i was looking for.
    Gravatar

    # re: How to unregister windows service
    Naveed Saqib | 2/26/2009 3:11 PM

    It worked Thanks
    Gravatar

    # re: How to unregister windows service
    Sigit Hidayat | 3/3/2009 9:46 AM

    Cool man. I'm helped with this
    Gravatar

    # re: How to unregister windows service
    bob | 3/12/2009 3:05 AM

    big ups

    thx
    Gravatar

    # re: How to unregister windows service
    James Szivos | 4/23/2009 6:31 PM

    Kozmic, thanks man. This worked perfectly. I was trying to unregister services with ".\service.exe -u", but I had some missing dependencies.
    Gravatar

    # re: How to unregister windows service
    Kevin | 7/3/2009 4:52 PM

    Thanks a lot - you saved me a lot of aggravation.
    Gravatar

    # re: How to unregister windows service
    Carlos | 7/3/2009 5:41 PM

    Thank you.
    Gravatar

    # re: How to unregister windows service
    Ajay | 9/10/2009 6:54 PM

    Thank you It worked :)
    Gravatar

    # You're the man
    Vincent | 10/16/2009 9:08 PM

    You're the man. I was having trouble to reinstall the MySQL...tried the suggestions from couple other sites...still failed...finally yours worked for me...and clear and easy instructions...Thanks.
    Gravatar

    # re: How to unregister windows service
    Giampaolo | 1/19/2010 7:23 PM

    Thank you !!
    Gravatar

    # re: How to unregister windows service
    Algomorph | 1/22/2010 7:31 PM

    Thanks, this is perfect.
    Gravatar

    # re: How to unregister windows service
    Gunjan | 3/18/2010 7:11 AM

    Thanks for all the Help... Its perfect....
    Gravatar

    # re: How to unregister windows service
    123 | 4/9/2010 1:29 AM

    I have this message in result:
    c:\sc delete O^&O Defrag
    [SC] OpenService FAILED 1060:

    :( Anyone knows what is this?

    Comments have been closed on this topic.