Windows Resource Protection Unable to Fix: Step-by-Step Repair
In this article
Yes, you can fix this error. The "Windows Resource Protection could not perform the requested operation" message typically occurs because System File Checker (SFC) lacks the necessary permissions or files are locked by running processes. Running the command from an elevated Administrator Command Prompt and ensuring no background services interfere usually resolves the issue immediately.
What You'll Need
- A Windows PC with administrative privileges
- Access to Command Prompt as Administrator
- Sufficient disk space (at least a few gigabytes free)
- A stable internet connection for DISM operations
Step-by-Step
- Close all unnecessary applications. Before attempting repairs, close browsers, office suites, and any third-party software that might be locking system files. This reduces the chance of conflicts during the scan.
- Open Command Prompt as Administrator. Press the
Windows key + S, typecmd, right-click on Command Prompt, and select Run as administrator. If prompted by User Account Control (UAC), click Yes. - Run the SFC scan. In the black window, type the following command exactly and press
Enter:sfc /scannow - Wait for the process to complete. The scan typically takes 10–30 minutes. Do not close the window. If it succeeds, you will see a message stating "Windows Resource Protection did not find any integrity violations" or "found corrupt files and successfully repaired them."
- Check for errors. If the scan fails with the "unable to fix" error, proceed to the next step. Note the exact error code if displayed.
- Run the DISM tool. Type the following command and press
Enter:DISM /Online /Cleanup-Image /RestoreHealth - Wait for DISM to finish. This process connects to Windows Update to download replacement files. It may appear stuck at certain percentages; this is normal. Let it run until it reaches 100%.
- Re-run SFC. After DISM completes, type
sfc /scannowagain and pressEnter. This time, it should succeed using the healthy source files provided by DISM.
Common Mistakes
Users often try to run SFC from a standard user account, which lacks the permission to modify protected system files. Always ensure you select "Run as administrator." Another common mistake is interrupting the DISM process while it is downloading files from Windows Update, which can leave the component store in an inconsistent state. Additionally, some users ignore the "file is locked" error, assuming it is minor; however, locked files prevent SFC from repairing critical system components, leading to persistent instability.
Tips
If your internet connection is slow or unstable, DISM may fail. Consider connecting via Ethernet instead of Wi-Fi for reliability. If SFC still fails after DISM, check your disk health using chkdsk C: /f /r (requires restart) to rule out physical drive errors. Keep your Windows version updated, as older builds may have known bugs in the component store that newer updates resolve.
Troubleshooting
If the standard steps above do not work, follow these advanced checks:
- Safe Mode: Boot into Safe Mode and run
sfc /scannow. Fewer background processes mean fewer locked files, increasing the likelihood of success. - Clean Boot: Perform a clean boot to disable non-Microsoft services temporarily. This isolates third-party antivirus or utility software that might be interfering with file access.
- Component Store Reset: If DISM reports corruption it cannot fix, you may need to reset the component store. Use the command
DISM /Online /Cleanup-Image /StartComponentCleanupbefore retrying the restore health command. - System Restore: If recent changes caused the issue, use System Restore to revert to a point before the corruption occurred. Note that this will undo installed programs after that date.
Frequently Asked Questions
Why does SFC say files are locked?
Locked files occur when another program or service is actively using a system file. Closing apps or rebooting into Safe Mode releases these locks.
Can I fix this without DISM?
No. If SFC fails due to corrupted source files, DISM is required to repair the component store first. SFC cannot fix itself if its source is damaged.
How long does DISM take?
It varies by internet speed and system load, but typically 15–45 minutes. Do not close the window if progress seems paused.
Will SFC delete my personal files?
No. SFC only replaces or repairs protected Windows system files. Your documents, photos, and apps remain untouched.
What if DISM also fails?
This indicates deeper issues, such as disk errors or severe system corruption. Run chkdsk or consider a Windows Reset if problems persist.
Does this work on Windows 11?
Yes. The commands and tools are identical across Windows 10 and Windows 11, though menu labels may vary slightly by version.