Deleting a Windows Service via CMD-Prompt

March 22, 2010

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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: