Start Recovery Console
You need to use Recovery Console in Windows XP to fix the corrupted registry, it requires you to boot from the Windows installation disc or boot directly into the Recovery Console if it is already installed. Follow these steps to enter Recovery Console mode from the Windows XP installation disc.
1. Put the Windows XP disc in the drive.
2. Restart the computer and make sure your BIOS is set to boot from the CD.
3. When you see the following command line, press space bar:
bấm phím nào để khởi động từ cd .
4. Wait until you see the " Welcom to Setup " screen and press the " R " key to enter the Recovery Console
5. Select the Windows version you want to load (usually # 1 if you don't have multiple operating systems installed)
6. Type password administrator and press Enter.
7. You should now see the prompt: C: Windows>
Copy repair files using the Recovery Console
This procedure is only applied to Windows installed on drive C, if you install Windows on another drive, replace the appropriate drive letter in the following procedure:
At the Recovery Console command prompt, type the following commands, type Enter after each command line:
md tmp
copy c: windowssystem32configsystem c: windowstmpsystem.bak
copy c: windowssystem32configsoftware c: windowstmpsoftware.bak
copy c: windowssystem32configsam c: windowstmpsam.bak
copy c: windowssystem32configsecurity c: windowstmpsecurity.bak
copy c: windowssystem32configdefault c: windowstmpdefault.bak
delete c: windowssystem32configsystem
delete c: windowssystem32configsoftware
delete c: windowssystem32configsam
delete c: windowssystem32configsecurity
delete c: windowssystem32configdefault
copy c: windowsrepairsystem c: windowssystem32configsystem
copy c: windowsrepairsoftware c: windowssystem32configsoftware
copy c: windowsrepairsam c: windowssystem32configsam
copy c: windowsrepairsecurity c: windowssystem32configsecurity
copy c: windowsrepairdefault c: windowssystem32configdefault
Type exit to exit Recovery Console. Your computer will reboot and press F8 to select boot mode, you choose Safe Mode .
Reboot in Safe Mode and search for the latest backup
Reboot the computer in Safe Mode by pressing F8 during the boot process and selecting Safe Mode . In Safe Mode, make sure the files and folders are in your current state so you can see and access them. Follow these steps to complete this:
1. Open My Computer
2. Select Tools -> Folder Options
3. Select the View tab
4. Under Hidden files and folders , select Show hidden files and folders , and uncheck Hide protected operating system files (Recommended)
5. Select OK
In My Computer, double-click the drive you installed Windows XP to see a list of all folders, then double-click the " System Volume Information " folder. This folder includes when to restore the system on your computer. This directory usually takes the same form as the following:
_restore {EE42BEB8-700A-495F-8004-53D26C2E12C5}
Perhaps you will receive an error message prohibiting access (access denied) similar to the following when trying to access the System Volume Information folder
C: System Volume Information is not accessible. Lỗi truy cập Access.
This error is usually caused because the user is not authorized to set up on this directory. To fix this error, follow the instructions in this article to regain access. Each version of Windows XP has a different way of changing this permission.
Once you have access to the snapshots, follow these instructions to copy the latest snapshots to the WindowsTMP folder for you to access.
1. In the System Volume Information folder, select View -> Details to display the date of each snapshots folder
2. Double-click a folder that was not created at the present time but further ahead of the time the problem occurred.
3. Double-click the Snapshot subdirectory
4. Copy the following files to folder C: WindowsTMP
- _REGISTRY_USER_.DEFAULT
- _REGISTRY_MACHINE_SECURITY
- _REGISTRY_MACHINE_SOFTWARE
- _REGISTRY_MACHINE_SYSTEM
- _REGISTRY_MACHINE_SAM
5. Change the file name you just copied in C: WindowsTMP
- Rename _REGISTRY_USER_.DEFAULT to DEFAULT
- Rename _REGISTRY_MACHINE_SECURITY to SECURITY
- Rename _REGISTRY_MACHINE_SOFTWARE to SOFTWARE
- Rename _REGISTRY_MACHINE_SYSTEM to SYSTEM
- Rename _REGISTRY_MACHINE_SAM to SAM
6. Reboot the computer again with the Recovery Console (refer to the instructions above to do this).
Replace the Repair file with a current backup of the Registry
After restarting the computer and entering Recovery Console, type the following commands at the command prompt to replace these files with the current backups. You must press the Enter key after each command.
del c: windowssystem32configsam
del c: windowssystem32configsecurity
del c: windowssystem32configsoftware
del c: windowssystem32configdefault
del c: windowssystem32configsystem
copy c: windowstmpsoftware c: windowssystem32configsoftware
copy c: windowstmpsystem c: windowssystem32configsystem
copy c: windowstmpsam c: windowssystem32configsam
copy c: windowstmpsecurity c: windowssystem32configsecurity
copy c: windowstmpdefault c: windowssystem32configdefault
Restart the computer to complete the job.
Use System Restore to return to a good backup time
Follow these steps:
1. Start -> All Programs
2. Accessories -> System Tools
3. System Restore -> Restore to a previous Point .