Pages

Thursday, June 24, 2010

Delete a Service

Normally it should not be necessary to manually delete a service. Uninstalling an application should remove its associated service (if any).

However, should it be necessary to manually remove a service:

  1. Run Regedit or regedt32.
  2. Fnd the registry entry:

            HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services

  1. Find the service there and delete it.
    You may wish to look at the keys and see what files the service was using and perhaps delete them also.

or

From CMD

 
  1. Start->Run and type cmd in the Open: line. Click OK.
  2. Type: sc delete <service name>
  3. Reboot the system

 

Note:

  • You will have to reboot before the list gets updated in server manager.
  • I have had it pointed out that some programs are cunning and prevent you from removing their service easily. (For example the spyware\malware called ‘Command Service’ - "cmdService".) These change the permissions to make it more difficult for you to delete them. For these you will have to right click on the ‘service’ in regedit (regedt32), go to permissions and grant the administrator full control before the service can be deleted.

No comments: