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: 00000001

      This 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.

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.

Related Searches:

Resources

Comments

You May Also Like

  • How to Create a Binary Registry File

    The Registry Editor is a database that stores configuration settings for the Microsoft Windows operating systems and the applications that run on...

  • How to Create a Registry File

    The purpose of a registry file is to control the settings and behavior of your computer's operating system and programs. These settings...

  • How to Create Binary Files

    A binary file is an encoded text file with the .bin extension. This type of file is used in application programming to...

  • How to Create Registry Files

    Registry files are text files that load entries in Windows. The registry holds custom settings, driver information and stored data pertinent to...

  • How to Copy a Binary File to a PC Card

    Copying a binary file (or any file really) to a PC Card is possible in exactly the same way as copying a...

  • How to Create a Binary File From C#

    Binary files are used by programs to store previously unformatted data. Whatever data the program stores in a binary file will be...

  • How to Load a Saturn Binary File

    A BIN file is an electronic copy of a CD. If you have a BIN file for a Sega Saturn video game,...

  • How to Create a REG File for Windows XP

    The Windows Registry is a database of system and application settings, as well as runtime information. It can be a confusing morass...

  • How to Create a Binary Tree in C

    Binary trees in C are a good way to dynamically organize data for easy searching. However, they require a lot of work...

  • How to Add Files to the Registry

    The Windows Registry, a database for system configuration information, can be modified automatically by double-clicking registry files with the .REG extension. These...

  • How to Create a Registry Key

    The registry in Windows stores information that is important for your operating system to run. Install programs and Windows settings are located...

  • How to Merge Registry Files

    Merging, or importing, registry files (REG files) into the existing system registry on your computer allows you to quickly add any number...

  • How to Create an Executable Registry Edit

    Many configuration settings, file associations and user interface behaviors present in the Microsoft Windows operating system are managed through the Windows registry...

  • PowerShell Registry Types

    A command-line interface tool that allows you to perform administrative tasks and executable functions, the Windows PowerShell is integrated with most versions...

  • How to View Windows Registry Files

    The registry in Microsoft Windows is a vital database containing many of the files and settings your computer requires to operate. Virtually...

  • How to Update a Registry Script

    Microsoft's Windows XP, Windows Vista and Windows 7 operating systems all store configuration data in the Windows Registry. Windows assigns user, hardware,...

  • JavaScript Checks for Valid Characters

    JavaScript can be used to check for valid characters in any data value held inside the browser, from user-entered text in input...

  • How to Write Registry Files

    The Windows registry contains file and program settings applicable to the computer and the users who log onto it. You have the...

  • How to Compare Two Registry Files

    The Windows operating system features a large database of information called the "registry." Every time a change is made to your computer,...

Related Ads

Featured