How to Fix ‘Windows Resource Protection Found Corrupt Files But Was Unable to Fix Some of Them’

Running the System File Checker utility (sfc /scannow) in Windows 11 is the standard administrative remedy for resolving operating system instability, blue screens, and application crashes. However, seeing the command conclude with the bleak declaration: “Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log” leaves administrators in a difficult bind.

This failure occurs because the System File Checker does not generate replacement files out of thin air; it pulls pristine copies of damaged binaries from the local Windows Component Store (C:\Windows\WinSxS\). If the Component Store itself is corrupted or damaged, SFC lacks the healthy reference files required to carry out repairs. Follow this structured procedure to repair the source store and restore system file health.

Repair the Windows Component Store Using DISM

The Deployment Image Servicing and Management (DISM) tool is designed specifically to verify and repair the Windows Component Store against official Microsoft Windows Update servers.

  1. Search for cmd in the Start menu, right-click Command Prompt, and select Run as administrator.
  2. Check the health of the component store:
    DISM /Online /Cleanup-Image /CheckHealth
  3. Scan the component store for deep corruption:
    DISM /Online /Cleanup-Image /ScanHealth
  4. Execute the automated repair pass:
    DISM /Online /Cleanup-Image /RestoreHealth
  5. Wait patiently while the operation runs to 100%. This process may appear to pause around 62.3%, which is normal while large binary trees are verified against Windows Update.

Re-run the System File Checker (SFC) Scan

Once DISM successfully repairs the WinSxS component store, running SFC again will allow it to pull healthy binaries and replace the damaged files it was previously unable to fix.

  • In the same elevated Command Prompt window, execute:
    sfc /scannow
  • Allow the scan to verify all protected system files.
  • Upon completion, the utility should now display: “Windows Resource Protection found corrupt files and successfully repaired them.”
  • Restart your computer to finalize file replacements.

Execute Offline DISM Repair Using Windows 11 ISO Media

If DISM fails with error 0x800f081f (The source files could not be found) because Windows Update cannot be reached, you can supply clean source files directly from a mounted Windows 11 ISO file.

  1. Download the official Windows 11 ISO file from Microsoft.
  2. Double-click the ISO file in File Explorer to mount it as a virtual DVD drive (note the assigned drive letter, e.g. E:).
  3. Open Command Prompt as administrator and run:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:E:\sources\install.wim:1 /LimitAccess

    (If your ISO contains install.esd instead of install.wim, replace WIM:E:\sources\install.wim:1 with ESD:E:\sources\install.esd:1).

  4. Once DISM completes successfully using the local media source, run sfc /scannow once more.

Execute SFC and DISM in Windows Safe Mode

Certain protected system DLL files cannot be replaced while Windows is running in standard mode because active third-party background services keep them locked in memory.

  • Press Win + R, type msconfig, and press Enter.
  • Switch to the Boot tab, tick Safe boot with Minimal, and click OK.
  • Restart your computer into Safe Mode.
  • Launch Command Prompt as administrator in Safe Mode, run sfc /scannow, and allow it to replace files without file-locking conflicts.
  • Open msconfig, untick Safe boot, and restart normally.

Inspect the CBS.log for Unrepairable Files

If specific files remain flagged as corrupt, you can filter the CBS log to identify the precise filenames causing the alert.

  1. In elevated Command Prompt, extract only the SFC entries to your desktop:
    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log > "%userprofile%\Desktop\sfcdetails.txt"
  2. Open sfcdetails.txt on your desktop in Notepad.
  3. Scroll to the bottom to view the exact filenames and directories reported as unrepairable. Often, non-critical telemetry files or third-party printer drivers are the sole flags, which do not impair system operation.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.