How to Fix a Broken Registry in Windows 10

To fix a broken registry in Windows 10, start with Windows’ built-in repair tools. Open Command Prompt as an administrator and run DISM /Online /Cleanup-Image /RestoreHealth, then sfc /scannow, and restart. If problems started recently, use System Restore to roll back to a restore point from before they began. If Windows won’t start, use Startup Repair, and as a last resort, Reset this PC with the Keep my files option.

Avoid “registry cleaner” programs. Microsoft doesn’t support them, and they can cause more problems than they fix. Here’s each repair step in order, from easiest to most thorough.

Signs of registry problems

  • Error messages about missing or corrupt system files
  • Apps that won’t open or settings that won’t save
  • Slow startup, blue screens, or Windows failing to boot
  • Problems that began after a crash, a failed update, or manual registry edits

Many of these symptoms have other causes too, so these steps repair Windows system files and settings in general.

Step 1: Run DISM and SFC

  1. Click Start, type cmd, right-click Command Prompt, and choose Run as administrator.
  2. Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. Wait for it to reach 100%. It can take 10 to 30 minutes.
  3. Type sfc /scannow and press Enter.
  4. When it finishes, restart your PC.
Administrator Command Prompt running DISM RestoreHealth and sfc /scannow commands
Run (1) DISM first to repair the Windows image, then (2) sfc /scannow to fix system files. (Illustration)

Step 2: Use System Restore

System Restore puts system files and the registry back to an earlier state without touching your personal files.

  1. Press Windows key + R, type rstrui, and press Enter.
  2. Click Next and choose a restore point from before the problem started. Click Scan for affected programs to see what will change.
  3. Click Next, then Finish.

If there are no restore points, System Protection was turned off. Turn it on for the future in Control Panel > System > System protection.

Step 3: Run Startup Repair if Windows won’t start

  1. Turn the PC on and off three times during startup to open the recovery screen, or boot from a Windows 10 installation USB and choose Repair your computer.
  2. Choose Troubleshoot > Advanced options > Startup Repair.
  3. Follow the prompts.

From the same Advanced options menu, you can also run System Restore.

Step 4: Restore a registry backup (if you made one)

If you exported the registry or a key before editing it, double-click the .reg file, or open Registry Editor (regedit) and choose File > Import. Only import backups you made yourself.

Step 5: Reset Windows while keeping your files

  1. Go to Settings > Update & Security > Recovery.
  2. Under Reset this PC, click Get started.
  3. Choose Keep my files, then follow the prompts.

This reinstalls Windows and rebuilds the registry. You’ll need to reinstall your apps afterward. Back up your files first, just in case.

Why you should skip registry cleaners

Registry cleaners claim to speed up your PC by deleting “unused” entries. The real benefit is tiny, and deleting the wrong entry can break apps or Windows itself. Microsoft doesn’t support using them. The built-in tools above are safer.

How to protect your registry in the future

  • Back up before editing: In Registry Editor, click File > Export before making changes.
  • Create a restore point: Search for Create a restore point and click Create.
  • Keep Windows updated and shut down properly instead of holding the power button.

Related: Fix the Invalid Value for Registry error in Windows 10.

Frequently asked questions

Can a broken registry be fixed without reinstalling Windows?

Usually, yes. DISM, SFC, System Restore, and Startup Repair fix most problems without a reinstall.

Does sfc /scannow fix the registry?

Not directly. It repairs protected system files, which often fixes the same symptoms. System Restore restores the registry itself.

Will Reset this PC delete my files?

Not with Keep my files. It removes installed apps and settings but keeps your personal files.

Does this work on Windows 11?

Yes. The commands are the same. In Windows 11, Recovery is in Settings > System > Recovery.