You must already know how to use batch commands to use this page. I accept
The application called ERUNT (larshederer.homepage.t-online.de/erunt/) can backup your Windows XP registry in such a way that you can restore it if you run into problems. Contrary to other information online, the "export" function in "regedit" does not do that. And sadly, a Windows "restore point" does not restore the entire registry either.
The author of ERUNT (Lars Jan/2010), says that an incompatibility of ERUNT with Windows 7 results in the
Batch Program to Backup your Registry (using ERUNT)
The batch program below will backup the Registry using a program called AUTOBACK (ERUNT for command line use). It keeps only the last 6 backup folders, deleting the oldest as you create a new backup. The subfolders are named with the date and time of the backup and contain all the files you need to restore the registry if something goes wrong. (A complete system backup is best of course, but ERUNT registry backups are faster and simpler for frequent use.)
The part of the command line after the second quote mark contains the command arguments described in the "How to" as well as the ERUNT "Detailed Information" document. If you want to run a backup before (and after) you change something in your system, a Batch Program is a better choice as it allows you customize the backup more easily. (It's good for scheduled backups too - much simpler to edit a batch file than a scheduled task!)
Use the code below in a text editor to create a batch program called REGISTRYbackup.bat. The first line is just a comment.Edit the second line to match YOUR system paths. (C:\Windows|ERUNT was chosen to store the backup folder/files because it is accessible from the Windows Recovery Console.)
*Line 2 must be one line, but will display as 2 or more below. You may copy & paste it into a text editor without problem.
Now you can run this shortcut to backup your registry whenever you like. You will still be asked "Do you want to allow the follwing program to make changes to this computer?" but it will otherwise run at Administrator level to completion. You may wish to edit the permissions on the AUTOBACK.EXE and ERUNT.EXE. (Right-click, select Properties) if you wish to run the batch program automatically (Task Scheduler, Startup folder).
Please Email me if this doesn't work in your particular system setup. I may have changed other settings that affect this backup.
PDQ Library is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.