Sends a control to a service.

Syntax

sc [<ServerName>] control [<ServiceName>] [{paramchange | netbindadd | netbindremove | netbindenable | netbinddisable | <UserDefinedControlB>}]

Parameters

Parameter Description

<ServerName>

Specifies the name of the remote server on which the service is located. The name must use the Universal Naming Convention (UNC) format (for example, \\myserver). To run SC.exe locally, omit this parameter.

<ServiceName>

Specifies the service name returned by the getkeyname operation.

{paramchange | netbindadd | netbindremove | netbindenable | netbinddisable | <UserDefinedControlB>}

Specifies a control to be sent to a service.

/?

Displays help at the command prompt.

Additional references


Converted from CHM to HTML with chm2web Pro 2.85 (unicode)