2.2.5 Registry Values

This section defines settings that enable an administrator to set registry entries. The syntax for the entries in this category MUST be as follows.

 Header = "[" HeaderValue "]" LineBreak
 HeaderValue = "Registry Values"
 Settings = Setting / Setting Settings
 Setting = RegistryValueName "=" RegistryValueType "," RegistryValue
 RegistryValueType = 1*DIGIT
 RegistryValueName = KeyName / DQUOTE KeyName DQUOTE 
 KeyName = Key / KeyName "\" Key 
 Key = 1*IdCharacter 
 IdCharacter = %x0020-0021 /  %x0023-005B / %x005D-007E
 RegistryValue = String / QuotedString

The following table provides an explanation for each of the parameters listed, and specifies the set of valid values.

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

Setting key

Explanation

RegistryValueName

MUST be the Fully Qualified Name (as specified in [MS-RRP] section 3.1.1.1.1) of the registry value to set.

RegistryValueType

The data type of the registry value MUST be one of the following values. (For more details about the value types, see [MS-RRP] section 3.1.1.5.)

  • A value of "1": Indicates that the data type of the registry value is String.

  • A value of "2": Indicates that the data type of the registry value is Expand String.

  • A value of "3": Indicates that the data type of the registry value is Binary.

  • A value of "4": Indicates that the data type of the registry values is DWORD.

  • A value of "7": Indicates that the data type of the registry values is MULTI_SZ.

Although other registry types exist, they are not supported by this protocol.

RegistryValue

A value to be configured. The data type of this value MUST match the type that is specified in the RegistryValueType field.