Sdílet prostřednictvím


Sc start

 

Applies To: Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, Windows Server 2003 with SP2, Windows Server 2003 R2, Windows Server 2008 R2, Windows Server 2012, Windows Server 2003 with SP1, Windows 8

Starts a service.

For examples of how to use this command, see Examples.

Syntax

sc [<ServerName>] start <ServiceName> [<ServiceArguments>]

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.

<ServiceArguments>

Specifies the service arguments to pass to the service to be started.

/?

Displays help at the command prompt.

Examples

To start the TAPISRV service on the local computer, type:

sc start tapisrv

Additional references

Command-Line Syntax Key