PDQ Library:  Win-XP Registry backup: ERUNT

You must already know how to use batch commands to use this page. I accept
no responsibility for any accidents you have using batch commands.

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 COMPONENTS file is not being backed up - so don't use ERUNT (and NTREGOPT) on Windows 7 at all, unless you understand how to handle or work around this limitation (or a Win7 version is created). In addition, Vista and Windows 7 won't allow a user to run ERUNT directly. The secret of running ERUNT is to create a shortcut for either the program (ERUNT or AUTOBACK) or a batch program. You do NOT have to turn off UAC User Account Control to get it to work.

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.
@REM Registry backup - keep last 6 backups
"C:\Program Files (x86)\ERUNT\AUTOBACK.EXE" C:\Windows\ERUNT\#Date#_#Time# /alwayscreate /noconfirmdelete /days:6
  1. Locate the applications AUTOBACK.EXE and ERUNT.EXE in the folder C:\Program Files (x86)\ERUNT\. Right click on each and edit the security properties to check "Full control" for your User account.
  2. Right click on REGISTRYbackup.bat and select Create shortcut.
  3. Right click on this shortcut and select Properties.
  4. Click on the Advanced button and check "Run as administrator". Click OK twice.

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.


TOP back