2.2.8 Service General Setting

This section defines settings that enable configuration of the startup type and discretionary access control lists (DACLs) on services running on the client machine. The syntax for the entries in this category MUST be as follows.

 Header = "[" HeaderValue "]" LineBreak
 HeaderValue = "Service General Setting"
 Settings = Setting / Setting Settings
 Setting = ServiceName ","  StartupMode "," AclString LineBreak
 ServiceName = 1*256IdCharacter / DQUOTE 1*256IdCharacter DQUOTE
 IdCharacter = ALPHANUM/ %d33 / %d35-43 / %d45-46 / %d58-64 / %d91 / %d93-96 / %d123-126
 StartupMode = DIGIT
 AclString = SDDL / DQUOTE SDDL DQUOTE

The ABNF specification for the SDDL element above can be found in [MS-DTYP] section 2.5.1.1.

The following table explains the ServiceName, StartupMode, and AclString fields.

Note All numerical values are decimal unless explicitly specified otherwise, or unless preceded by 0x.

Setting key

Explanation

ServiceName

A string that represents the logical service name of the service that MUST be configured. It MUST be an alphanumeric string of 1 to 256 characters as specified in the ABNF.

StartupMode

A startup mode for the process that MUST be one of the following values (the following explanations are a summary; for more details see [MS-SCMR] section 2.2.15):

  • A value of "2": Indicates that the startup mode is Automatic.

  • A value of "3": Indicates that the startup mode is Manual.

  • A value of "4": Indicates that the startup mode is Disabled.

AclString

A security descriptor that, if present, MUST be applied to the service. The security descriptor MUST conform to the syntax specified in [MS-DTYP] section 2.5.1.1.