Backing up and restoring the Windows registry

The registry is one of the most vital components of the Microsoft Windows operating system. In simple phrase, it is a complex database containing virtually all system, software, hardware and user settings. Almost every piece of software keeps its data in the registry. It is so important that Windows would not even start without it.

2-Spyware.com parasite removal instructions often provide the lists of malicious registry entries that need to be deleted or modified. However, sometimes we all make mistakes. But one small mistake made while editing the Windows registry may not only disable some system functions, but also corrupt installed software or even damage the entire system. That is why you need to know how to backup and restore the registry. Just in case something goes wrong.

The following guide thoroughly explains how to backup and restore the entire Windows registry.


Backing up the Windows 95 registry

1. Reboot your computer.
2. Press the F8 key immediately when you see the Starting Windows 95 line at the top of the screen.
3. Select the option Safe Mode Command Prompt Only from the appeared startup menu. Press enter.
4. At the command prompt type the following lines:

cd Windows
attrib -r -h -s system.dat
attrib -r -h -s user.dat
copy system.dat user.bkp
copy user.dat user.bkp

This will back up the registry and split it into system.bkp and user.bkp files. You can find them in your main Windows directory.
5. Reboot your computer.

Restoring the Windows 95 registry

1. Reboot your computer
2. Press the F8 key immediately when you see the Starting Windows 95 line at the top of the screen.
3. Select the option Safe Mode Command Prompt Only from the appeared startup menu. Press enter.
4. At the command prompt type the following lines:

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.datold
ren system.da0 system.da0old
ren user.dat user.datold
ren user.da0 user.datold
copy system.bkp system.dat
copy user.bkp system.dat

This will restore the registry from a backed up copy. If you did not back up your registry, you will be unable to restore it.
5. Reboot your computer.


Backing up the Windows 98 / Windows Millenium registry

1. Click on the Start button and select the Run option.
2. Type in scanregw to the appeared field. Press the OK button. This will launch the Windows Registry Checker utility.


Image 1. Start Windows Registry Checker

3. Wait until the registry scan finishes. You will be presented with a suggestion to back up the registry. Reply positively by clicking on the Yes button.


Image 2. Back up the Windows registry

4. When the backup is over, press the OK button.

Restoring the Windows 98 / Windows Millenium registry

1. Reboot your computer.
2a. For Windows 98, press and hold the CTRL key. This should bring the startup menu. Select the option Safe Mode Command Prompt Only and press enter.
2b. For Windows Millenium, boot your computer from a startup disk and wait until the startup menu will appear. Then select the option Start Computer without CD-ROM Support.
3. Now you should see a command prompt. At the command prompt type the following line:

C:\Windows\Command\scanreg.exe /restore

Press enter. You will be presented with a list of the previous registry backups sorted by creation date. Select a backup, from which you would like to restore the Windows registry and press enter to restart your computer.
4. The system should restore the registry from a backed up copy. After the registry was successfully restored, press enter to restart your computer once again.


Backing up the Windows 2000 / Windows XP / Windows Server 2003 registry

1. Click on the Start button and navigate to Programs (All Programs) > Accessories > System Tools. Then click on the Backup entry. This will launch the Backup Utility. If there is no such entry, you will have to install the Backup Utility using your Windows installation disk.
2. Make sure the Backup Utility is in the wizard mode.


Image 3. The Backup Wizard

If it is not, click on the Backup Wizard (Advanced) (on Image 4 it is in the red box) button to launch the wizard.


Image 4. Launch the Backup Wizard

3. Press the Next button in the wizard’s window. Select the option Only back up the System State data. Then press Next.


Image 5. Back up the system state data

Choose a place to save your backup, type a name for it and start the backup process by clicking on the Finish button. When the backup is completed, you will be presented with a report. Now click Close to exit the Backup Utility.

Restoring the Windows 2000 / Windows XP / Windows Server 2003 registry

Option 1:

1. Click on the Start button and navigate to Programs (All Programs) > Accessories > System Tools. Then click on the Backup entry. This will launch the Backup Utility. If there is no such entry, you will have to install the Backup Utility using your Windows installation disk.
2. Make sure the Backup Utility is in the wizard mode.


Image 6. The Restore Wizard

If it is not, click on the Restore Wizard (Advanced) (on Image 7 it is in the red box) button to launch the wizard.


Image 7. Launch the Restore Wizard

3. Press the Next button in the wizard’s window. You will be presented with a list of all previous backups. Select the System State backup, from which you want to restore the registry. Then press Next.


Image 8. Select the backup

Start the restore process by clicking on the Finish button. When the restore is completed, you will be presented with a report. Now click Close to exit the Backup Utility.

Option 2:

