You’ve seen the advice a hundred times. Computer acting up? “Just run sfc /scannow.” So you do, and Windows tells you: “Windows Resource Protection found corrupt files but was unable to fix some of them.”

Great. Thanks. Very helpful.

Here’s what’s actually going on. SFC isn’t useless. It’s just trying to repair your files from a source that may be damaged too. Fix that source first, and SFC suddenly starts doing its job. Here’s the order that works.

Run DISM first. Then SFC.

Fix the fixer, then let it fix Windows.

Prefer to watch instead of read? Here’s the full video — or skip it and keep reading below.

Why SFC Fails

SFC, the System File Checker, scans Windows’ protected system files and replaces any that are damaged or missing. But it doesn’t download fresh copies. It pulls the good copies from a store already on your PC, called the component store. That’s the big WinSxS folder you’re not supposed to delete.

If the component store itself is damaged, SFC is repairing your files with broken parts. That’s when you get “unable to fix some of them.”

The tool that repairs the component store is DISM (Deployment Image Servicing and Management). Terrible name. Very useful tool.

One honest note: these tools fix damaged Windows system files. They won’t fix a dying drive, bad Wi-Fi or a printer with a grudge. If you’re not sure what’s wrong yet, start with the troubleshooting order I actually follow.

Before You Start: Back Up

This is safe, but it’s system-level work, so copy anything important somewhere else first. A restore point is a nice extra: click Start, type Create a restore point, open it, click Create and name it something like “Before DISM.” (If the Create button is greyed out, System Protection is off for that drive. That’s fine; your backup is what matters.)

Step 1: Open an Administrator Command Prompt

Click Start, type cmd, right-click Command Prompt and choose Run as administrator. Click Yes. The window title should say Administrator.

Step 2: Check and Repair the Component Store With DISM

Type these one at a time and press Enter after each:

  1. DISM /Online /Cleanup-Image /CheckHealth
    A quick check. It reports whether damage has already been flagged. It doesn’t fix anything.
  2. DISM /Online /Cleanup-Image /ScanHealth
    A deeper scan. Takes longer. If it says No component store corruption detected, skip ahead to Step 3.
  3. DISM /Online /Cleanup-Image /RestoreHealth
    The actual repair. It downloads good copies of damaged components from Windows Update and fixes the store.

RestoreHealth can sit at one percentage for a long time. Let it finish. Walking away for coffee is part of the official process. (It isn’t. But it should be.)

Step 3: Now Run SFC

Type sfc /scannow and press Enter. This time SFC has a healthy store to work from. What you’re hoping to see:

Still seeing “unable to fix”? Restart, then run sfc /scannow once more. Some repairs only finish after a restart.

If DISM Can’t Repair It: Use a Windows ISO as the Source

Sometimes RestoreHealth fails because it can’t get clean files from Windows Update. Then you give it a clean copy of Windows yourself.

  1. Check your Windows version: press Win + R, type winver, press Enter. Note the version (for example, 25H2).
  2. Download the matching Windows 11 ISO from Microsoft’s official download page at microsoft.com. Only from Microsoft. The ISO version should match what you’re running.
  3. Double-click the ISO to mount it. It gets a drive letter, for example D:.
  4. Open that drive, then the sources folder, and see whether you have install.wim or install.esd.
  5. Find the right index (edition) number:
    DISM /Get-WimInfo /WimFile:D:\sources\install.wim
    (use install.esd if that’s what you have). Note the index number for your edition, like Windows 11 Home or Windows 11 Pro.
  6. Run the repair with that source. For install.wim:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:1 /LimitAccess
    For install.esd, change both wim parts to esd. Replace D: with your drive letter and 1 with your index number.
  7. Then run sfc /scannow again.

/LimitAccess tells DISM to use only your ISO and not try Windows Update.

If Even That Doesn’t Work

Then the damage goes deeper than these tools reach. On current Windows 11, the next step before any reset is Settings → System → Recovery → Fix problems using Windows Update. It reinstalls Windows over itself and keeps your files and apps. Back up first anyway.

And if things are bad enough that you’re thinking about resetting, read the 7 things to do before you reset first.

Check the Basics Before You Repair

My free Windows Survival Quick-Start Guide helps you check the important stuff before you repair, reset or troubleshoot Windows.

Get the Free Quick-Start Guide

Repair Windows in the Right Order

The Ultimate Windows Survival System includes the Windows Repair Playbook and a repair decision tree, so you know which tool fits which problem before you start typing commands.

Get the Ultimate Windows Survival System

The Short Version

  1. SFC repairs from the component store. If that’s damaged, SFC can’t finish the job.
  2. Back up first, then open an administrator Command Prompt.
  3. Run DISM CheckHealth, ScanHealth, then RestoreHealth.
  4. Then run sfc /scannow. Restart and run it again if needed.
  5. If DISM fails, point it at a matching Windows ISO with /Source and /LimitAccess.
  6. Still broken? Try “Fix problems using Windows Update” before you reset.

Stay grumpy.

Want the Full Fix?

Grab the free Windows Survival Quick-Start Guide, or browse the complete library of free checklists for backups, security, privacy, and more — no credit card needed.

Get the Free Windows Survival Quick-Start Guide Browse All Free Checklists

Leave a Reply

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