How To Backup Registry

How To Backup Registry 


Possible Solutions


Windows 95 


Your Windows 95 registry consist of two files called System.dat and User.dat. Both of these files together make up your registry. Both System.dat and User.dat have hidden, read-only file attributes. 

Backing up your Windows 95 Registry
Restart your computer. Press the F8 key on your keyboard when you see the Starting Windows 95 message, and then choose Safe Mode Command Prompt Only from the Startup menu. 

At the command prompt type the following lines, pressing the Enter key after each line: 

cd windows 
attrib -r -h -s system.dat 
attrib -r -h -s user.dat 
copy system.dat *.bu 
copy user.dat *.bu 


Restart your computer.
NOTE: This procedure assumes you do not have any files named System.bu or User.bu. If you do have files by this name, such as a backup of the System.ini file, select a file name extension that is not currently in use. 

Restoring your Windows 95 Registry files 


The following steps assume that you have already backed up your Registry files to system.bu and user.bu as outlined above.
Restart your computer. Press the F8 on your keyboard when you see the Starting Windows 95 message, and then choose Safe Mode Command Prompt Only from the Startup menu. 

Type the following lines at the command prompt, pressing the Enter key after each line. 

cd windows 
attrib -r -h -s system.dat 
attrib -r -h -s system.da0 
attrib -r -h -s user.dat 
attrib -r -h -s user.da0 
ren system.dat system.daa 
ren system.da0 system.da1 
ren user.dat user.daa 
ren user.da0 user.da1 
copy system.bu system.dat 
copy user.bu user.dat 


Your current registry files are backed up to the system.daa and user.daa files. 

Your previously backed up registry files system.bu and user.bu are renamed to system.dat and user.dat 

Restart your computer.
Windows 95 Notes 


This procedure assumes you do not have any files named System.daa, System.da1, User.daa, or User.da1. If you do have files by this name, select a file name extension that is not currently in use. 

You may want to back up more than one version of the registry in case the registry becomes damaged but the damage is not detected until later. If you want to do this, when you are following the steps above, replace the .bu extension with .bu1, .bu2, and so on. 

If you have more than one hard disk or a network drive is available, you may want to copy the backup files to the other drive so the backup files do not reside in the same location as the original registry files. 

Note that if you are using user profiles, you should also backup the User.dat files located in the following folders, 

C:\Windows\Profiles\(username) 

where (username) is the name of each person that logs on to Windows 95. 

Restoring the Registry in Windows 98/ME 


Under normal circumstances, Windows is capable of detecting and recovering from registry errors automatically. If Windows is incapable of this, a previous copy of the registry can be restored manually. Windows makes and stores a backup of the registry when you start your computer successfully each day. By default, five previous copies of the registry are stored. To restore one of these previous copies of your registry follow these steps.
Restart your computer, and press and hold the CTRL key as it restarts. 

Choose Safe Mode Command Prompt Only from the Windows startup menu. If you are running Windows ME, start your computer with your Windows startup disk. Click here for help with making a startup disk. 

At the MS-DOS prompt, type cd\windows\command , and then press the Enter key. Where windows is the name of the folder in which Windows is installed. 

At the C: prompt, type scanreg /restore , and then press the Enter key. 

Select the previous registry you want to restore, and then press the Enter key. A properly working registry has the word "Started" next to the date. 

When you receive notification that you restored a properly working registry, press the Enter key to restart your computer.

Windows 2000
Windows setup 

Last known good configuration
Windows setup 


The simplest way of restoring a damaged registry in Windows 2000 is to use the Setup.exe program to run Windows setup on a single boot system. 

How to run the Setup.exe file to repair your Registry.
You'll need to set your computer to boot from your CD-ROM drive if it isn't doing so already. Put your Windows 2000 setup CD in your CD-ROM drive and restart your computer. 

Run the Setup.exe file manually if the Windows setup program does not start automatically on reboot. You will need to find and open the Setup.exe file on your Windows 2000 CD-ROM if this is the case. Click here for more help on how to find files. 

Select the option to Repair a damaged Windows 2000 installation when you are prompted to do so.
Last known good configuration 

You can choose to boot to the Last known good configuration. Windows 2000 restores your registry to a state where you last logged in, but it only restores information in the HKLMSYSTEM|CurrentControlSet key. This is a good way to recover from changes that affect only this key, such as adding a device driver. 

How to restore the HKLMSYSTEM|CurrentControlSet Registry key.
Restart your computer. 

Hold down the F8 key on your keyboard while your system reboots. 

Select Last known good configuration from the Startup menu by using the arrow keys on your keyboard.
Press the Enter button on your keyboard.

Windows XP 


The best way to backup your Registry is to use the System Restore tool.
Making a restore point 

Restoring to a past restore point 

Disabling System Restore
Making a restore point
Click Start. 

Select All Programs. 

Select Accessories. 

Select System Tools. 

Select System Restore. 

Select Create a Restore Point. 

Click the Next button. 

Type in a Restore Point Description. 

Click the Create button. Your new restore point is given the current date and time along with the restore point description. 

Click the Home button.
You have now made a Restore point. 

Restoring to a past restore point
Click Start. 

Select All Programs. 

Select Accessories. 

Select System Tools. 

Select System Restore. 

Select Restore my computer to an earlier time. 

Click the Next button. 

Select a Restore point from the calendar by clicking a bold date and then selecting a Restore point. 

Click the Next button. 

Confirm the Restore point and click the Next button.
Your computer will then be restored to your selected Restore point and restart itself.


By Zulfadli

Comments

Popular posts from this blog

WATCH DOGS-RELOADED

Essential Tips on Gaming for Newbies: The World of Internet Games

Explore Your Creativity With A Degree In Video Game Design