How to fix or repair corrupted or damaged Registry in Windows 11

To fix a corrupted or damaged Registry in Windows 11, restore a System Restore point from before the problem started, which is the method Microsoft recommends for a corrupt registry hive.

If there is no restore point, this guide covers DISM and SFC, Startup Repair, importing a .reg backup, reinstalling Windows 11 through Windows Update, and resetting the PC as the last resort.

Fix corrupt or damaged Registry in Windows 11/10

System Restore puts system files, registry settings and installed programs back to the state they were in when the restore point was made. Your personal files are not affected.

  1. Press Windows + R, type rstrui.exe and press Enter. You can also open Control Panel > Recovery > Open System Restore.
  2. In the Restore system files and settings box, select Next.
  3. Select a restore point dated before the registry problem began. Select Show more restore points if the one you want is not listed.
  4. Optionally, select Scan for affected programs to see which apps will be removed or restored.
  5. Select Next, then select Finish.
  6. Wait while Windows applies the restore point and restarts automatically.

Apps and drivers installed after the restore point are removed. Reinstall any you still need.

How to fix or repair corrupted or damaged Registry in Windows 11
After you pick a restore point, System Restore lists the affected drive; select Finish to roll back registry settings and restart. (Image: Microsoft)

Best way to repair a corrupted registry in Windows 11

Find your situation in the left column. Start with the first row that matches, and move down the table only if that fix fails.

Your situation Use this Why
Windows starts and you have a restore point System Restore Rolls back registry settings without touching personal files
Windows starts but features fail or freeze DISM, then SFC Repairs the system files that registry entries point to
Windows does not start Startup Repair or System Restore from Windows RE Startup Repair checks for registry errors and corrupted boot data
You exported a key before editing it Import the .reg backup Restores only the key you changed
Windows starts but nothing else has worked Fix problems using Windows Update Reinstalls the current Windows version and keeps apps, files and settings
Every other fix has failed Reset this PC Reinstalls Windows, with the option to keep personal files

How to back up the registry in Windows 11 before repairing it

An export lets you undo a single change if a repair makes things worse. It takes less than a minute for one key.

  1. Select Start, type regedit.exe, and press Enter. Approve the User Account Control prompt.
  2. In Registry Editor, select the key or subkey you want to back up.
  3. Select File > Export.
  4. In the Export Registry File dialog box, choose a folder and type a name in the File name field.
  5. Select Save.

If Registry Editor will not start, use the other ways to open Registry Editor in Windows 11 before you skip this step.

How to repair corrupted system files in Windows 11 with DISM and SFC

Run DISM first, because it supplies the files that SFC uses for repairs. Open Command Prompt as administrator: type cmd in Search, right-click Command Prompt and select Run as administrator.

DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow

DISM repairs the Windows component store using Windows Update as its source, which can take several minutes. sfc /scannow then scans all protected system files and replaces corrupted ones with a cached copy. Do not close the window until verification reaches 100%.

You should see: Windows Resource Protection did not find any integrity violations, or Windows Resource Protection found corrupt files and successfully repaired them.

Each System File Checker result message points to a different next step. When Windows Update itself is broken, DISM RestoreHealth with a repair source can use installation media instead.

Repair corrupted system files in Windows 11 with sfc /scannow in Command Prompt
Keep the administrator Command Prompt open until verification reaches 100%, after DISM RestoreHealth has finished. (Image: Microsoft)

How to run Startup Repair to fix registry errors in Windows 11

Startup Repair runs from the Windows Recovery Environment and checks for registry errors, missing or damaged system files, corrupted boot configuration data and incompatible drivers. Use it when Windows will not start.

  1. If Windows starts, open Settings > System > Recovery, and next to Advanced startup select Restart now.
  2. If Windows does not start, turn the PC on, hold the power button to shut it down as soon as the Windows logo appears, and repeat once. On the third start, Windows opens Automatic Repair.
  3. Select Advanced options.
  4. Select Troubleshoot > Advanced options > Startup Repair > Restart.
  5. Enter your BitLocker recovery key if Windows asks for it.
  6. Wait while Startup Repair scans and repairs the PC. If it cannot fix the problem, it shows a report of what it found.
Run Startup Repair to fix registry errors from Windows RE Advanced options
Select Startup Repair to fix problems that keep Windows from loading; System Restore and Command Prompt sit on the same screen. (Image: Microsoft)

How to restore the registry from Windows Recovery Environment

When Windows cannot reach the desktop, apply a restore point from Windows RE instead. It rolls back the same registry settings as System Restore inside Windows.

  1. Open Windows RE with Advanced startup or the Automatic Repair screen, as in the Startup Repair steps.
  2. Select Troubleshoot > Advanced options > System Restore.
  3. Enter your BitLocker recovery key if prompted.
  4. Select a restore point from before the problem. Select Show more restore points if needed.
  5. Select Next, then Finish.
  6. When the restore point is applied, select Restart.
