The System File Checker (SFC) is a built-in Windows tool that scans for corrupted system files and replaces them with healthy copies. However, the repair doesn’t always go as planned. Sometimes, after running the sfc /scannow command, you’ll see the following message: “Windows Resource Protection found corrupt files but was unable to fix some of them.” This means Windows detected corrupted system files but couldn’t repair all of them automatically.
In most cases, the problem occurs because the Windows Component Store (the source SFC uses to replace damaged files) is corrupted, some files are currently in use, or disk errors prevent the repair from completing. In this guide, we’ll explain what this error means, why it happens, and the most effective ways to fix it on Windows 11.
Post Contents :-
Why Couldn’t SFC Repair the Corrupt Files?
Several issues can prevent the System File Checker (SFC) from repairing corrupted system files.

The most common causes include:
- Corrupted Windows Component Store: SFC relies on the Windows Component Store to replace damaged system files. If the component store itself is corrupted, SFC won’t have a healthy copy to restore.
- System files are currently in use: Some protected Windows files are locked while the operating system is running, preventing SFC from replacing them during the scan.
- Disk or file system errors: Bad sectors or file system corruption on your SSD or hard drive can prevent Windows from reading or writing system files correctly.
- Pending Windows updates: An incomplete Windows update or a pending restart can temporarily block SFC from repairing certain files.
- Third-party software interference: Antivirus programs, security tools, or system optimization utilities may lock protected files or interfere with the repair process.
Method 1 – Repair the Windows Component Store Using DISM (Recommended)
In most cases, SFC fails because the Windows Component Store is corrupted. Since SFC uses this component store to replace damaged system files, it can’t complete the repair if the source files are corrupted as well. Running the Deployment Image Servicing and Management (DISM) tool repairs the Windows image and restores the component store, allowing SFC to successfully replace corrupted files.
To repair the Windows image using DISM:
- Right-click the Start button and select Terminal (Admin) or Windows PowerShell (Admin).
- Click Yes if prompted by User Account Control (UAC).
- Type the following command and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth
- Wait for the scan to complete. It may take 10–30 minutes, depending on your PC and internet connection. Don’t close the terminal window, even if the progress appears to pause.

- After the DISM scan finishes, restart your computer.
- Open Terminal (Admin) again and run the System File Checker:
sfc /scannow

If SFC completes without displaying the same error, the corrupted system files have been successfully repaired.
Method 2 – Install the Latest Windows Updates
Microsoft regularly releases Windows updates that include bug fixes, security patches, and improvements to the Windows servicing stack. If the SFC scan fails due to a known bug, missing system components, or a pending repair, installing the latest updates may resolve the issue automatically.
To check for Windows updates:
- Press Windows + I to open Settings.
- Select Windows Update from the left pane.
- Click Check for updates.
- If updates are available, download and install them.
- Restart your computer when prompted.

- After Windows restarts, open Terminal (Admin) and run:
sfc /scannow
If the scan completes without displaying the same error, the issue has been resolved.
Tip: Even if no updates are available, restarting your PC after installing any pending updates is important because some system file replacements are completed during startup.
Method 3 – Check Your Drive for Disk Errors
If your hard drive or SSD has file system errors or bad sectors, Windows may be unable to read or replace corrupted system files correctly. Running the Check Disk (CHKDSK) utility scans your drive for errors and repairs them, which may allow SFC to complete the repair successfully.
- Open Terminal (Admin).
- Type the following command and press Enter:
chkdsk C: /f /r
- If prompted to schedule the scan on the next restart, type Y and press Enter.

- Restart your computer to begin the disk check.
- After Windows starts, run the following command again:
sfc /scannow
If SFC still reports it couldn’t repair some files, proceed to the next solution.
Method 4 – Run the SFC Scan in Safe Mode
Some Windows system files can’t be repaired while they’re being used by running programs or background services. Starting your PC in Safe Mode loads only the essential Windows components, reducing software conflicts and allowing SFC to repair files that may be locked during a normal startup.
Here’s how to run SFC in Safe Mode:
- Press Windows + R, type
msconfig, and press Enter. - Open the Boot tab. Check Safe boot and select Minimal.
- Click Apply > OK, then restart your PC.

- Once Windows starts in Safe Mode, open Terminal (Admin).
- Run the following command:
sfc /scannow
- After the scan finishes, open System Configuration (msconfig) again, uncheck Safe Boot, and restart your computer normally.
Method 5 – Repair Windows Without Losing Your Files
If DISM, CHKDSK, and SFC still can’t repair the corrupted system files, your Windows installation may be too damaged for these tools to fix. Performing an in-place repair installation reinstalls Windows system files while keeping your personal files, installed apps, and settings intact.
To perform a repair install:
- Download the latest Windows 11 ISO from Microsoft’s website.
- Right-click the ISO file and select Mount.
- Open the mounted drive and double-click Setup.exe.
- Follow the on-screen instructions and choose Keep personal files and apps when prompted.
- Complete the installation and let your PC restart.
After Windows finishes reinstalling, run the following command to verify that all system files are healthy:
sfc /scannow
If the scan completes without errors, the corruption has been successfully repaired.
Note: An in-place repair installation doesn’t delete your personal files or installed applications, but creating a backup before making major system changes is always recommended.
What if an in-place repair doesn’t fix the problem?
If Windows is still unstable after a repair install, resetting your PC or performing a clean installation may be necessary. However, this is rarely required and should only be considered after all other troubleshooting steps have failed.
Conclusion
The “Windows Resource Protection found corrupt files but was unable to fix some of them” error usually means SFC found damaged system files but couldn’t replace them automatically. In most cases, repairing the Windows Component Store with DISM, installing pending updates, or checking your drive for file system errors resolves the problem.
If the issue persists, running SFC in Safe Mode or performing an in-place repair installation can restore Windows without deleting your personal files. By following the solutions in this guide from top to bottom, you should be able to repair your Windows 11 installation and get SFC working correctly again.
Frequently Asked Questions
No. While Windows may continue to work normally, the error indicates that some protected system files remain corrupted. These files can lead to system instability, application crashes, or Windows update problems if left unrepaired.
No. The DISM /RestoreHealth command only repairs the Windows image and Component Store. It doesn’t delete your personal files, installed apps, or settings.
If SFC reports “Windows Resource Protection found corrupt files but was unable to fix some of them,” then yes. Running DISM first repairs the Windows Component Store that SFC relies on. After DISM completes, run sfc /scannow again.
Windows stores the scan results in the CBS.log file, located here: C:\Windows\Logs\CBS\CBS.log This log contains details about the files that SFC repaired or couldn’t repair.
If you’ve already tried DISM, Windows Update, CHKDSK, and Safe Mode, performing an in-place repair installation is the next recommended step. It reinstalls Windows system files while keeping your personal files and installed applications.





