Discussion Locked

registry backup in Win 2000

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do i perform registry backup & restore from DOS prompt in Win 2000 ??

1 reply

by saihib

How to Recover the SYSTEM Hive
At startup, hardware restrictions limit to 16MB the amount of memory that the OS can access. To start the OS, Win2K must fit the boot loader, kernel files, hardware abstraction layer (HAL) code, boot drivers, and SYSTEM hive into 16MB. If this limitation is a problem on your system, Win2K informs you at startup that a file is missing or corrupted. This message has two common meanings: The SYSTEM hive is either fragmented or corrupted.

A fragmented SYSTEM hive prevents Win2K from starting on an NTFS partition. To eliminate some?if not all?of the fragments, you can boot the RC and copy the SYSTEM hive. To ensure this procedure's success, you need contiguous free disk space so that you can create a copy that will load. Boot to the RC, and set your location to \%systemroot%\system32\config (i.e., the location of the active registry files), as follows:

cd \winnt\system32\config
Rename the SYSTEM hive to a temporary filename:

rename system system.org
Copy the renamed file back to the original filename:

copy system.org system
Finally, use the Exit command to restart the system.

Under unusual circumstances, Win2K or a file-system problem can corrupt (rather than fragment) the SYSTEM hive, thereby preventing the OS from starting. If you have a current \repair\regback directory, you can replace the corrupted SYSTEM hive with a clean copy in just a couple of steps. First, rename the corrupted file and the native backup copy (system.alt) in the \config directory:

cd system32\config
ren system system.old
ren system.alt systemalt.old
Next, copy a good version of the file from \%systemroot%\repair\regback into \%systemroot%\system32\config:

cd \%systemroot%\repair\regback
copy system \%systemroot%\system32\config\*.*
Finish with the Exit command at the RC command prompt to restart the system.

This discussion is closed to new replies.