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

If you are using the SFC tool on Windows to fix issues but come across error - "Windows Resource Protection found corrupt files but was unable to fix some of them" and can't get past it. This article will guide you through some troubleshooting steps that should allow you to complete the SFC scan without getting the error message so you can fix the actual problem at hand.

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

Usually, when this error message pops up you can just run SFC again from Safe Mode and it will finish without any problems, however, if that doesn't work you will need to work your way through all of the other solutions found below. These should solve the problem pretty quickly. For the rest results work your way from the top of the list down towards the bottom.

Restart in Safe Mode and run SFC and DISM.

Safe Mode starts your PC with a minimal set of drivers and services. Running scans in Safe Mode can be more effective because it prevents other software from interfering with the repair process.

Run DISM scans

The DISM tool repairs the Windows System Image and Windows Component Store in the Windows image. This tool is crucial when the System File Checker cannot repair corrupted files because it may fix the system image, enabling SFC to function effectively.

DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

(Note: if you get an error using the last command, add /Source:C:\RepairSource\Windows /LimitAccess to it and try again).

Run Check Disk.

The Check Disk utility scans the hard drive for bad sectors and system errors that can cause file corruption. Running this tool can help identify and solve disk-level issues that might be causing file corruption.

chkdsk c: /f


(Note: use chkdsk c: /f /r /x command if you use SSD as your primary partition).

Repair-install Windows.

A repair installation reinstalls Windows' system files without affecting your personal files and settings. This can be the final step if all other fixes fail.

Create Windows ISO

Repair-install Windows

What is Windows Resource Protection (WRP)?

WRP is a feature designed to safeguard critical system files, registry keys, and directories. WRP works by attempting to restore system files from a cached copy stored in a compressed folder at %WinDir%\System32\dllcache whenever it detects a violation. As part of this protective measure, an SFC scan is conducted to verify the integrity of specific files.

The message "Windows Resource Protection found corrupt files but was unable to fix some of them" indicates that although the SFC scan identified corrupt files, it was unable to repair them for various reasons. This could be due to the files being actively used by the system, the cached copies being damaged, or the corrupt files having complex dependencies that hinder straightforward repairs.

Comments