Sc delete Command in Windows Server 2008

In this article I am going to explain about sc delete command in windows server 2008 operating system.
  • 1696


The operating system Sc delete command is used to delete a service sub key from the registry and if the service is running or if another process has an open handle to the service, the service is marked for deletion.

Syntax of Sc delete

sc [<ServerName>] delete [<ServiceName>]

Parameters in Sc delete command

It contains following parameter, which is given below:
Parameter Description
<ServerName> It specifies the name of the remote server on which the service is installed.
<ServiceName> It specifies the service name.

Example of Sc delete command

sc delete abc


More Articles

© 2020 DotNetHeaven. All rights reserved.