Click to See Complete Forum and Search --> : Removing service from service pane
Mushq
December 4th, 2007, 06:36 AM
One way that I know to remove service from service pane is to unregister that service as a COM EXE, e.g. if testservice is in service pane and its disk path is "c:\testservice.exe” then I can use following command to unregister that from service pane. “ c:\testservice.exe /UnRegServer ”
Can anyone please tell me is there any other way.
Warm Regards,
Mushq
ashukasama
December 4th, 2007, 06:47 AM
delete 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. Find the registry entry:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services
3. 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.
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.
These notes have been tested with Windows NT 4, Windows 2000 and Windows XP
Mushq
December 4th, 2007, 07:23 AM
Thanks for the valuable reply. :)
PeejAvery
December 4th, 2007, 07:48 AM
Your safer way to delete a service would be to remove it using sc from the command line.
sc delete SERVICENAME
Mushq
December 5th, 2007, 02:12 AM
thank for that. :)
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.