How to Fix Error 0x800703F1 in Windows 11 and 10: The Configuration Registry Database Is Corrupt


Last reviewed: November 25, 2026. Steps for error 0x800703F1 were compared with Microsoft documentation, none were run on a real PC, and the top picture is an illustration.
Error 0x800703F1 means Windows reports that the configuration registry database is corrupt. Microsoft lists error 1009, ERROR_BADDB, with that meaning, and the last four digits of this code, 03F1, are the hexadecimal form of 1009. This guide explains what the error means, where people usually meet it, and which checks to run in a safe order. For wider help with slow or failing PCs, see our PC repair guides, which cover more symptoms.
Quick answer
Quick answer
- Error 0x800703F1 matches Windows error 1009, ERROR_BADDB, which means the configuration registry database is corrupt.
- Restart first, then free some disk space, then run DISM before SFC.
- Run a chkdsk scan only after a backup, because a failing drive can cause this kind of damage.
- Use System Restore if the error started after a recent change, and check what it removes first.
- Do not edit registry keys by hand. If Windows will not start, use the recovery tools, and reset with keep files only as a last resort.
In this guide
- What the error means
- Where people usually meet it
- Before you start
- Error codes we could confirm
- Decision path
- Fix order from safest to strongest
- If Windows will not start
- Last resort: repair or reset
- How this differs from registry guides
- When to get help
- Frequently asked questions
- How this guide was checked
- Sources
What the error means
The registry is the database where Windows keeps many of its settings. Windows and many installed programs read from it. When the database cannot be read in a valid form, Windows can report that it is corrupt. Microsoft's system error list describes error 1009, ERROR_BADDB, with the text "The configuration registry database is corrupt." The log files that sit beside each registry hive, such as .LOG1 and .LOG2, are explained in our guide to registry transaction logs.
The longer 0x800703F1 form is how the same failure can appear in some Windows messages. We did not find a Microsoft page that names 0x800703F1 directly during this check, so we describe it as the same error in a wrapped form. Menu names and message wording can differ between Windows builds, so use the words in your own message as the final guide.
A corrupt database does not always mean a dead PC. Some people see the code once, during an update or an install. Others see it again and again. The steps below start with the lightest checks, so you change as little as possible before you know more.
Where people usually meet it
The places below are commonly reported by users. We did not confirm each one on a Microsoft page, so use the table as a guide to where to look rather than a fixed list.
| Where you see it | What it often points to | What to check first |
|---|---|---|
| Windows Update | An update tried to read or change system settings and could not finish | Restart, free disk space, then run the update troubleshooter |
| Windows Backup | The backup tool could not read a settings or system component | Restart, check free space on the backup and source drives |
| An app installer | The setup program tried to write settings during install | Restart, then run the installer again from the original file |
| Microsoft Store | An app download or install step could not complete | Restart, check free space, then try the app again later |
Update downloads and busy update workers are covered in their own guides. If a background update process uses a lot of processor or disk time, read the TiWorker high CPU and disk use guide before you change anything else. If update files arrive slowly or use too much bandwidth, the Delivery Optimization bandwidth guide explains the settings to check.
Before you start
Before you change anything
Back up your personal files before you run a disk check, a system repair command or System Restore. If your drive uses BitLocker, keep the BitLocker recovery key somewhere you can reach it without the PC. Create a restore point if you can. Every step in this guide that changes something has its own warning, so read each one before you run it.
Write down the exact error text and the time it appeared. If the error began after an update, an install or a driver change, that detail often decides which fix comes first. If you have no recent backup, make one before any repair step. The how to back up Windows PC files steps explain the basic options.
Registry edits to avoid
Good to know
Do not delete, rename or edit registry keys or values by hand to fix this error. A wrong change can stop Windows from starting. Microsoft does not describe a manual registry edit as a fix for ERROR_BADDB. For the same reason, we do not recommend a registry cleaner: no Microsoft page we checked describes one as a fix for this error.
Error codes we could confirm
We list only the codes and messages that we could match to a Microsoft page during this check. Other codes that appear with this error may need their own guides. Related registry error codes include Error 1018 registry key marked for deletion and Error 1019 registry log space.
| Code | Name | Plain meaning |
|---|---|---|
| 0x800703F1 | Wrapped form of error 1009 | The same failure shown as a longer code in some Windows messages |
| 1009 (0x3F1) | ERROR_BADDB | Windows cannot use the configuration registry database because it is corrupt |
| SFC scan message | Windows Resource Protection found corrupt files but was unable to fix some of them | The file check found damaged system files it could not replace on its own |
When a blue screen shows a registry-related stop code instead of a message box, the stop code is a different problem to read. The registry error blue screen stop codes guide covers those codes separately, so use it for the screen text rather than this page.
Decision path
Use this path to choose your first step. It is a guide, not a fixed sequence, and you can stop as soon as Windows works again.
- Did the error start after a recent change?
- Yes: Restart, then look at System Restore if a restore point exists from before the change.
- No: Start with free disk space and the update troubleshooter.
- Can you still sign in to Windows?
- Yes: Run DISM, then SFC, from an elevated Command Prompt.
- No: Go to the section on starting Windows.
- Does the drive show errors, clicking or warnings?
- Yes: Back up first, check drive health, and stop repeated repair attempts.
- No: Continue with the scan steps in order.
Fix order from safest to strongest
The order below puts look-only and low-risk steps first. Move down the list only if the step above did not help.
- Restart. Clear any one-time read failure.
- Free disk space. Make room for updates, backups and repair files.
- Run the update troubleshooter. Try the built-in check for update problems.
- Run DISM, then SFC. Repair the Windows image and then the system files.
- Scan the drive online. Use chkdsk with the scan switch after a backup.
- Use System Restore. Return system settings to an earlier restore point.
- Repair or reset as a last resort. Keep your files where the option allows it.
Step 1: Restart
Restart the PC once, then try the same action again. A single read failure can clear after a restart. If the error returns in the same way, move on to the next step. Do not run repeated retries in a loop, because each attempt can leave more logs and partial changes behind.
You should see: the action either finishes or shows the same error. If this does not help: continue to free disk space.
Step 2: Free disk space
Low free space can make updates, backups and installers fail in several ways. Remove files you no longer need, empty the Recycle Bin, and check how much space the system drive has left. Do not delete anything from the Windows folder or from program folders to make room, because that can break the system further.
SettingsSystemStorage
The Storage page usually shows how much space each category uses. Menu names can differ between builds, and Windows 10 menus can differ from Windows 11, so search Settings for "Storage" if the path does not match your screen.
You should see: more free space on the system drive. If this does not help: move to the update troubleshooter.
Step 3: Run the update troubleshooter
Windows includes a troubleshooter for update problems. On many Windows 11 builds it is listed under Settings, then System, then Troubleshoot, then Other troubleshooters. We did not confirm this exact path on a Microsoft page during this check, so menu names can differ. If the names do not match, search Settings for "troubleshoot" and run the update troubleshooter from the results.
SettingsSystemTroubleshootOther troubleshooters
If updates stay stuck or keep failing after the troubleshooter, the Windows Update guide for stuck updates covers the update side in more depth. Keep this guide for the registry error itself.
You should see: the troubleshooter reports a fix or no problem found. If this does not help: run the system file checks below.
Step 4: Run DISM, then SFC
Before you change anything
DISM and SFC replace system files that they judge to be damaged. Back up your personal files first, and create a restore point if you can. Do not close the Command Prompt window while a command is still running.
Microsoft's file check guide says to run DISM before SFC, because DISM provides the files that SFC needs for repairs. Open an elevated Command Prompt: type cmd in the Search box, right-click Command Prompt, and choose Run as administrator. Then run the DISM command first.
DISM.exe /Online /Cleanup-image /Restorehealth
DISM can take several minutes and uses Windows Update as its normal source for replacement files. Microsoft also describes a different repair source for cases where Windows Update is not usable, but that needs a matching copy of Windows, so we do not cover it here. If DISM reports that source files are missing, the DISM error 0x800f081f and source files guide explains that case.
When DISM finishes, run the file check in the same window.
sfc /scannow
You should see: a result such as "Windows Resource Protection did not find any integrity violations" or "found corrupt files and successfully repaired them". If this does not help: if the result says it found corrupt files but could not fix some of them, use the detail steps below.
To read the details of the file check, Microsoft's guide gives a command that copies the relevant lines from the log to a file on your desktop. The log is in the Windows logs folder, at C:\Windows\Logs\CBS\CBS.log, and the command below only reads it.
findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
Open the new sfcdetails.txt file and look at the most recent entries. Entries about files that could not be repaired name the file. For that case, the what to do when SFC cannot fix files guide explains the next choices, and the SFC and DISM repair steps give more context for the two tools together.
Step 5: Scan the drive online
Before you change anything
A disk scan can change file system records. Back up your personal files first. If the drive is failing, a repair attempt can make things worse, so stop here if you hear clicking, see slow reads, or get warnings about the drive. Check drive health first, and use the backup steps in the Before you start section if you have not backed up recently.
The chkdsk tool checks the file system on a volume. Microsoft's chkdsk reference says the /scan switch runs an online scan on NTFS volumes, which means the scan runs while the volume stays in use. Some problems can be fixed online, and problems that cannot be fixed while the volume is in use are queued for an offline repair. Run the command in an elevated Command Prompt, and replace C: with your Windows drive letter if it is different.
chkdsk C: /scan
You should see: a summary of the scan with a result for the volume. If the result says that problems were queued for offline repair, do not force a repair from this guide. Read the hard drive and SSD health guide first, and consider help if the drive shows warnings.
If this does not help: use System Restore, or go to the recovery tools section if Windows will not start.
Step 6: Use System Restore
Before you change anything
System Restore changes system settings and some installed programs and drivers. It is not a file backup. Microsoft's guide says personal files are not affected, but apps and drivers installed after the restore point can be removed, and registry settings can change to match the restore point. Keep a copy of your personal files before you start.
System Restore returns Windows to a saved restore point. The Microsoft page for System Restore says it restores registry settings and system files along with apps and drivers, and that personal files stay the same. For a closer look at the registry part, read what System Restore does to the registry. Use the how to use System Restore steps for the full process.
Control PanelRecoveryOpen System Restore
You can also press Win + R, type rstrui.exe, and press Enter. On Windows 10 the Control Panel path is the same in most builds, but menu names can differ, so use the run command if the path does not match.
You should see: the System Restore wizard with a list of restore points. Pick a point made before the error started, then follow the prompts. If this does not help: check the recovery section below.
If Windows will not start
If Windows does not reach the sign-in screen, use the recovery environment. On many PCs, Windows tries to open this environment on its own after failed startups. Menu names differ between builds, and some PCs have the recovery environment turned off, so check that first.
- If the PC repeats automatic repair attempts, read the fix the Windows automatic repair loop guide before you choose another option.
- If Startup Repair is the next step, the Startup Repair when Windows will not boot guide explains that tool.
- If the recovery options do not appear at all, the turn on Windows Recovery Environment guide covers that check.
- For an older startup choice, the Last Known Good configuration on Windows 11 guide explains when it might apply.
Work through the recovery options one at a time, and write down which one you tried. If a recovery tool asks for the BitLocker recovery key, enter it from your saved copy, not from memory on a locked screen.
Last resort: repair or reset
Repair and reset options are the strongest steps in this guide, so use them only after the earlier steps did not help and your personal files are backed up. A repair install reinstalls Windows files while keeping your files, and the repair Windows 11 without losing files guide explains the steps. Reset this PC can keep your files, and the reset Windows 11 and keep files guide covers that choice.
Choose the keep files option when it is offered. Remove everything is not needed to fix a registry database error, and it deletes personal data. Also note that reset and repair steps can remove some installed apps, so keep a list of apps you need to reinstall.
How this differs from registry guides
This guide covers one error code. General registry problems, with their causes and symptoms, have a different scope. The general corrupted registry repair guide covers the broader topic, and the common registry problems and their causes article explains the wider symptoms. Use those when the error is not the one you see here.
Some readers search for registry cleaners after this error. Registry cleaner tools are a separate topic, and no Microsoft page we checked describes them as a repair for ERROR_BADDB. The registry cleaner for Windows 11 questions article explains the choice, and the what registry cleaner found errors mean guide explains what those reports usually say. If you are comparing tools in general, the PC cleaner guide for Windows 10 and 11 sets out the wider options.
If you ever change a registry value on purpose, the how to back up the registry steps come first. The undo changes after a registry cleaner guide describes the restore side. For a plain explanation of what the registry contains, read registry hives keys and values explained before you go further.
When to get help
Some cases need a person with access to the PC and its drive. Get help if the error returns after DISM, SFC and a clean restore; if the drive shows warnings or clicking; if the PC is a work or school device with locked settings; or if your personal files are at risk and you have no backup. Your IT team can check policies that block repair tools, and a repair shop can check the drive.
If you want guided checks for your symptoms, you can use the Repair Assistant tool on this site to narrow the problem before you choose a step. It does not replace the backup and warning steps above.
Frequently asked questions
Causes and meaning
Is error 0x800703F1 the same as error 1009?
Microsoft lists error 1009, ERROR_BADDB, as the configuration registry database being corrupt. The last four digits of 0x800703F1 are the hexadecimal form of 1009, so the codes appear to describe the same failure in a wrapped form. We did not find a Microsoft page that names the longer code directly.
Can a registry cleaner fix this error?
No Microsoft page we checked describes a registry cleaner as a fix for ERROR_BADDB. We do not recommend one for this error, and the safer order is the one in this guide, starting with a restart.
Does this error mean my files are lost?
The code alone does not tell us that. Back up your personal files before any repair step, so you have a copy whatever the cause turns out to be.
Why does this appear during Windows Update?
Users commonly report it during updates, but the cause can vary. Start with the restart, free space and update troubleshooter steps. For stuck or failing updates, read the update guide named in the update step for more checks.
Fixes and safety
Should I run DISM or SFC first?
Run DISM first. Microsoft's file check guide says DISM provides the files that SFC uses for repairs. The commands for both tools are in the fix order section of this guide.
Is chkdsk safe to run?
A scan can change file system records, so back up first. If the drive shows warnings or clicking, stop and check its health before any repair. The backup options are in the Before you start section of this guide.
Will System Restore remove my personal files?
Microsoft's System Restore guide says personal files are not affected. Apps and drivers installed after the restore point can be removed, so write down what you installed recently. The Step 6 section of this guide explains how to start it.
Should I reset this PC for this error?
Reset is a last resort. Choose the option that keeps your files, and only after backing up. The last resort section of this guide explains the choices in order.
How this guide was checked
The steps were compared with Microsoft documentation where that documentation exists. They were not run on a real PC, and this check did not use testing labs, test people or any account credentials. Where we could not open or confirm a Microsoft page, such as the update troubleshooter path, the text says so and asks you to follow the names on your own screen.