Resurrect registry data in DOS

Source: Internet
Author: User
Keywords Registry select run resurrect two

The registry is the core of the system, which plays an important role in controlling the operation of software and hardware, especially the operation of some softwares in the registry. When the system is unstable or even crashes, in most cases, by restoring the registry data, the system can be revived. However, once the system has a problem, will not be able to see the blue sky White clouds, then, the most effective way is through the only way to restore the DOS the original data, to save the crashed system. Let's take a look at how to back up and restore the registry data in DOS.

Do your own backup recovery

The registry is composed of two database files System.dat and User.dat, which store system information for the local computer, which saves the http://www.aliyun.com/zixun/aggregation/10619.html > User information. In order to prevent the system contingency, usually as long as the two files for manual backup, save in a relatively safe place, the system once the problem, the use of it can bring the system back to the dead. However, these two files have implicit, system, read-only properties that are not found under the default settings of the resource Manager. So to select Folder Options on the View menu in Explorer, and then click the View tab, locate and select Show all files under Files and folders, and click OK button, you can use the copy, Paste command to back up these two files to a more secure place, such as D:\Backup. When the system needs to be restored, the system is booted into a pure DOS environment, the input removes the implied attributes of the two files in the system, and then copies the backed-up files to the Windows directory of the system. The order is:

Attrib-r-h-sc:\windows\system.datattrib-r-h-sc:\windows\user.datcopyd:\backup\system.datc:\windowscopyd: \backup\user.datc:\windows

Of course, the location of the D:\Backup is just an example. In addition, when copying files, the system prompts you to overwrite the original file, and press "Y" to restore the Backed-up registry files to the system.

Backup recovery through System Tools

Because of the importance of the registry, Windows98 has added a new gadget-Registry Checker Scanreg. At each boot Windows98 scanreg automatically run, the system registry check, and for each boot day to do a backup, the System.dat, User.dat, System.ini, Win.ini four files packaged into a CAB file, to rb00? Cab named, stored in the System backup folder Sysbckup, by default save the last 5 backup documents. When an error is checked to the registry, it is restored with a backup. However, its functionality must be run in MS-DOS command line mode. Note that "MS-DOS" here refers to pure MS-DOS and is not a simulated MS-DOS mode that runs under Windows. If your machine is ready to start, press F8 at startup, select "Commandpromptonly" mode in the Startup menu that appears, or choose "Turn off System" from the Start menu under Windows, and then select "Restart the computer and switch to MS-DOS." can enter pure DOS. DOS Registry Editor Although not as powerful as windows, but also has its unique. For example, when there is a problem with the system can not start Windows, its role is reflected. In DOS, type Scanreg/restore, where Scanreg is the Registry Checker command,/restore to display all backup files according to the time and date of the backup, compressing the backed-up files when displaying the backed-up registry files. The CAB file lists the following words for the CAB file as started or notstarted. Started that this file can successfully start Windows, is a good backup file, notstarted that the file is not used to start Windows, so do not know if it is a good backup. Select "Start" and then select Viewbackups (view) in the next dialog, at which point you can select what you want to restore in 5 registry backups, select Restore (Restore), and finally select Restart (reboot). Restarting your computer will solve the problem.

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.