Restore the system due to a corrupted Registry in Windows XP
You will have to use the steps in this article to restore the system due to a corrupted registry. When you have tried other ways such as System Restore but still failed and you receive the same message as one of the following messages when you restart the computer with Windows XP.
- Windows XP could not start because the file theo đây bị thiếu hoặc bị hỏng: WINDOWSSYSTEM32CONFIGSYSTEM
- Windows XP failed to start because the following file is missing or bị hỏng: WINDOWSSYSTEM32CONFIGSOFTWARE
- Stop: c0000218 {Registry File Failure} The registry cannot load the hive (file): SystemRootSystem32ConfigSOFTWARE or its log or alternate
- System error: Lsass.exe
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 .
You should read it
- 36 best free registry cleaning software 2018
- How to create a hacked Windows Registry file yourself
- How to open the Registry Editor on Windows
- How to Make and Restore a Backup of the Windows Registry
- Learn about the Windows Registry - Part I
- Use the .reg file to configure the Registry in WinXP
- How to Close All Open Windows of an App in Mac OS
- 50 Registry tricks to help you become a true Windows 7 / Vista 'hacker' (Part 1)
May be interested
- How to Get Into a Computer Registryhave you ever wondered how to get into your registry? did you just simply forget? well no worries, this will show you how to get into the windows registry in windows 7. click on start. before using the registry editor, it is always wise to...
- 50 Registry tricks to help you become a true Windows 7 / Vista 'hacker' (Part 1)the registry is a hierarchical database that stores the values of parameters in windows and applications and services running on the windows operating system.
- How to repair or restore corrupted PDF filesif you can't open the pdf file, it may be corrupted and if you haven't backed up the data yet, this is a nightmare. therefore the article will help you recover or repair corrupted pdf files with windows tools and techniques. the following methods can completely recover the pdf file, restore the original state or only extract the elements in the file.
- Backup and restore Registry in Windows XP (Part 1)have you ever had problems with the registry? perhaps professional users and curious people who want to explore everything inside the operating system are no stranger to it. as for me, only a short time after installation
- Learn about the Windows Registry - Part Iabout the registry: the registry is a database used to store windows specifications. it records all information when you change, edit in settings menu, control panel ....
- Backup and restore the Registry in Windows XP (The last part)anyone who has ever used a computer is certainly familiar with how to make changes within the system through middleware. control panel is a good example. changing a setting within control panel means changing the contents of a particular registry. the only thing you can't know is what registry is and how it works
- Block access to Registry Editor on Windows 10/8/7the registry is a hierarchical database that stores the values of parameters in windows and applications and services running on the windows operating system. suppose for some reason, for example, if you don't want others to access reigstry editor to edit some settings on windows, you can disable registry editor. in the article below, network administrator will show you how to disable registry editor on windows 10/8/7.
- How to use System Restore in Windows: Turn off, turn on, create, restore System Restoresystem restore is a windows utility that allows users to restore the status of a window at a certain time. the time of recovery can be set by the computer or by the user. software, data from the time of restore are deleted.
- How to disable Windows Registry on Windows 10the windows registry is one of the most important tools in windows 10. since it can profoundly change the way your operating system works, allowing every user on your pc to access it isn't a big deal. good opinion.
- Hackers have found a way to interfere with the Windows Phone 8 Registrymicrosoft's windows phone 8 platform may no longer be absolutely safe from system intervention because now xda hackers are able to access the registry to edit.