Sc sdshow

Applies To: Windows 7, 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 Vista

Displays a service's security descriptor, using the Security Descriptor Definition Language (SDDL).

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


sc [<ServerName>] sdshow <ServiceName>


Parameter Description


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.


Specifies the service name returned by the getkeyname operation.


Displays help at the command prompt.


For more information about SDDL, see "Security Descriptor Definition Language" on the Microsoft Web site (


To display the security descriptor for the RPCSS service by using SDDL, type:

sc sdshow rpcss

Additional references

Command-Line Syntax Key