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?

| improve this question | | | | |

I've never personally tested it, but according to this example, it should be in Hex format.

| improve this answer | | | | |
  • That link is broken. – Nic Feb 26 '14 at 19:19
  • You're right. Sorry to hear that, I answered this question long ago and it was active. I can't remember the exact details, however the main point was the value had to be entered in Hex. – Massimo Feb 26 '14 at 21:02
  • 1
    That's why it's important to not just post a link as an answer, but rather either quote or rewrite the content here (with reference) as to preserve and spread the knowledge. – suhdo Sep 18 '17 at 9:24

You could use a bat file to do it and run is as a start up script


| improve this answer | | | | |
  • Please consider either quoting or rewriting the answer here on this site instead of strictly just posting a link for an explaination. – suhdo Sep 18 '17 at 9:25

I just faced a similar issue. According to an export of the key, the reg-file consists of the following:


In order for the Group Policy Manager to read this data, it should be entered as following. Upper case letter and no commas:

| improve this answer | | | | |
  • It's the capitals that made me grit my teeth but in the end I've found that (in my environment at least) case doesn't matter – wunth May 2 '17 at 19:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.