Restore the registry from Windows Recovery Environment via the Automatic Repair screen
When the PC did not start correctly, select Advanced options here, then Troubleshoot > Advanced options > System Restore. (Image: Microsoft)

How to restore a registry backup (.reg file) in Windows 11

Use this when a single key broke after an edit and you exported that key first. It restores only what is in the file.

  1. Select Start, type regedit.exe, and press Enter.
  2. Select File > Import.
  3. In the Import Registry File dialog box, go to the folder that holds your backup.
  4. Select the .reg file and select Open.
  5. Restart the PC so Windows and apps read the restored values.

You can also double-click the .reg file and confirm the prompt. The values in Registry Editor show how a Windows Registry key and value work if you want to check what the file changes.

How to fix corrupted Windows 11 with Fix problems using Windows Update

This option reinstalls the same version of Windows 11 already on the PC, repairs system files and components, and keeps your apps, files and settings. Keep the PC on power and connected to the internet throughout.

  1. Select Start > Settings > System > Recovery.
  2. Under Fix problems using Windows Update, select Reinstall now.
  3. Choose whether the PC may restart automatically 15 minutes after the installation finishes.
  4. Select OK to start. Windows Update downloads and installs a repair version of the last update that installed successfully.
  5. Restart the PC when the reinstall finishes, if it did not restart on its own.

The option is missing on PCs managed by work or school, and on Windows 11 builds older than the 2022 update with the February 2024 optional update.

Fix corrupted Windows 11 with Fix problems using Windows Update repair dialog
Tick the box to let the PC restart automatically 15 minutes after installation, then select OK to start the repair. (Image: Microsoft)

How to reset Windows 11 when the registry cannot be repaired

Resetting reinstalls Windows and rebuilds the registry from scratch. Back up your files first and have your BitLocker recovery key ready.

  1. Select Start > Settings > System > Recovery.
  2. Under Recovery options, select Reset PC.
  3. Select Keep my files to reinstall Windows and keep personal files, or Remove everything for a full clean install.
  4. Select Cloud download to get a fresh copy of Windows, or Local reinstall to use the files on the PC.
  5. Follow the on-screen instructions. Do not restart the PC yourself if the screen stays black for a long time.

If Windows will not start, open Windows RE and select Troubleshoot > Reset this PC instead. Both reset options remove your installed apps.

Reset Windows 11 from Settings > System > Recovery with the Reset PC button
Under Recovery options, select Reset PC to reinstall Windows when the registry cannot be repaired any other way. (Image: Microsoft)

Why the Windows 11 RegBack folder is empty

Older guides tell you to copy hives from the RegBack folder over the damaged ones. That no longer works by default.

Fact Detail
What changed Starting with Windows 10 version 1803, Windows no longer backs up the system registry to the RegBack folder automatically
What you see C:\Windows\System32\config\RegBack still lists each hive, but every file is 0 KB
Why The change is by design, to reduce the disk space Windows uses
What Microsoft recommends instead Use a System Restore point to recover a corrupt registry hive
How to turn the old backup back on Set the REG_DWORD EnablePeriodicBackup to 1 under HKLM\System\CurrentControlSet\Control\Session Manager\Configuration Manager, then restart
What happens next Windows backs up the registry to RegBack at restart and creates a RegIdleBackup task under Microsoft\Windows\Registry in Task Scheduler

Turn on the periodic backup now if you want RegBack copies available the next time something breaks. It does not help with corruption that already happened.

Windows 11 RegBack folder empty: RegIdleBackup task in Task Scheduler
Windows creates this RegIdleBackup task under Microsoft\Windows\Registry once EnablePeriodicBackup is set to 1 and the PC restarts. (Image: Microsoft)

Free registry cleaner, junk file cleaner and optimizers for Windows 11

A registry cleaner deletes entries it guesses are unused. It cannot rebuild a damaged hive, and Microsoft warns that incorrect registry changes can cause serious problems that might require reinstalling Windows.

Built-in tool What it cleans Where to find it
Storage Sense Temporary files and Recycle Bin items, automatically Settings > System > Storage
Cleanup recommendations Temporary files, large or unused files, files synced to the cloud, unused apps Settings > System > Storage > Cleanup recommendations
DISM and SFC Corrupted Windows system files and components Command Prompt as administrator
System Restore Registry settings, system files and programs changed since a restore point rstrui.exe

For junk files, the built-in tools above are enough. For a damaged registry, use the repair methods in this guide rather than a cleaner.

