The Windows Registry editor comes with options to export and import Registry keys. It can be used to backup the Registry partially or fully. To do that, users need to open the Registry editor and click on File > Export while Computer is selected. This backs up all five available Registry hives.
There are also other options to backup the Windows Registry, including the system tool rstrui.exe that ships with Windows.
Regbak is a third party software program to backup the Registry. It comes with a few extras that may make it more interesting for some users, but all the basics are covered as well.
To simply backup the local Registry, you start the portable software, select a directory to store the backup or use the directory the software was started from and click Next to start the backup. That's it.
Advanced users can select the Registry hives that should be included in the backup. By default the system and current user hives get backed up. There is another option to include other available hives if they exist.
Advanced options are available that detail how older backups are handled during backups. It is possible to delete older backups based on age or amount, or to overwrite existing backups automatically if they exist in the selected backup folder.
Regbak offers options to restore a Registry backup. This is done by clicking on Backups in the interface, then Search to find the backups and restore after selecting a backup to restore it to the system.
The Registry backup tool can be used from the command line in addition to the 32-bit and 64-bit graphical user interface versions.
- /reg:suo s=system hives u=user hives, o=all other hives
- /silent silent operation
- /overwrite overwrites previous backup files in the 'backup to' location
- /limitdays:d d = number of days of backups to keep, older backups will be deleted
- /limitcount:c keeps last 'c' number of backups
translates to the system date when creating backup
Assuming "c:\windows\backup" is the backup location, some valid usages are:
regbak "c:\windows\backup" /reg:suo /silent
Regbak is available for download at the developer website. It is compatible with most 32-bit and 64-bit editions of the Windows operating system.