<
http://www.microsoft.com/technet/archive/winntas/tips/winntmag/in
reg.mspx?mfr=true > (written for NT4)
You have not mentioned your OS and all comments here based on W2K.
A Full Registry Backup means securing a copy of the active hives to
files on disk. Equivalent to:
HKEY_LOCAL_MACHINE \SYSTEM
\winnt\system32\config\system
HKEY_LOCAL_MACHINE \SAM
\winnt\system32\config\sam
HKEY_LOCAL_MACHINE \SECURITY
\winnt\system32\config\security
HKEY_LOCAL_MACHINE \SOFTWARE
\winnt\system32\config\software
HKEY_USERS \.DEFAULT
\winnt\system32\config\default
HKEY_USERS \UserProfile
Profile; usually under <Documents and Settings>\USERNAME\
NTUSER.DAT (and UsrClass.dat)
This is done via Win32 API functions. This is exactly what ERUNT
does and ERUNT can be run from a CLI. NTBACKUP.EXE can also do
this via the GUI ("ERD", "Also backup the registry to the repair
directory. ...") Regback.exe (if available) does the same.
While it may be possible to use REG.EXE SAVE, I would not know and
would not use that tool. For me, REG SAVE is the CLI equivalent to
regedt32.exe "Save key..." (binary) function and intended to save
the binary copy (with permissions) of a limited sub-key, not an
entire hive. I would use REG SAVE only for the limited purpose of
saving a sub-key in binary form from the command line, similar to
"exporting" a sub-key as text using regedit.exe /e (or /a).
I suggest you utilize tried and true tools designed and intended
for the purpose of making Full Registry Backups.