9x and 2k registry backup and Restore _ registration Form

Source: Internet
Author: User
Tags log log

Since Windows 95, Microsoft has stored Windows System configuration information in a database called the registry. It is the core of the widnows system that manages all the hardware and software, including the configuration files for each computer user and important information about system hardware, installed programs, and property settings. As a result, registry errors often cause the system to crash, so keeping the registry "healthy" is particularly important. So, how to ensure the "health" of the Registry? Old fashioned-backup and recovery.

  A, backup and recovery of Windows 9x registry

(1) Use Scanreg Backup/restore Registry
  
System in the boot process will automatically scan the registry, will be the registry and Win.ini, System.ini together packaged compressed into rb00? Cab, stored in the C:\Windows\sysbckup directory, automatically repaired if there are any errors. In the system runtime can also check the registry, registry detection software for the DOS version of the Scanreg.exe and Windows version of the Scanregw.exe, as long as the input "Scanreg", will automatically start the appropriate version. Click start → run, enter "Scanrge" in the Open dialog box, and then click OK, the program scans the registry and displays the results of the scan. If there is an error in the registry, you will be prompted whether to fix it automatically, and if you do not make a backup of the registry, you can automatically fix it. If normal and not backed up today, the program prompts you for a backup.

When the registry is wrong and cannot be repaired automatically and cannot enter Windows, the Scanreg/fix can be repaired under DOS. This eliminates the possibility of registry repair failures due to the failure of the initialization program System.ini and Win.ini to load the wrong modules or applications and virus intrusion as the system starts automatically.

When you use Scanreg to perform a backup of the system registry, the recovery requires a pure DOS environment in real mode, and typing Scanreg/restore,scanreg at a DOS prompt detects the registry first, and then displays several files to provide a choice. Determine what you think is a normal backup to restore. The DOS version Scanreg.exe has 3 features, with the following parameters:

backup--Backup Registry

restore--Restore Registry

fix--Repair Registry

(2) Use Regedit Backup/restore Registry

In addition to the modifications that can be used for configuration, Registry Editor has a very important feature: Backup and restore the registry.

Backup of the Registry

Run "regedit" to open the Registry Editor window.

Open the registry → Export Registry File menu command and eject the Export Registry File dialog box. Select the save path and name of the registry backup file and save all or just one of the branches of the registry. After you have set your own needs, click the "Save" button to complete the backup of the registry.

Registry Recovery

After you open Registry Editor, run the registry → introduce registry file, and eject the Introduce registry File dialog box.

Locate the registry backup file that was exported, click the Open button to complete the registry recovery, a prompt box appears when you are finished, click OK, and then restart your computer.

(3) Using Registry Editor to restore

If you have backed up the registry before an error in the registry, you can also use Regedit in a DOS environment to recover it by using the following procedure:

Start the computer with the boot disk, enter the Windows directory, type "REGEDIT/C *.reg" in the directory, *.reg the registry file name for the backup, and then restart the computer for the new registry to take effect.

Note: This method is very slow, so you must be patient, if the midway stop, then may damage the current registration file, causing the computer can not start.

  B, Recovery of the Windows 2000 registry

The registry for Windows 2000 is also divided into two parts, but includes multiple files. The user profile is stored in a directory of user names under the root directory "Documents and Settings", including Ntuser.dat and Ntuser.ini two hidden files and Ntuser.log log files. The system configuration file is located in "System32\Config" in the Windows 2000 system directory, including default, Software, System, APPEVENT.EVT, SECEVENT.EVT, Sysevent.evt and other hidden files and their corresponding log files and. sav files. These registry files cannot be opened with other tools while Windows 2000 is running, unlike System.dat and User.dat under Windows 9x.

In Windows2000, if you want to fully back up the registry, you can enter regedit in the Run box to open Registry Editor, open the Registry → Export Registry File command, select the range of the export as a whole, and then give the path and the name of the backup registry file. To restore the registry, just click Import Registry File under the Registry menu, and then select the appropriate registry backup file on disk.

If you only need to save a root key or a primary key, you can use Winnt\system32\regedt32.exe. First, select the primary key or subkey that you want to save. Then, click the Save Item command under the Registry menu to enter the file name of the registry file you want to save in the pop-up Save Items dialog box, and the extension recommends "Reg" for future administration.

Because Windows 2000 is a real multi-user operating system, therefore, when you save some primary keys or subkeys, you receive a warning that suppresses access, such as "insufficient permissions, unable to save items," because the user performing the operation is different, or if the primary key or subkey is being used by the system. This is if you are an administrator. You can use the Permissions command under the Security menu to grant Full control to users of these primary keys or subkeys, and then you can save the key.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.