Displays a service's security descriptor, using the Security Descriptor Definition Language (SDDL).
For examples of how to use this command, see Examples.
Syntax
sc [<ServerName>] sdshow <ServiceName>
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. |
/? |
Displays help at the command prompt. |
Remarks
For more information about SDDL, see "Security Descriptor Definition Language" on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkID=570).
Examples
To display the security descriptor for the RPCSS service by using SDDL, type:
sc sdshow rpcss