3.2.5.8 Writing to a Registry Key of the Management Server
If the higher-layer business logic writes to a value stored in a registry key defined in section 3.3.1.2, the Management Client MUST perform the following actions:
Determine the registry path and access protocol as specified in sections 2.2.1.2.2 and 3.2.4.1.
Establish a Windows Remote Registry Protocol [MS-RRP] connection to the remote machine using the Management Server Name (section 3.3.1).
Open the root key (defined in [MS-RRP] section 3.1.1.5) for the registry key by using the OpenLocalMachine method as specified in [MS-RRP] section 3.1.5.3.
Open the registry key by using the BaseRegOpenKey method for write access (as specified in [MS-RRP] section 3.1.5.15).
Write the registry value by using the BaseRegSetValue method (as specified in [MS-RRP] section 3.1.5.22).
Close any open key by using the BaseRegCloseKey method (as specified in [MS-RRP] section 3.1.5.6).
For more information on how to use [MS-RRP] to access registry keys, refer to section 4.2.1.