virtulization
Remove a Windows Service
Wednesday, May 6th, 2009 | Tech Help | 2 Comments
Last night I moved my PRTG virtual machine to my newly installed ESXi server. The move went well, but when I went to boot up the PRTG VM the service wouldn’t start. PRTG was nice enough to tell me that I had another copy of the service running on the network and even gave me the command to find the PC it was running on.
Turns out it was running on an old monitoring PC I had used years before that was still powered on. Since I still use it for a couple of other monitoring apps I couldn’t just turn it off. As a temp fix I stopped the service and set it to disabled. Now the PRTG VM started up and began collecting data once again.
As the PRTG uninstaller did not remove the PRTG service from the old monitoring PC I still needed a way to pitch it even though I had disabled it. A quick search turned up a couple of options, the easy way and the slightly more difficult way.
The Easy Way:
sc delete “service_name”
In my case the command was:
sc delete PRTGService
The Slightly More Difficult Way:
**Dislaimer: This process involves working in the Windows Registry. Before deleting any file please make a backup in case of borking your system.
Run Regedit Find the registry entry “HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services” Look for the service there and delete it.
