HOWTO Import/export Windows registry from/to a file

This article was first written in July 2005 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/283).

Help

Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001.  All rights reserved

REG EXPORT KeyName FileName

  Keyname    ROOTKEYSubKey (local machine only)
    ROOTKEY  [ HKLM | HKCU | HKCR | HKU | HKCC ]
    SubKey   The full name of a registry key under the selected ROOTKEY
  FileName   The name of the disk file to export

REG IMPORT FileName

  FileName  The name of the disk file to import (local machine onl

Some common keys to backup

REG EXPORT "HKCUSoftwareSimonTatham" "D:PuTTY.050704.reg"
REG EXPORT "HKCUSoftwareMartin Prikryl" "D:WinSCP2.050704.reg"
REG EXPORT "HKCUSoftwareTortoiseCVS" "D:TortoiseCVS.050704.reg"
REG EXPORT "HKCUSoftwarepgAdmin III" "D:pgAdmin3.050704.reg"
REG EXPORT "HKCUSoftwareFileZilla" "D:FileZilla.050704.reg"
REG EXPORT "HKCUSoftwareStar-Tools" "D:MySQL-Front.050704.reg"