How to add a REG BINARY registry value. –

This guide contains instructions on how to add the registry value “REG_BINARY” to the registry using the “REG ADD” command.

A few days ago I wanted to export and import a specific “REG_BINARY” registry value from one computer (let’s call it “Computer A”) to another (let’s call it “Computer B”) using the command “REG ADD”. So I did the following:

1. On “Computer A”, I used the “Export” command in Registry Editor to save a Registry key containing the value “REG_BINARY” that I wanted to import to “Computer B”.

2. Next, I transferred the exported .REG file to “Computer B” and opened it in notepad to view its contents.

3. From the .REG file, I only wanted to import the “System Bus Extender” REG_BINARY value to “Computer B”, so the only way to do this is to use the “REG ADD” command.

So I copied the information of the “System Bus Extender” REG_BINARY value (highlighted in the screenshot below) and pasted it at the end of the “REG ADD” command.

How to: Add REG REG_BINARY registry value

4. After copying the data, the “reg add” command looked like this:

REG ADD “HKLM\SYSTEM\CurrentControlSet\Control\GroupOrderList” /f /v “System Bus Extender” /t REG_BINARY /d hex:0e,00,00,00,07,00,00,00,03,00,00 ,00,04,00,00,00,01,\
00,00,00,0f,00,00,00,08,00,00,00,09,00,00,00,0a,00,00,00,0b,00,00,00,0c,00, \

5. As you can imagine, the “reg add” command did not work, because the “reg add” command does not accept backslashes, breaks or commas and gives an error:

“ERROR: Invalid syntax. Specify a valid hex value for “/d”.
“REG ADD /?” to use”


How to add a REG_BINARY value to the registry with the REG ADD command.

The proper way to “reg add” a specific REG_BINARY value is to convert the data of the REG_BINARY value to a form that the “reg add” command recognizes.

To convert REG_BINARY hexadecimal data for use in the REG ADD command:

1. Open the Registry (.REG) file containing the REG_BINARY value you want to import using the “reg add” command.

2. Choose and Copying (CTRL +C) in temporary memory all information after “hex:” Prefix of REG_BINARY value (e.g. “System Bus Extender” Binary value you want to import.)

add the reg binary register

3. Open a new notepad window and click CTRL + V to place the copied data from the temporary memory.


4. Now take down from the text (delete). all the Backslashes (\)the Page breaksthe spaces and Comma (,).

5. In the end, you will have a long line like in the screenshot below:


6. select all text with CTRL+A and press CTRL + V to copy it to the clipboard.

7. Scroll to the end of the “REG ADD” command, add a space after the “/d” and press CTRL + V To place the data of the REG_BINARY value. After that, the “reg add” command looks like this:

REG ADD “HKLM\SYSTEM\CurrentControlSet\Control\GroupOrderList” /f /v “System Bus Extender” /t REG_BINARY /d 0e000000070000000300000004000000010000000f00000008000000090000000a0000000b0000000c0000000d0000000e0000000200000005000000

7. Finally click Enter to execute the command and you’re done!


That’s it! Let me know if this guide helped you by leaving a comment about your experience. Please like and share this guide to help others.

If you found this article useful, please support us by donating. Even $1 can make a big difference for us We continue to help others while keeping this site free:

Leave a Comment