I was looking for a way to delete a Window's service and I came accross the sc command.
Just open a command prompt and type sc and then the action you would like to perform.
Examples:
Delete a service:
sc delete service_name
Start a service:
sc start service_name
Stop a service:
sc stop service_name
List all services:
sc query
The actuall service information is stored in the registry at this location:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services
If you're curious I was re-installing MySql on a machine and the mysql
service already existed so I needed a way to get rid of it. I
knew there was a command to control services but I had to do some
research and came up with this.
Enjoy.