Set binary registry setting through GPO
I've got a REG_BINARY registry key that I'd like to set via GPO. However, the GPO interface to add registry settings simply has a 'Value Data' text field.
I can set the type to REG_BINARY, but what format is the text field expecting the data in so that the key is correctly set?
Should I be converting my data to Hex before entering it here, or should I be doing this in a completely different way?
Solution 1:
I've never personally tested it, but according to this example, it should be in Hex format.
Solution 2:
You could use a bat file to do it and run is as a start up script
http://technet.microsoft.com/en-us/library/cc742162(WS.10).aspx
Solution 3:
I just faced a similar issue. According to an export of the key, the reg-file consists of the following:
"key-value"=hex:01,\
00,00,00,30,0c,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
In order for the Group Policy Manager to read this data, it should be entered as following. Upper case letter and no commas:
01000000300C000000000000000000000000000000000000