How to tell if the Windows 11 registry is still corrupted

  1. Restart the PC and check that Windows reaches the desktop without Automatic Repair starting.
  2. Open the apps or features that failed before and confirm they now work.
  3. Open Command Prompt as administrator and run sfc /scannow again.
  4. Look for Windows Resource Protection did not find any integrity violations, which means no protected system files are damaged.
  5. If SFC still reports problems, run findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt" and open sfcdetails.txt on the desktop to see which files failed.

Unable to boot due to system hive missing or corrupted

Windows will not start because the system hive is missing or corrupted

Windows cannot load the system registry hive into memory during startup.

  1. Open Windows RE from Automatic Repair or from Windows installation media with Repair my PC.
  2. Run Startup Repair from Troubleshoot > Advanced options.
  3. If that fails, apply a restore point from Troubleshoot > Advanced options > System Restore.
  4. If there is no restore point, select Troubleshoot > Reset this PC.

Windows Resource Protection could not perform the requested operation

SFC cannot run in a normal Windows session.

  1. Start Windows in safe mode from Startup Settings in Windows RE.
  2. Run sfc /scannow again from an administrator Command Prompt.
  3. Make sure the PendingDeletes and PendingRenames folders exist under %WinDir%\WinSxS\Temp.

Windows Resource Protection found corrupt files but was unable to fix some of them

The cached copies SFC needs are damaged too.

  1. Run DISM.exe /Online /Cleanup-image /Restorehealth first, then run sfc /scannow again.
  2. Create sfcdetails.txt from CBS.log to find the files that were not repaired.
  3. Use Fix problems using Windows Update if the files still fail.

System Restore shows no restore points

System Protection was off, or the restore points were deleted.

  1. Select Show more restore points in System Restore.
  2. If the list is still empty, use DISM and SFC, then Fix problems using Windows Update.
  3. After the PC is fixed, turn on System Protection so future restore points exist.

Fix problems using Windows Update is not displayed

The PC is managed by work or school, or the Windows 11 build is too old.

  1. Install the latest updates from Settings > Windows Update and check again.
  2. Ask your IT department if the PC is managed.
  3. Use Reset this PC with Keep my files if the option still does not appear.

Recovery tools ask for a BitLocker recovery key

The drive is encrypted, and Windows RE needs the key to unlock it.

  1. On another device, open Microsoft's Find your BitLocker recovery key help page and follow it to locate the key for this PC.
  2. Type the key into the recovery screen.
  3. Continue with Startup Repair, System Restore or Reset this PC.
Unable to boot, system hive missing: Repair my PC in Windows 11 Setup
Booting from Windows installation media, choose Repair my PC instead of Install Windows 11 to reach Windows RE. (Image: Microsoft)

Corrupted registry in Windows 11 FAQ

How do I clean a broken registry in Windows?

Restore a System Restore point from before the problem, which rolls back registry settings without touching personal files. A registry cleaner cannot rebuild a damaged hive. If no restore point exists, run DISM and SFC, then reinstall Windows with Fix problems using Windows Update.

How do I repair corrupted Windows files?

Open Command Prompt as administrator and run DISM.exe /Online /Cleanup-image /Restorehealth, then sfc /scannow. DISM repairs the component store and SFC replaces corrupted protected system files with cached copies. Do not close the window until the scan reaches 100%.

How do I fix corrupted Windows 11 without losing files?

Use Settings > System > Recovery > Fix problems using Windows Update and select Reinstall now. It reinstalls the current version of Windows 11 and keeps your apps, files and settings. Reset this PC with Keep my files also keeps files but removes apps.

How do I fix a corrupted PC that will not start?

Let Windows fail to start twice so Automatic Repair opens, then select Advanced options > Troubleshoot > Advanced options > Startup Repair. If that fails, apply a restore point with System Restore from the same menu, or select Reset this PC.

How do I find and repair corrupted files?

Run sfc /scannow in an administrator Command Prompt to find and repair corrupted Windows system files. To see which files it found, run findstr /c:"[SR]" on CBS.log to create sfcdetails.txt on your desktop. Personal documents need their own app or a backup copy instead.

Can you fix a corrupt file?

Windows system files usually can be fixed, because SFC and DISM replace them with good copies. A damaged personal document cannot be rebuilt by these tools. Restore it from a backup or an earlier saved copy instead.

How do I fix system corruption caused by a bad driver?

Apply a restore point from before the driver was installed, or run Startup Repair, which checks for incompatible drivers. If the PC starts, roll back the driver in Device Manager from the device's Properties > Driver tab.

Does Windows 11 back up the registry automatically?

Not to the RegBack folder. Since Windows 10 version 1803, the RegBack files are 0 KB by design. Registry settings are captured in System Restore points instead, and you can turn RegBack copies back on with the EnablePeriodicBackup value.

Will System Restore delete my files?

No. System Restore reverts system files, registry settings and installed programs to the restore point, and leaves personal files alone. Apps and drivers installed after that restore point are removed and need reinstalling.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *