Get the fix to the “Windows could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM” boot error message affecting Windows XP.
About the “\WINDOWS\SYSTEM32\CONFIG\SYSTEM is missing or corrupt” error
The following information on this error has been compiled by NeoSmart Technologies, based on the information gathered and reported by our global network of engineers, developers, and technicians or partner organizations.
Description and Symptoms
The error messages, alerts, warnings, and symptoms below are tied to this error.
Symptom 1: \Windows\System32\Config\System is missing or corrupt error screen on startup
The Windows Registry is a hierarchical database that stores low-level settings for the Microsoft Windows operating system and for applications that opt to use the Registry. When a computer loads, Windows tries to access the registry to get the loading settings, but if the registry is corrupted, then the loading process halts and the following error screen is displayed.
Windows could not start because the following file is missing or corrupt: \windows\system32\config\SYSTEM You can attempt to repair this file by starting Windows Setup using the original Setup CD-ROM. Select 'r' at the first screen to start repair.
Note that the exact error message may vary depending on how exactly the registry was corrupted. All different error messages that are all related to this error are listed below:
Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SOFTWARE
Stop: c0000218: The registry cannot load the hive (file): \SystemRoot\System32\Config\SOFTWARE or its log or alternate.
- Stop: 0xc000000f: Windows failed to load because the system registry file is missing, or corrupt.
System error: Lsass.exe When trying to update a password the return status indicates that the value provided as the current password is not correct.
Windows failed to start. A recent hardware or software change might be the cause. To fix the problem: 1. Insert your Windows installation disc and restart your computer. 2. Choose your language settings, and then click "Next." 3. Click "Repair your computer." If you do not have this disc, contact your system administrator or computer manufacturer for assistance. File: \Windows\System32\config\system Status: 0xc000000f Info: Windows failed to load because the system registry file is missing, or corrupt.
Causes of this Error
This error has been known to occur as a result of the following cause:
Cause 1: The Windows registry is corrupted
The Windows registry may become corrupted because of many different reasons, including but not limited to virus attacks, power outages, disk write errors, or mistakes made by the user while configuring the registry manually.
Fixing “\WINDOWS\SYSTEM32\CONFIG\SYSTEM is missing or corrupt” on Windows
Windows Setup CD/DVD Required!
Some of the solutions below require the use of the Microsoft Windows setup CD or DVD. If your PC did not come with a Windows installation disc or if you no longer have your Windows setup media, you can use Easy Recovery Essentials for Windows instead. EasyRE will automatically find and fix many problems, and can also be used to solve this problem with the directions below.
Fix #1: Restore corrupted registry via Easy Recovery Essentials
Easy Recovery Essentials can fix many errors such as this automatically using its built-in Automated Repair option. EasyRE is currently available for Windows XP, Vista, 7 and 8 and can be downloaded and created on any PC.
- Download Easy Recovery Essentials. Make sure to note your Windows version (XP, Vista, 7 or 8) before you download EasyRE. This guide can help you identify what version of Windows you have installed.
- Burn the image. Follow these instructions on how to burn the bootable ISO image very carefully, as making a bootable CD can be tricky! Alternatively, these instructions explain how to create a bootable EasyRE recovery USB stick/drive.
- Boot up your PC from the Easy Recovery Essentials CD or USB you created.
- Once EasyRE is running, choose the “Automated Repair” option and click Continue.
- After EasyRE scans your computer’s drives, identify and select the drive letter for your Windows installation from the list, and then click on the Automated Repair button to begin.
- Easy Recovery Essentials will start analyzing the selected drive for problems. EasyRE will test for and attempt to automatically correct errors with the disk, partition, bootsector, filesystem, bootloader, and registry. No intervention is required, as EasyRE’s repair is fully automated:
- Once the process is complete, EasyRE will report its findings. Click on the Restart button to reboot your PC and test the changes.
- The “\WINDOWS\SYSTEM32\CONFIG\SYSTEM is missing or corrupt” error should now be fixed as your PC begins to load:
You can download Easy Recovery Essentials from here.
Fix #2: Reboot a PC into “Last Known Good Configuration”
Rebooting a PC into “Last Known Good Configuration” mode forces a computer to use a saved version of the Windows registry that was in place the last time that computer successfully booted. This should fix all registry-related boot errors, assuming the last registry backup is available and is good condition.
Here are the steps to restore a PC to a previous state:
- Restart the computer
- Wait for the BIOS to complete POST (the screen with manufacturer logo and/or system information)
- Quickly begin tapping F8 repeatedly, until the list of boot options is displayed
- Choose “Last Known Good Configuration (Advanced)”
- Press Enter and wait for the PC to boot.
Here is an example of the Windows Advanced Boot options menu, with the “Last Known Good Configuration” option selected:
Fix #2: Check the disk file system with CHKDSK utility
Since the error is often caused by a corrupt registry, checking and fixing the Windows file system with CHKDSK might be a good solution.
Here are the steps to run CHKDSK using the Windows XP Recovery Console:
- Insert the Windows XP installation CD
- Restart the computer and boot from the CD
- Press any key to boot from the CD
- Press R when the Windows Options menu is loaded to access Repair Console
- Enter the Administrator password
- When the Command Prompt appears, type the following command:
chkdsk C: /r
C:(without a trailing slash:
/) is letter of the Windows installation drive (it’s usually
- Press Enter
- Remove the CD and type
- Press Enter
- Restart the PC
Here is what the PC’s console output should look like after chkdsk is done checking and fixing the drive file system:
Fix #3: Restore the registry manually
The corrupted registry may also be fixed by replacing it with a clean copy that was created on the hard drive when Windows was installed. Note that this operation will restore the system to a state that might be very far from its current state; however, it still should be possible to recover user data in that state. This procedure also should not be used if the computer has an OEM-installed operating system, because the system registry hive on OEM installations creates passwords and user accounts that did not exist previously. This means that if these steps are followed on an OEM machine, then it may not be possible to log back into the recovery console to restore the original registry hives.
First, a backup of all current registry files is made so that they could be restored if anything goes wrong. Then, the existing registry is deleted, and replaced with a clean copy from the C:\Windows\Repair folder.
- Insert the Windows XP setup CD and restart the computer
- Press any key to boot from the CD
- Press R to access Repair Console
- Enter the Administrator password. When the Command Prompt appears, type the following commands, one at a time and press Enter after each command, replacing
C:with the Windows’ drive letter:
md tmp copy c:\windows\system32\config\system c:\windows\tmp\system.bak copy c:\windows\system32\config\software c:\windows\tmp\software.bak copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak copy c:\windows\system32\config\security c:\windows\tmp\security.bak copy c:\windows\system32\config\default c:\windows\tmp\default.bak
delete c:\windows\system32\config\system delete c:\windows\system32\config\software delete c:\windows\system32\config\sam delete c:\windows\system32\config\security delete c:\windows\system32\config\default
copy c:\windows\repair\system c:\windows\system32\config\system copy c:\windows\repair\software c:\windows\system32\config\software copy c:\windows\repair\sam c:\windows\system32\config\sam copy c:\windows\repair\security c:\windows\system32\config\security copy c:\windows\repair\default c:\windows\system32\config\default
exitand remove your CD:
- Press Enter
- Restart your computer
Right after the boot process is completed successfully, it is possible to either backup all user data and reinstall Windows from scratch, or follow the procedure described in the Windows KB corrupted registry article to manually restore the system registry to a more newer version that was backed up by System Restore.
- Easy Recovery Essentials for Windows – our repair and recovery disk.
It’s an easy-to-use and automated diagnostics disk. It’s available for Windows 8, Windows 7 and Windows Vista. It’s also available for Windows XP and Windows Server.
Read more at Windows Recovery Disks.
- The NeoSmart Support Forums, member-to-member technical support and troubleshooting.
- Get a discounted price on replacement setup and installation discs: Windows XP.
This Windows-related knowledgebase article applies to the following operating systems:
- Windows XP (all editions)