Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Sc description

Published: April 17, 2012

Updated: April 17, 2012

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

Sets the description string for a service.

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

sc [<ServerName>] description [<ServiceName>] [<Description>]

 

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.

<Description>

Specifies a description for the specified service. If no string is specified, the description of the service is not modified. There is no limit to the number of characters in the service description.

/?

Displays help at the command prompt.

To add the description "Runs diagnostic of service control" to the NewServ service on the local computer, type:

sc description newserv "Runs diagnostic of service control."

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.