Removing an uninstalled .NET service

Let’s say you have a .NET service you created. You built an installer that does a fine job of installing it, but you forgot to include the code to uninstall the service when the uninstaller runs. So you’ve uninstalled the executable, but it still appears in the Services Management Console. This makes a mess if you’re trying to install a new version.

What to do?

Well, go into regedit and back up the registry. Then, go to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

and find the name of your service. Deleting the service and a reboot will take care of the problem.

And next time, remember to use:

installutil.exe /u service.exe

Posted on January 3, 2006 in .NET. Add comment   

No Comments

(Comments are moderated.)
 
Welcome !
Site google-analitix.com just created.

Real content coming soon.
© ISPmanager control panel