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: ,
  • Martin

    Good job! Thank you for the tip.

  • Q

    Great tip. Fast and efficient.

  • Bhaskar

    gr8. It helped. Thanks !!

  • crashSmoke

    Cheers dude, much appreciated!!

  • Robin

    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!

  • 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?

  • Dmitrij

    Thanks man! Really useful.

  • Thanks. exactly what i was looking for.

  • Naveed Saqib

    It worked Thanks

  • Sigit Hidayat

    Cool man. I’m helped with this

  • bob

    big ups

    thx

  • James Szivos

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

  • Kevin

    Thanks a lot – you saved me a lot of aggravation.

  • Carlos

    Thank you.

  • Ajay

    Thank you It worked 🙂

  • Vincent

    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.

  • Giampaolo

    Thank you !!

  • Algomorph

    Thanks, this is perfect.

  • Gunjan

    Thanks for all the Help… Its perfect….

  • 123

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

    🙁 Anyone knows what is this?