Backup the Registry

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury

Post Reply
User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Backup the Registry

Post by Marcus Tettmar » Fri Jan 20, 2006 2:48 pm

This line backs up the HKEY_CURRENT_USER section of the registry:

Run>cmd.exe /c regedit /E c:\HKCU_BAK.REG HKEY_CURRENT_USER

Add additional lines for other root keys.

Use this script to restore a registry backup automatically:
http://www.mjtnet.com/forum/viewtopic.php?t=1573
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts