Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
REGISTRY ACADEMY · LESSON 6 OF 10

Backup and restore the registry

Protect a key before a change, back up whole hives, use restore points and System State backups, and recover an unbootable machine.

Pick the right level

ScopeBackupRestore
One key before a changereg export or Regedit File > ExportImport the .reg file (adds and overwrites only)
One branch, exactlyreg save (binary, includes permissions)reg restore (replaces the branch)
Whole client machineSystem Restore point (Checkpoint-Computer)System Restore, from Windows or Windows RE
Whole serverWindows Server Backup System State (wbadmin start systemstatebackup) or your backup productSystem State restore (Directory Services Restore Mode for domain controllers)

Before every change

$stamp = Get-Date -Format yyyyMMdd-HHmm
reg export "HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL" "C:\RegBackup\schannel-$stamp.reg" /y
reg save   "HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL" "C:\RegBackup\schannel-$stamp.hiv" /y

To roll back a .reg-tracked change cleanly, delete the key first and then import the export, because an import doesn't remove values that you added afterwards.

Restore points on Windows 11

Enable-ComputerRestore -Drive 'C:\'
Checkpoint-Computer -Description 'Before registry change' -RestorePointType MODIFY_SETTINGS

Windows creates at most one restore point every 24 hours through Checkpoint-Computer by default. System Restore isn't available on Windows Server.

The RegBack folder

Older Windows versions copied the machine hives to %SystemRoot%\System32\config\RegBack automatically. Since Windows 10 version 1803 this periodic copy is turned off by default to save disk space, so the folder exists but its files are empty. Microsoft documents how to turn it back on (the EnablePeriodicBackup value under HKLM\System\CurrentControlSet\Control\Session Manager\Configuration Manager) and recommends System Restore or a real backup instead.

Recover a machine that won't boot

  1. Boot Windows RE (Advanced startup or installation media) and try System Restore first.
  2. From the Command Prompt in Windows RE, reg load the offline SYSTEM or SOFTWARE hive (see the offline hives lesson) and undo the specific change, for example set a broken driver's Start value to 4.
  3. If a hive file is damaged, restore it from your System State or image backup.

References: The system registry is no longer backed up to the RegBack folder, reg save, reg restore, wbadmin start systemstatebackup.