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.