Windows Resource Protection Could Not Perform the Requested Operation: Fixes
“Windows Resource Protection could not perform the requested operation” is the error you get when System File Checker, sfc /scannow, cannot complete its scan. Windows Resource Protection is the part of Windows that guards important system files, and when it cannot read, verify or repair them, it stops and shows this message instead of a normal result.
It does not always mean your files are corrupt. It often means SFC cannot access a file because the disk has errors, a service is not running, Windows is running from a limited environment, or another process is locking the files. This guide works through the fixes in the order most likely to help, from the simplest restart to the deeper DISM and offline repairs.
What Causes This Error?
Common causes include a hard drive or SSD with bad sectors, a Windows component store that is itself damaged, the Windows Modules Installer service being disabled, running SFC from the wrong environment, or malware and antivirus tools blocking access to system files. If your PC also crashes, freezes or shows disk errors, treat the disk as the prime suspect and back up your files before running heavy repairs.
Fix 1: Restart and Run SFC as Administrator
- Restart your PC. A restart releases file locks left by updates and other programs.
- Right-click Start, choose Terminal (Admin) or Command Prompt (Admin), and confirm the UAC prompt.
- Type sfc /scannow and press Enter.
- Wait for it to finish. Do not close the window early, even if it seems stuck at a percentage for a while.
- If it completes, restart again and check whether the original problem is gone.
SFC must run elevated. Running it in a normal Command Prompt can produce access errors that look like a deeper fault, so always check the window title says Administrator.
Fix 2: Run CHKDSK to Check the Disk
- Open an elevated Command Prompt as above.
- Type chkdsk C: /f /r and press Enter. Answer Y when asked to schedule the check at the next restart.
- Restart your PC and let the disk check complete. It can take a long time on a large drive.
- After Windows starts, run sfc /scannow again.
If CHKDSK reports many bad sectors, back up immediately and consider replacing the drive. Disk errors can also cause other file problems, such as the one in our guide to fixing a cyclic redundancy check error, which is another sign of a failing drive or a damaged file.
Fix 3: Repair Windows With DISM
- Open an elevated Command Prompt.
- Run DISM /Online /Cleanup-Image /RestoreHealth and wait for it to finish. This needs an internet connection, because it downloads clean files.
- When DISM finishes, run sfc /scannow again.
- Restart your PC.
DISM repairs the component store that SFC uses as its source of clean files. If that store is damaged, SFC cannot repair anything, which is exactly why this error appears. Running DISM first is the most reliable fix for many people.
Fix 4: Start the Windows Modules Installer Service
- Press Windows + R, type services.msc, and press Enter.
- Find Windows Modules Installer, double-click it, and set Startup type to Manual.
- If the service is stopped, click Start, then click OK.
- Run sfc /scannow again in an elevated Command Prompt.
This service, also called TrustedInstaller, is needed for SFC and Windows updates. If it is disabled by a tweaking tool, SFC will fail even on a healthy system.
Fix 5: Run SFC in Safe Mode or Offline
If the error persists in normal Windows, try Safe Mode: open Settings, System, Recovery, Advanced startup, Restart now, then Troubleshoot, Advanced options, Startup Settings, Restart, and choose Safe Mode with Command Prompt. Run sfc /scannow there, where fewer services and drivers can lock files.
For a PC that will not boot normally, use Windows Recovery Environment from installation media or the recovery menu, open Command Prompt, and run SFC against the offline Windows folder. This is an advanced step, so note the drive letter Windows assigns in recovery, because it may not be C: there. If several Windows features are failing at once, follow the wider steps in our PC troubleshooting guide and in our guide to error opening file for writing if installers also fail with permission errors.
Safety Notes
Back up personal files before CHKDSK, DISM and offline repairs, especially if the drive may be failing. Do not interrupt SFC, DISM or CHKDSK once they start, because stopping them mid-repair can leave files in an inconsistent state. If the drive is making clicking noises, disconnect it and seek professional recovery rather than repeatedly scanning it.
When to stop and seek help: if SFC and DISM both fail, CHKDSK finds growing numbers of bad sectors, or Windows will not boot after a repair, do not keep repeating the same scans. At that point the most likely cause is failing hardware or a badly damaged installation, and a repair shop or a clean Windows install after a full backup is safer than another round of scans. Keep a note of the exact messages you see, because they help a technician tell a disk fault apart from a software fault.
Frequently Asked Questions
What does Windows Resource Protection could not perform the requested operation mean?
It means System File Checker could not complete its scan or repair. Windows Resource Protection could not access, verify or replace the system files it needed, often because of disk errors, a damaged component store, or a disabled service.
How do I fix Windows Resource Protection could not perform the requested operation?
Restart, run SFC as administrator, then run CHKDSK, then DISM /Online /Cleanup-Image /RestoreHealth followed by SFC again. Also check that Windows Modules Installer is set to Manual and can start.
Is this error a virus?
Not usually. Malware can damage system files, but the error itself is a Windows protection message. Run a full antivirus scan as a precaution, then focus on disk and DISM repairs.
Can I run SFC in Safe Mode?
Yes. Safe Mode with Command Prompt is a good test when normal Windows locks files or a driver interferes. If SFC works there, a startup program or driver is likely the cause in normal mode.
What if DISM also fails?
Check your internet connection, disk space and disk health, then try DISM again. If it still fails, use Windows Recovery Environment, or consider an in-place upgrade or clean install after backing up your files.