How to delete a Windows Service
Some of you may have read my article on configuring uTorrent as a Windows Service.
It's been great and really delivered what I was looking for, but I hit a slight problem 10 minutes ago.
uTorrent had an update pending, and I like to keep up with the releases. This didn't cause a problem to the service until I stopped it, manually started the application on my Win 2003 server's desktop and took the update. The service started normally but uTorrent didn't seem to be sitting there listening via its WebUI.
Basically updating the exe I'd registered as a service had broken its registration somehow. So I decided the best thing to do would be to remove the service and reinstall.
This is how to do it properly. Keep out of the registry young man!!!!
Issue the following command from the command line, replace the ServiceName with the name of your service. In my case uTorrent.
SC delete [ServiceName]
After completeing the steps in my other article, uTorrent was working as a service again.
A self confessed Microsoft bigot, Paul loves all Microsoft products with a particular fondness for SQL Server. Paul is currently focusing on Web 2.0 patterns and practices and is always looking for better ways of doing things.
I love the .net platform, and I find it to be the most productive toolset I have used to date.