"Disabled" services. How do I remove them?

  • Thread starter Thread starter Graeme Renfrew
  • Start date Start date
G

Graeme Renfrew

Hello,

How do I clear out a "Disabled" service and allow the same
service to be reinstalled without a reboot?

I write services in VB to run under Windows 2000 Server.
I use the NT Service Control Component as part of the
project. I can successfully install them
using "myService.exe -install". It gets installed and
appears in Services as "manual".

However, whenever I want to uninstall it, I
run "myService.exe -uninstall" but instead of removing it,
it sets it to "Disabled". Then the only way I can
reinstall it is to reboot the machine.

This will eventually go on a live server which I'd prefer
not to have to reboot.

Thanks for any help.
Graeme Renfrew
 
Delete it from the registry service subkey
HKLM\System\CurrentControlSet\Services

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hello,
|
| How do I clear out a "Disabled" service and allow the same
| service to be reinstalled without a reboot?
|
| I write services in VB to run under Windows 2000 Server.
| I use the NT Service Control Component as part of the
| project. I can successfully install them
| using "myService.exe -install". It gets installed and
| appears in Services as "manual".
|
| However, whenever I want to uninstall it, I
| run "myService.exe -uninstall" but instead of removing it,
| it sets it to "Disabled". Then the only way I can
| reinstall it is to reboot the machine.
|
| This will eventually go on a live server which I'd prefer
| not to have to reboot.
|
| Thanks for any help.
| Graeme Renfrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top