1. Boot your computer from the Windows installation CD.
2. Press any key when you see the line Press Any Key to Boot from CD.
3. Now you should see the screen with three options: Setup, Repair, Quit. Press the R key to enter the repair mode.
4. Select the Windows installation, which registry you would like to restore. If you, like most other users, have only one installation, there will be only one entry in the list.
5. Then you will be asked to enter your administrator password. Type it in and press enter.
6. Now you should see the command prompt. Navigate to the folder containing registry backups. Type the following command: cd [folder_name]
7a. For Windows 2000, type the following lines:

copy default C:\Winnt\System32\config
copy sam C:\Winnt\System32\config
copy security C:\Winnt\System32\config
copy software C:\Winnt\System32\config
copy system C:\Winnt\System32\config

If the system will ask you whether you want to overwrite the existing files or not, reply positively by pressing the Y key.
7b. For Windows XP and Windows Server 2003, type the following lines:

copy default C:\Windows\System32\config
copy sam C:\Windows\System32\config
copy security C:\Windows\System32\config
copy software C:\Windows\System32\config
copy system C:\Windows\System32\config

If the system will ask you whether you want to overwrite the existing files or not, reply positively by pressing the Y key.
7. After you get finished, type the exit command and press enter.
8. Remove the Windows installation CD and restart your computer.


Backing up and restoring the Windows registry can be difficult tasks for inexperienced users. However, these procedures are very important. Sometimes thi is the only way to restore the system corrupted by dangerous parasites or damaged by malfunctioning software. Be careful and patient while restoring the Windows registry. Do not try to restore your system without having a reliable backup! Without it you may even compound the felony.


  • Michael

    now will i be able to keep my aplication data on the c drive or not becuase i could just put my games on a floppy then have all my data but i would rahter not

  • Brock

    What does it mean when it says the tape is full? It asks me to insert another tape, what is that?

  • charlene

    can i do backup i have new window vista……………………which backup do i use?

  • vishal

    hey thanks for the back up information it worked for me

  • A Friend

    I’m sure there are only a few people who are still using Win 95, so I guess it’s not that important. However, your instructions for Win 95 users appear incorrect to me. See your step number 4.

    >>>>
    4. At the command prompt type the following lines:

    cd Windows
    attrib -r -h -s system.dat
    attrib -r -h -s user.dat
    copy system.dat user.bkp
    copy user.dat user.bkp

    This will back up the registry and split it into system.bkp and user.bkp files. You can find them in your main Windows directory.
    <<<<

    It looks as though both line 4, and line 5, create the file “user.bkp”, when actually line 4 should create “system.bkp”.

    Hope this helps.

  • Annie

    Could this backup still be performed if the WinPC is stubborn enough to activate itself upon startup each time I log in?
    I haven’t tried yet, I’m not using my affected computer at the moment.

  • Michael A. Shoemaker

    Dear sirs,

    I am trying to back up my registry so I can use regedit to remove possible traces of PC Mighty Max. Your instructions for using regedit call for first backing up the registry, using the following procedure:

    1. Click on the Start button and navigate to Programs (All Programs) > Accessories > System Tools. Then click on the Backup entry.

    Under “System Tools”, I have no entry called “Backup”. My system is:

    Microsoft Windows XP
    Home Edition
    Version 2002
    Service Pack 3

    Registered to: Owner.

    I am logged on as “Owner”.

    I clicked on “Help and Support”, and entered “Backup Wizzard”; but Help & Support had no items by that name listed in its index. Entering “Backup” gave little, unuseable information.

    Please tell me how to proceed, so I can see to the PC Mighty Max problem. I cannot find PC Mighty Max in Program Files, either on the Start button or on C:\Program Files\ in Windows Explorer; but I purchased and used the “7-day” version over a week ago, so I expect there to be traces. Mighty Max has not given me annoying popup windows or other problems, but I have seen the name pop up in “alert” windows from my antivirus programs.

  • R.Seth

    Very useful inputs for computer users. Thanks a lot!

    R.Seth

  • R.Seth

    Very useful inputs for computer users. Thanks a lot!

    But does every computer have an administrator password (step 5 under option2 above)? My computer do not have one. At least, I have not given it one and I access all programs on computer without any password. Pl explain.

    Regards

    R.Seth

  • A Watt

    The Back-Up utility for Win XP appears to be only included with the Professional version or Windows Server versions

  • Ashok

    Can anyone help me with instructions for removing personal security spyware. I can’t do anything from my computer. Nothing. Everything is blocked. I cant open regedit, i cant make backup from accessoires, i cant use the control pannel, i cant make bachup of the reg. from cmp. NOTHING. Please email me ad: ashoksewg@hotmail.com. thnx

  • dave

    the virus wont allow me to run the regisery to be able to delete the viruses keys…wtf…any other solutions???

  • Caren Childers

    How do I back up Vista regustry?

  • gerard

    how do you back up win 7 registry?

  • Val

    How do you back up for windows vista?

  • silver

    Need for Win7 in safe mode. Got to this page from malware removal that says to start in safe mode with command prompt.

Files
Software
Compare
Like us on Facebook