Deleting a Windows Service – did you know it’s so easy?

Whenever i had to delete an orphaned Windows Service, i started RegEdit.exe and navigated to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. Then i searched for the Service and removed the whole registry key including all subkeys. Then i rebooted the system. Yes, i know, don’t tell me that this a horrible way, that’s why i want to share this post with you.. Logo_cmd

Until today, i’ve never thought of SC.exe to delete a Windows Service. Is it so easy? it is!

To delete a Windows Service using Service Control SC.exe just do a:

SC DELETE “Service Name”

Sc.exe_delete_Windows-Service

Jup, that’s it! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *