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.
Introduction
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 command
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