How to Delete a Windows Service
May 13th, 2008
I have used the service controller command line tool for years. I have finally decided to write something up on it briefly since I have been working with various frameworks/systems that are not completely removing their services after uninstalling them.
- Open services applet/application: Start | Programs | Administrative Tools | Services
- Locate offending Service
- Double-click OR Right-click | Properties
- Copy the ‘Display Name’ property
- Stop the service
- Exit service information screen and services applet
- Start | Run | cmd | OK
- Type: cs delete “%PASTE OR TYPE THE SERVICE NAME HERE%”
- Hit enter key
- Service has been deleted
You may or may not be able to delete the service depending on it’s dependencies. You will need to follow the chain down to any child services if that is the case and delete them first. You may also be required to reboot.
Feedback welcome.
Tags: Management, Technology, Windows