Thursday, November 1, 2012

How to delete a Windows Service

We can use the command sc "Service Control". This is used to communicate to the service control manager and the services.

1. WND +R -> CMD (or) Start -> All Programs -> Command Prompt (Right click and rin as administrator)
2. Give the following command;

    sc delete "SERVICE NAME"

On successful deletion, the we get the following message;

    [SC] DeleteService SUCCESS

Additionally, to list all services running on the computer, we can use the following command;

OPTIONS

A complete list of options available with sc command can be viewed by typing sc on the command prompt.

Happy Administration...!!!




Tags: Windows Service, Deleting a Windows Service, Windows Service Administration, Services.msc