When creating a script to add or edit Windows registry values, there is a suggested method to ensure that the values change to the desired format. Since there are multiple different types of registry keys, the best practice is to first export the key and then use the exported information to create a script at Scripting | Configuration Policies | Windows | Registry.
When using K1000 to manually create a script under the Scripting module, it may be possible to set a value to something unexpected. An example of this would be, if attempting to edit or add a Reg_Binary key, and the value is added in the format 0 or 00 00, the actual key will be changed to 30 33 or 30 00 30 00 30 00 30 00. When changing this sort of value, the format should be hex:00 or hex:00,00.
Using the suggested method to export the key from regedit.exe, should result in the correct syntax for adding or editing registry values.
NOTE: Making changes to the registry can cause potential issues with the operating system if not completed correctly. As a precaution, it is suggested to back up the registry prior to making any changes. For additional assistance with backing up the registry, please see (this link will redirect you from the Quest site to an external Microsoft site): How to back up and restore the registry in Windows
To add or edit a registry key value in the K1000:
Note: For additional assistance with adding or modifying a registry key, please see (this link will redirect you from the Quest site to an external Microsoft site): How to add, modify, or delete registry subkeys and values by using a .reg file
Note: It may be necessary to locate this key in each version of desired operating systems. For example 32bit and 64bit operating systems may each need to be exported due to differences.
Note: For additional assistance with exporting a registry key, please see (this link will redirect you from the Quest site to an external Microsoft site): Import or Export Keys
Note: Once the script is created, go to Scripting on the left navigation bar of the K1000 and locate the newly named script. Each step of the script can be modified as necessary. For more information, please see the appropriate K1000 Administrator Guide: