force uninstall .NET Windows Service

  • Thread starter Thread starter John A Grandy
  • Start date Start date
J

John A Grandy

I have a server with a custom .NET Windows Service installed. The folder
containing the service's .exe and .dll files is long gone.

I need to uninstall the service.

InstallUtil.exe /u "<service name>"

does not work.

What are my other alternatives for uninstalling this service ?
 
Services are stored at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
Worst case you can simply delete the key associated with the service. Make
sure you don't have the service manager open when you do this.
 
Back
Top