How to Create Binary Registry Files
Windows applications, third party applications and low-level operating system components make additions and alterations to the registry. Binary files, with a .reg extension, can be created and loaded into the Windows registry. There are several different types of values that can be used, but binary is one of the most common; allowing a simple switch value, 1 or 0, to make changes as needed.
Instructions
-
-
1
Click the "Start" button on the taskbar.
-
2
Select "All Programs," or "Programs", if running Windows XP.
-
-
3
Select the "Accessories" folder.
-
4
Select "Notepad." Notepad is the word processor of choice when creating a registry file.
-
5
Type "Windows Registry Editor Version 5.00" at the top of the document. Press the "Enter" key twice. You want a space between lines.
-
6
Type the path for the binary value you are creating. For example: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced].
Press the "Enter" key. -
7
Type the name of the key, and the binary value you would like to enter. "TestValue" = dword: 00000001
This is an example of what the document would look like:Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"TestValue" = dword: 00000001This would produce a binary value of 1. If you want the result to be 0, then the number typed would be 00000000.
-
8
Click "File" from the toolbar, and select the "Save As..." option.
-
9
Name the file with the .reg extension. For example, ¨TestValue.reg¨
-
10
Click the "Save" button. Double-click the file to enter the value into the registry. Windows will prompt you several times asking if you are sure you want to make the changes to the registry.
-
1
Tips & Warnings
Altering the registry is always dangerous. You should only attempt this if you have experience, know how to restore backups and understand the processes involved with the changes.
Do not use Microsoft, or Word or Wordpad to create this file. These programs add hidden formats that will not allow the .reg file to work properly.