Windows Could Not Start: System32 Config SYSTEM Missing or Corrupt (0xc000000f and 0xc0000218): Safe Recovery Steps


Last reviewed: November 25, 2026. Steps compared with Microsoft documentation, none run on a real PC. The top picture is an illustration.
A boot message that points to a config SYSTEM file is often described as config system missing or corrupt. This guide puts the recovery steps in a safe order, starting with look-only checks, then backups, then repairs, and leaving hardware for last.
If you are not sure which fix fits your screen, our PC repair guides hub lists other boot and startup topics. For a guided check of your exact message, the Repair Assistant tool can help you pick a starting point.
Quick answer
Quick answer
- The message means Windows could not load one of its registry hive files, most often the SYSTEM file in the config folder. Write down the exact file name and status code first.
- Protect your data before any repair. Back up from the recovery environment or another PC if the drive still reads.
- Try the smaller steps first: unplug extra devices, run Startup Repair, then System Restore if a restore point exists.
- Next come offline DISM and SFC with the correct drive letter, then a drive health check and chkdsk.
- Reset this PC with files kept, or a repair install, comes after those steps. Hardware checks come last, and RegBack is an advanced option only.
In this guide
- What the message means
- Symptoms and what they usually point to
- Decision tree: which step comes next
- Recovery route at a glance
- Reach the recovery environment
- Safe recovery order
- Startup Repair from the recovery screen
- System Restore from recovery
- Offline DISM and SFC with the right drive letter
- Drive health check and chkdsk
- Reset this PC or repair install with files kept
- Hardware checks last
- Advanced option: RegBack, look first only
- How this guide was checked
- Frequently asked questions
- Sources
What the message means
Windows reads several registry hive files early in startup. When one of them cannot be read, the boot process stops and shows a message. You may see a line such as File: \Windows\System32\config\system together with Status: 0xc000000f. The short label config system missing or corrupt describes that situation.
Microsoft's startup troubleshooting article lists the symptom as unable to boot due to system hive missing or corrupted. It also says that if Windows cannot load the system hive into memory, the system hive must be restored. For a corrupt registry hive, the same article recommends using a restore point. That is why this guide places the restore step after the backup step.
The hive names most often listed are SYSTEM, SOFTWARE, SAM, SECURITY and DEFAULT. Microsoft's article we opened confirms the config folder path, but we did not confirm the full list of hive names on a Microsoft page during this check, so treat that list as a general guide. Our guide to how the SYSTEM hive keeps control sets covers the layout. The config folder is under the Windows folder. On many installs it is C:\Windows\System32\config, but the drive letter can change in the recovery environment. The step that finds the Windows drive comes before any repair command for that reason.
Why the status code matters
The status code 0xc000000f and the stop code 0xc0000218 are useful labels. They help you compare your notes with later guides and with the screen you see. In this check we could not open a Microsoft page that confirms what these two codes mean, so this article does not give an official definition for them. Copy the code exactly as it appears, including the letters after 0x.
Why this is not usually a lost-file message
A missing or damaged hive file does not by itself mean that your documents, photos or downloads are gone. The files may still be on the drive. Each hive also has registry transaction log files that help Windows recover its last saved state. That is why the first repair steps are the ones that change the least, and why a backup attempt comes before any write operation.
If your screen shows a different stop code, such as one for a system service, our SYSTEM_SERVICE_EXCEPTION blue screen fix covers that case. If the screen names a registry error code, our REGISTRY_ERROR blue screen guide is the closer match. A corrupt user profile is a different problem again, covered in our guide to corrupt user profiles.
Symptoms and what they usually point to
The table maps what you see to the first check. It is a guide to order, not a diagnosis. If your message matches more than one row, follow the first row that applies, because it is the safer starting point.
| What you see | Likely area | First check | Risk level |
|---|---|---|---|
| Message with File: \Windows\System32\config\system and Status 0xc000000f | System hive could not be read at boot | Write the text down, unplug extra devices, then try Startup Repair | Medium: back up first |
| Stop code 0xc0000218 on a blue screen | A registry file could not be loaded | Note the code and any recent update, driver or app change | Medium |
| Startup Repair loops or reports that it cannot repair the PC | Damage that the automatic tool cannot fix | Try System Restore, then offline file checks | Medium to high |
| Drive clicks, is not detected, or shows errors | Failing drive, cable or power | Back up now, then check the drive health from recovery | High: stop repeated attempts |
Decision tree: which step comes next
Use this tree after you have written down the message. Start at the top and follow the answer that matches your PC.
- Can you read the exact message and status code?
- No: take a photo of the screen with a phone so the text is kept, then return here.
- Yes: continue.
- Does the drive still show your files in recovery?
- No or unsure: stop any step that writes to the drive. Check the drive health first, then decide.
- Yes: back up important data before any repair.
- Does Startup Repair get Windows started again?
- Yes: check that your apps and files open, then back up again.
- No: continue to System Restore if a restore point exists.
- Is there a restore point from before the problem began?
- Yes: restore it, then test the start.
- No: move to offline DISM and SFC.
- Do the drive checks pass?
- Yes: try Reset this PC with files kept, or a repair install.
- No: treat the drive as the main cause and plan a replacement.
Recovery route at a glance
This route lists the same steps in order. Each step names the section that explains it.
- Write down the exact text, file name and status code.
- Protect your data: back up from recovery or another PC, and keep the BitLocker recovery key ready.
- Try Startup Repair from the recovery screen.
- Restore from a restore point made before the problem, if one exists.
- Repair offline with DISM and then SFC, using the correct drive letter.
- Check the drive and run chkdsk, with a warning about failing disks.
- Reset or repair install with files kept, only after the steps above.
- Check hardware last: cables, memory and the drive.
Result card
You should see: Windows start normally after one of these steps, or a clearer message that points to the next step. If this does not help: keep your backup, stop repeated attempts and move to the reset or hardware sections only when the drive checks pass.
Reach the recovery environment
Microsoft's Windows Recovery Environment reference says WinRE starts automatically after two consecutive failed attempts to start Windows. You can also open the Advanced startup menu from the sign-in screen by holding Shift while you select Restart, or boot from recovery media. Menu names can differ between builds, so match the words on your screen.
ShiftRestartTroubleshootAdvanced options
If the recovery environment is missing or disabled, our guide to Windows RE being disabled explains how to check its status. Safe Mode is a separate starting option. Our guide to booting into Safe Mode explains how to reach it, if your PC allows it.
Safe recovery order
The steps below follow the route above. Read each one fully before you start it. Several steps change files, so the backup step comes before them.
Before you change anything
Back up important data first if the drive still reads. Keep the BitLocker recovery key ready, because some recovery steps can ask for it. Do not run repeated repairs on a drive that clicks, is not detected or shows errors, because each write attempt adds risk.
Write down the exact message
Copy the full text of the message, the file name and the status code. Note what changed last: a Windows update, a new driver, a new drive, a power cut or an app install. This note helps you choose the right step and gives you something to compare if the problem comes back.
You should see: a short list in your notes with the message, the code and the last change. If this does not help: take a photo of the screen and keep it with your notes.
Unplug extra devices
Remove USB drives, memory cards, external drives and docking stations. Keep the keyboard, mouse and power connected, then start again. A connected device that holds a boot file or a driver can change what the message shows, so this is a cheap first test.
If this does not help: continue with the backup step. Leave the extra devices unplugged until the repair is finished.
Protect your data first
If the drive still reads, back up from the recovery environment or from another PC. Our guide to back up files and a system image covers the backup options. Take the drive to another PC only if you know how to do that safely. Otherwise a repair service is a safer option.
If the drive is encrypted with BitLocker, have the recovery key ready before any step that restarts the PC. Our guide to the BitLocker recovery key shows where to find it.
Startup Repair from the recovery screen
Startup Repair is the automatic tool that Windows offers after a startup problem. Microsoft's startup article says that when the computer detects a startup issue, it starts the Startup Repair tool. For the step-by-step version, see how to use Startup Repair when your PC will not boot. Menu names can differ between builds.
TroubleshootAdvanced optionsStartup Repair
On Windows 10, the same route is reached through Settings, then Update & Security, then Recovery, then Advanced startup. Menu names can differ between builds, so match the words you see on screen rather than the exact path.
You should see: a Startup Repair screen that tries to fix the start and then either restarts or reports that it could not repair the PC.
If this does not help: note any report or log text, then move to System Restore. If the repair loops, our guide to the Windows automatic repair loop covers that pattern.
System Restore from recovery
System Restore needs an existing restore point. If you have none, skip this section. A restore point made before the problem started can bring back earlier system files and settings. Microsoft's startup article points to a restore point as the recommended recovery for a corrupt registry hive.
TroubleshootAdvanced optionsSystem Restore
Before you restore, write down the apps and drivers you installed after the restore point date. System Restore can remove recently installed programs and drivers, so you may need to install them again. Our System Restore guide explains the normal Windows steps.
For what System Restore does and does not change in the registry, read does System Restore restore the registry. It is worth reading before you choose a restore point. Older guides mention Last Known Good Configuration as well, and our Last Known Good guide explains what that option is today.
You should see: a list of restore points, then a restart and a message that the restore finished. If this does not help: keep the restore point, go to the offline repair steps and test again later.
Offline DISM and SFC with the right drive letter
Offline repair runs the tools against the Windows drive from the recovery environment, not against the running system. Use the Command Prompt from the recovery screen. Commands that write to the drive can change system files, so run one command at a time and read each result before you go on.
Before you change anything
Confirm you have a backup, or that you accept the risk. If a command reports an error about the drive, stop, and go to the drive health section before trying again.
Find the Windows drive
In the recovery Command Prompt, the Windows drive may not be C. List the root of a drive letter with the dir command. Start with C:
dir C:\
Look for a Windows folder that contains System32. If you do not see it, try the next letter:
dir D:\
Write down the letter that shows the Windows folder. In the commands below, D is an example only. Replace it with the letter you found, so the Windows folder is at that letter followed by \Windows.
You should see: a folder listing that includes Windows and Users. If this does not help: try each letter in turn. If no letter shows a Windows folder, the system files may not be on that drive, so go to the drive health section.
Offline DISM repair
Microsoft's image repair article describes DISM with the /Image argument pointing to the offline drive, together with /Cleanup-Image and /RestoreHealth. A repair source can be needed. The article explains that if you do not specify a /Source, the default location for Features on Demand is used. Use the command below with your letter.
DISM /Image:D:\ /Cleanup-Image /RestoreHealth
This command can take a long time. Leave the window open until it finishes. Do not restart during the run unless the window stops responding for a very long time.
You should see: a progress display, then a message that the operation completed, or an error code. If this does not help: write down the error code. Our guide to DISM error 0x800f081f and source files covers that error family.
Offline SFC check
Microsoft's sfc page documents offline use with the offbootdir and offwindir options. Use the same drive letter as before. SFC scans protected system files and replaces incorrect versions where it can.
sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows
We suggest DISM first and SFC second. Microsoft's pages describe each tool separately, and the sfc page shows the offline options next to the scan option without a full example of this exact combination. Treat this order as our practical suggestion rather than an official sequence, and check the syntax on the sfc page for your build.
You should see: a result that says no integrity violations were found, or that repaired files were found. If this does not help: if SFC says it found corrupt files but could not fix them, read our guide to SFC found corrupt files it could not fix, and our SFC and DISM repair guide covers the wider sequence.
Drive health check and chkdsk
A failing drive can cause a system hive to become unreadable. Check the drive before any further write attempts. chkdsk looks for file system errors. Microsoft's chkdsk page says that the /f switch fixes errors on the disk, and that the disk must be locked. If chkdsk cannot lock the drive, it can offer to check the drive at the next restart.
Before you change anything
If the drive clicks, freezes, is not detected or reports bad sectors, stop repair attempts that write to it, and back up what you can first. The /r switch also looks for bad sectors. Microsoft's page says it includes /f and takes much longer, especially on large disks, so use it only when you have a backup and time to wait.
chkdsk D: /f
Replace D with the Windows drive letter you found. Read the summary at the end, which shows whether errors were found and fixed.
You should see: a summary with no errors found, or with errors found and fixed. If errors are found again on the next check, the drive may be failing. Our guide to checking your hard drive or SSD health covers the next checks.
If this does not help: keep the drive powered, back up what you can and move to the hardware section before any reset.
Reset this PC or repair install with files kept
Reset this PC and a repair install are bigger steps than the ones above. Use them only after your backup is complete and the drive checks pass. Both options aim to keep personal files, but menu names can differ between builds, and a reset can remove installed apps and settings. Our guide to resetting Windows 11 and keeping your files covers the options in detail.
SettingsSystemRecoveryReset this PC
On Windows 10, the same option is under Settings, then Update & Security, then Recovery. Choose the option that keeps your files, not the one that removes everything.
A repair install uses Windows installation media. Microsoft's startup article says to start from the installation media, press Shift + F10 for a command prompt if needed, and on the Install Windows screen select Next, then Repair your computer. The media version should match the Windows version installed on the PC.
Install WindowsNextRepair your computer
You should see: a reset or repair that keeps your files and reinstalls Windows, followed by setup screens. If this does not help: keep your backup, stop, and read our guide to repairing Windows 11 without losing files for the other methods.
Hardware checks last
Hardware can look like a damaged hive. A failing drive, a loose data cable, weak power or faulty memory can all stop Windows from loading a file. These checks come last because some of them involve opening the PC, and each one can add risk to your data.
Start with the drive. Use the health check above, and listen for clicks or grinding if the drive is a spinning hard disk. For a desktop PC, power off the machine, unplug it, and reseat the data and power cables on the drive. Work on a stable surface and avoid touching the circuit board with bare hands. If you are not comfortable doing this, a repair service is the safer choice.
Memory problems can also show up as boot errors. If you can run a memory test from the recovery tools on your build, do so, and note any failure. If the test fails, replace the memory before you repeat any file repair. For the wider set of stop-code causes, our blue screen hub lists the common checks.
You should see: no hardware fault found after the checks, or a clear fault that points to a part to replace. If this does not help: stop repairing files on a failing drive and back up first.
Advanced option: RegBack, look first only
Before you change anything
Consider this section only when the simpler steps have failed and you have a verified backup of the whole drive. Changing hive files can stop Windows from starting. Our guide to backing up the registry before any change covers the backup methods.
Microsoft's startup article says that starting in Windows 10, version 1803, Windows no longer automatically backs up the system registry to the RegBack folder. The RegBack folder may therefore be empty or out of date. You can look at the folder without changing anything. Replace C with your Windows drive letter.
dir C:\Windows\System32\config\RegBack
Microsoft's article also describes copying hive files from RegBack as a restore option. This guide does not give copy commands for that step. The article does not show the checks needed for your PC, and a wrong copy can make the problem worse. If you consider it, read the Microsoft article in full, check the file dates first, and keep a copy of the current files before you change anything.
Do not edit registry keys or values by hand as a fix, and do not use a registry cleaner for this message. Our guide to corrupted registry repair is the related registry article to read before any registry work. For the basics of hives and keys, read Windows registry hives, keys and values first.
How this guide was checked
The steps were compared with Microsoft documentation where it exists. That includes the Windows startup troubleshooting article, the Windows Recovery Environment reference, the sfc, chkdsk and REAgentC command pages, and the DISM image repair article. The steps were not run on a real PC. No testing, lab work, people or credentials are claimed. Searches for the status code pages failed during this check, so the meaning of 0xc000000f and 0xc0000218 is not confirmed here.
Frequently asked questions
About the message and your data
Will I lose my files if I see this message?
Not necessarily. A damaged hive file does not by itself delete personal files, but the drive can be failing. Back up what you can first, and stop if the drive shows errors.
Is 0xc0000218 the same as 0xc000000f?
They are different codes in the messages we describe. We could not confirm their official meanings on a Microsoft page during this check, so use the exact text on your screen. Our blue screen hub can help with other stop codes, so start there if the screen differs.
Can I delete the registry file to fix this?
No. Microsoft does not document deleting or editing hive files as a fix, and doing so can stop Windows from starting. Use the steps in this guide instead, starting with the backup.
Does a registry cleaner help with this message?
No Microsoft page we opened documents a speed or repair benefit from registry cleaning, so this guide does not suggest one. For the basics of how the registry is built, read the registry hives section of this guide first, which points to the registry explainer.
About the repair steps
Should I run DISM or SFC first?
Our suggested order is DISM, then SFC, but Microsoft documents each tool separately. Run each one, read the result, and keep any error code that appears.
Why not reset this PC right away?
Reset this PC is a bigger step than the repairs above. Try the smaller repairs first, and use the option that keeps files only after a backup. Our reset guide covers the choices in detail, and it is listed in the reset section of this guide.
What if chkdsk finds errors?
Read the summary. If it reports that errors were fixed, restart and check again. If the drive keeps failing or shows bad sectors, back up and plan a replacement. The drive health section of this guide lists the next checks.
When should I contact a repair service?
If the drive clicks, is not detected, or you cannot back up your files, a professional repair service can be safer than more attempts. Keep the drive powered off and avoid repeated writes while you wait.