Export Registry Subkey to a REG File in Regedit

Exporting a specific registry subkey to a .reg file in Windows is a straightforward way to back up configuration settings before making system changes or to transfer registry settings to another computer. This guide provides step-by-step instructions on how to locate, select, and export any individual registry subkey into a standard registration file using the graphical Registry Editor (Regedit) interface.

Step 1: Open the Registry Editor

  1. Press Windows Key + R to open the Run dialog box.
  2. Type regedit into the field and press Enter or click OK.
  3. If prompted by User Account Control (UAC), click Yes to grant administrative privileges.

Step 2: Navigate to the Target Subkey

  1. In the left navigation pane, expand the registry hives (such as HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE).
  2. Drill down through the folders to locate the exact subkey you want to export.
  3. Alternatively, paste the full registry path directly into the address bar at the top of the Registry Editor window and press Enter.

Step 3: Export the Subkey

  1. Right-click on the specific subkey folder in the left pane.
  2. Select Export from the context menu. (Alternatively, select the key and click File > Export from the top menu bar.)

Step 4: Save the .reg File

  1. In the Export Registry File dialog window, choose the destination folder where you want to save the backup.
  2. Enter a descriptive name for your backup in the File name field.
  3. Verify that the Save as type dropdown is set to **Registration Files (*.reg)**.
  4. Under the Export range section at the bottom of the window, ensure that Selected branch is selected and displays the correct path to your subkey.
  5. Click Save.

The selected registry subkey and all of its underlying values and sub-folders are now saved to the .reg file. You can verify the export by right-clicking the generated file and selecting Edit to view its contents in Notepad.