Delete a Windows Service Using the Command Line
Developing and debugging Windows Services in Visual Studio 2005 usually means creating setup projects to install and uninstall them. One of the quirks of using installers, however, is that sometimes the Windows service fails to uninstall. Below is the manual way of deleting or uninstalling a Windows service using the command line in Windows Vista and XP.
C:>sc delete [service name]
The utility also has other functions relating to Windows Services. Check them out.
If you liked this little howto. Please, consider sharing it. Thank you!
I CANNOT be held responsible for the use of this utility. Please, be careful.
Tags: How To, Microsoft, Programming, Services, Tips, Vista, Windows, XP
Related Posts
Comments
rich
Oct 20, 2008 9:32 AM
Oct 20, 2008 9:32 AM
Raju Kadam
Mar 26, 2009 2:23 PM
Mar 26, 2009 2:23 PM
Short and sweet solution!
Ajay
Apr 6, 2009 10:10 PM
Apr 6, 2009 10:10 PM
Thanks,
Steve Katra
dennis
Aug 9, 2009 9:27 PM
Aug 9, 2009 9:27 PM
Pavol
Aug 19, 2009 6:04 AM
Aug 19, 2009 6:04 AM
yenkay
Oct 5, 2009 2:43 AM
Oct 5, 2009 2:43 AM
Simple and very useful command...
Want to leave a comment?

Jul 16, 2008 2:48 AM