The “windows resource protection could not perform the requested operation” error appears when you run the System File Checker (SFC) command in the Command Prompt. The SFC command is generally used to scan and fix various underlying issues within the computer that cause it to crash or not perform certain functions.
If users are running into this error and cannot perform the SFC program, It will be difficult to point out and recover corrupted system files, responsible for causing system malfunction. And to fix this problem, users will have to perform various troubleshooting steps to fix the problem.
What is Windows Resource Protection?
Windows Resource Protection is responsible for keeping the system files intact. In case something tries to modify the system files or registry keys, this feature would replace the modified files with the original file saved in the cache in order to keep the files safe and operational.
System File Checker (SFC) is a vital part of Windows Resource Protection. Sometimes when a user tries to run SFC commands on their computer, the Windows Resource Protection prevents it to avoid running into system errors.
Causes of Windows Resource Protection Could Not Perform the Requested Operation
There are a lot of moving parts on your computer and any little glitch could lead to this issue. The following are the most common causes that may lead to this problem.
- Malware
- Not Using Elevated Command Prompt
- Conflicting Applications
- Corrupt OS Files
Any malware or other suspicious file on your computer could prevent running the command. And hence, the error occurs. In such a case, performing a malware scan should solve the issue for you.
If you’re using Command Prompt (CMD) without admin privileges, you’re likely to run into this issue. In order to run the SFC command, make sure to use the elevated command prompt for running commands.
Conflicting applications like your anti-virus could also prevent the computer from running the SFC command and thus the computer runs into this error. In such a case, a clean-boot-up is likely to fix the issue for you.
Corrupted OS files could also lead to this problem. The deteriorating health of your hard disk or malware is the most probable cause of this issue. If that’s the case, users will have to perform a manual repair of the OS files through Windows built-in troubleshooters.
Fixes for Windows Resource Protection Could Not Perform the Requested Operation
This error is easy to troubleshoot and won’t take up much of your time. Try the following fixes and hopefully, you will be able to run a system file checker on your computer.
Run DISM
Since the SFC command isn’t working on your computer, using the DISM command is the next best thing. As it will scan the computer and repair any underlying issues on the disk that might be leading to this problem. To use the DISM tool to make the repairs on your computer, perform the following functions:
- Open Command Prompt (Run as Administrator).
- Type the command:
DISM /Online /Cleanup-Image /RestoreHealth
The process will begin and it may take a few minutes to complete. Once it is done, reboot the computer and then try running the SFC command in the CMD. If the error persists, keep on reading.
Run CHKDSK
Corrupted OS files may be causing this issue and in such a case, run a disk scan on your computer. This will scan the hard disk for any underlying issues that could be leading to this issue and fix them. To run a disk scan on your computer, follow these instructions:
- Press start and type ‘CMD’, right-click on it, and press ‘Run as Administrator.’
- Type this command and press enter:
chkdsk C: /r
- Type ‘Y’ to confirm the progress and press Enter.
- Reboot the computer.
Upon boot up, the computer would scan the drive for bad sectors, errors and recover any of the files on such sectors if possible. This process is quite lengthy and may take up more than an hour. Be patient and let the process run its course. Shutting the computer down during this process could lead to other issues.
Running System File Checker in Safe Mode
A simple method that works for many people is to run the system file checker command in safe mode. This is because when you log in through the safe mode, there won’t be any 3rd party conflicting files that could be preventing the command to run. To run the computer in safe mode, perform these steps:
- Press ‘Windows + R’ and type “
msconfig
” to open the “System Configuration” menu. - Navigate to the ‘Boot’ tab.
- Check the box for “Safe Mode” and press Apply.
- Reboot the computer.
- Once the computer has booted in the safe mode, open CMD with admin privileges.
- Run this command:
sfc /scannow
- Wait for the process to finish.
- Go back to the “System Configuration” menu, click on the boot tab and uncheck the box for safe mode.
- Restart the computer to normal startup.
Perform a Clean Boot
Preventing all the 3rd-party applications to stop and performing a clean boot could also solve the issue for you and fix this error. To perform a clean boot, follow these steps:
- Press ‘Control + Shift + Esc’ to open task manager.
- Navigate to the ‘Start Up’ tab and disable all the services except Microsoft services.
- Reboot the computer and then try to run the SFC command.
To perform a clean boot on Windows 7, the process is a little different. If you’re a Windows 7 user, follow these steps to disable all the 3rd-party applications on startup:
- Press ‘Windows + R’ and type ‘
msconfig
’ and press Enter. - Go to the ‘Start Up’ tab and uncheck the box for all the 3rd-party applications.
- Reboot the computer and run the SFC command through the command prompt.
Enable/Restart Windows Modules Installer
Windows Modules Installer must be enabled to run specific commands like SFC on your computer. But if it is not enabled or working properly, you’re likely to run into ‘windows resource protection could not perform the requested operation’ error. To solve this problem, make sure that Windows Modules Installer is working properly. Follow these steps to be sure:
- Press ‘Windows + R’ and type ‘
Services.msc
’
Note: In case the Services menu isn’t opening with this method, open CMD with administrator privileges and run this command:Services.msc
- Find ‘Windows Modules Installer’ from the list.
- Double-click on it and press ‘start’ if it is not running.
- Click on ‘Start-Up type’ and select ‘Automatic’ from the drop-down list and reboot the computer.
- In case it was already running, right-click on ‘Windows Modules Installer‘ and press ‘Restart’.
Now open Command Prompt and run it as administrator and then try running SFC command again. Hopefully, enabling/restarting the Windows Modules Installer has fixed the issue for you.
Resetting Security Descriptors WinSXS Folder
The SFC utility must have access to the WinSXS folder where many important OS commands are stored. If any conflicting application could be preventing the SFC tool to reach the folder, users could run into this error. Fortunately, resetting the security descriptors for the WinSXS folder could solve the problem for you. To do so, perform these functions:
- Press start and type ‘Command Prompt.’
- Right-click on it and select “Run it as Administrator.”
- The CMD will appear, afterward, type this command and press enter:
ICACLS C:\Windows\winsxs
- Wait for the process to finish.
- Type ‘Exit’
- Reboot the computer and then start the command prompt with admin privileges and then try running the SFC command.
Perform a System Restore
Windows’ built-in troubleshooter and tools let you scan and fix various errors users run into every day. Similarly, if nothing works out for you, this fix is likely to sort the error for once and all.
System restore reverts all the major configuration changes made into your computer from a certain time. At the time stamp, configuration and system file details are kept as backup images. To perform a system restore, perform these steps:
- Go to Settings.
- Click on ‘Updates and Security.’
- Go to the ‘Recovery’ tab and click on ‘Restart Now’ under the ‘Advanced Startup’ section.
- Now the computer will boot into the Windows Recovery Environment.
- From the options given on the screen, choose ‘Troubleshoot.’
- Click on ‘Advanced Option.’
- Press ‘System Restore’ and the process will begin.
Once the process is completed, try running the SFC scan in the command prompt.
Run SFC in Command Prompt Accessed Via WinRE
Windows Recovery Environment lets you access the command prompt and you can run the SFC scan there as well. If nothing has worked out for you so far, try running the scan through the Windows Recovery Environment. Follow these steps below to see how to do so:
- Firstly, you have to turn off your PC, keep pressing the power button for a few seconds until the computer is turned off.
- Reboot and then again press the power button and turn it off.
- Repeat this process 3 times.
- Boot up the computer and it will load into Windows Recovery Environment.
- From WinRE, navigate to Troubleshoot > Advanced Options > Command Prompt.
- Type the SFC Command and wait for it to finish.
- Reboot the computer.
Perform a System Reset
The last resort is to perform a system reset of your Windows. It will renew the Windows and will restore all the OS files and the error would be resolved. To perform a system reset, perform these steps:
- Go to Settings.
- Click on ‘Update & Security.’
- Go to ‘Recovery’ and click on ‘Get Started’ under the ‘Reset This PC’ section.
- Follow the on-screen instructions to perform a system reset.