overwriting registry

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

Is there a way to overwrite the existing registry file with an older
version. I know if I double click on a .REG file that it'll add to the
existing registry but that isn't what I want, I want to replace it.

Thanks,
Pete
 
Peter said:
Is there a way to overwrite the existing registry file with an older
version. I know if I double click on a .REG file that it'll add to the
existing registry but that isn't what I want, I want to replace it.

Thanks,
Pete

A .reg file is not a registry file - it is an extract of
a registry file. When you click on it, the following
will happen:
- Entries that already exist in the registry will be replaced
- Entries that do not already exist will be created
- Keys with a - in front will cause that entry to be deleted from the
registry.
 
Exporting the entire registry to a *.reg file is not an acceptable means of
backup. You can't import the entire registry. If you run
Programs|Accessories|System Tools|Backup, then choose ERD, then if you check
the box for "Also backup....", then the reg will also be backed up to
%windir%\repair\RegBack
leaving the
%windir%\repair\
directory files intact as original installation.

Repair, Recovery, and Restore
http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/fndc/fndc_rec_uctu.asp

You can replace registry hives from within the recovery console by copying
the files from
%windir%\repair\regback
to
%windir%\system32\config

To start the Recovery Console, start the computer from the Windows 2000
Setup CD or the Windows 2000 Setup floppy disks. If you do not have Setup
floppy disks and your computer cannot start from the Windows 2000 Setup CD,
use another Windows 2000-based computer to create the Setup floppy disks. At
the "Welcome to Setup" screen. Press F10 or R to repair a Windows 2000
installation, and then press C to use the Recovery Console. The Recovery
Console then prompts you for the administrator password. If you do not have
the correct password, Recovery Console does not allow access to the
computer. If an incorrect password is entered three times, the Recovery
Console quits and restarts the computer. Note If the registry is corrupted
or missing or no valid installations are found, the Recovery Console starts
in the root of the startup volume without requiring a password. You cannot
access any folders, but you can carry out commands such as chkdsk, fixboot,
and fixmbr for limited disk repairs. Once the password has been validated,
you have full access to the Recovery Console, but limited access to the hard
disk. You can only access the following folders on your computer: drive
root, %systemroot% or %windir%


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Is there a way to overwrite the existing registry file with an older
| version. I know if I double click on a .REG file that it'll add to the
| existing registry but that isn't what I want, I want to replace it.
|
| Thanks,
| Pete
|
 
Back
Top