Windows Resource Protection could not perform the requested operation offline

A few days ago I tried to repair a Windows 10 system, using the  SFC /SCANNOW command in Windows Recovery Environment. But, after issued the command "SFC /SCANNOW", I received the error "Windows Resource Protection Could Not Perform the Requested Operation".

Windows Resource Protection could not perform the requested operation offline

In this tutorial you'll find instructions on how to bypass error "Windows Resource Protection Could Not Perform the Requested Operation" when running the "SFC /SCANNOW" command from the Windows Recovery Environment (WinRE). *

How to FIX SFC Error "Windows Resource Protection Could Not Perform the Requested Operation" error in WinRE. *

* Note: If you receive the error when running the command from Windows GUI, restart Windows in Safe Mode and try again. If the problem persists, press the SHIFT key and click Restart to enter in WinRE mode and run the SFC command from there, by following the instructions below.

Method 1. Specify Boot & Windows Directories in SFC command.

Usually the error "Windows Resource Protection could not perform the requested operation" is due to the fact that the Offline Boot & Windows directories are not specified in the SFC command, as required if you are running the command from WinRE. So, to bypass the error apply the following steps:

1. At command prompt give the following command to find the drive letter of the OS partition:

  • bcdedit

2. Notice the drive letter of OS partition (e.g. "osdevice –> partition=D: ")

3. Now give the following SFC command, where X is the drive letter you noticed.

4. SFC /SCANNOW /OFFBOOTDIR=X:\ /OFFWINDIR=X:\Windows

e.g. In this example the OS partition has the letter "D", so the command will be:

  • SFC /SCANNOW /OFFBOOTDIR=D:\ /OFFWINDIR=D:\Windows

Windows Resource Protection could not perform the requested operation offline

5. Normally now the sfc process will complete the process without the error "Windows Resource Protection Could Not Perform the Requested Operation".

Method 2. Clean Install Windows 10 & Check Hardware.

If the above method cannot resolve the discussed error this indicates that Windows System files are damaged. At this case, I suggest to backup your files and to perform a clean installation of Windows 10 or to RESET your PC. *

* Note: If you experience the same error after a clean install of Windows 10, this indicates a hardware problem. In this case, test the memory (RAM) for problems or try to install Windows on a new drive.

That's it! Which method worked for you?
Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue to help others while keeping this site free:

Windows Resource Protection could not perform the requested operation offline

If you want to stay constantly protected from malware threats, existing and future ones, we recommend that you install Malwarebytes Anti-Malware PRO by clicking below (we do earn a commision from sales generated from this link, but at no additional cost to you. We have experience with this software and we recommend it because it is helpful and useful):

Full household PC Protection - Protect up to 3 PCs with NEW Malwarebytes Anti-Malware Premium!

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?
  • Causes of Windows Resource Protection Could Not Perform the Requested Operation
  • Fixes for Windows Resource Protection Could Not Perform the Requested Operation 
    • Run DISM 
    • Run CHKDSK 
    • Running System File Checker in Safe Mode 
    • Perform a Clean Boot 
    • Enable/Restart Windows Modules Installer
    • Resetting Security Descriptors WinSXS Folder 
    • Perform a System Restore 
    • Run SFC in Command Prompt Accessed Via WinRE
    • Perform a System Reset

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
  • 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.

  • Not Using Elevated Command Prompt
  • 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
  • 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.

  • Corrupt OS Files
  • 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:

  1. Open Command Prompt (Run as Administrator).
  2. Type the command:
    DISM /Online /Cleanup-Image /RestoreHealth
    running-dism-command

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:

  1. Press start and type ‘CMD’, right-click on it, and press ‘Run as Administrator.’
  2. Type this command and press enter:
    chkdsk C: /r
    running-chkdsk-command
  3. Type ‘Y’ to confirm the progress and press Enter.
  4. 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:

  1. Press ‘Windows + R’ and type “msconfig” to open the “System Configuration” menu.
  2. Navigate to the ‘Boot’ tab.
  3. Check the box for “Safe Mode” and press Apply.
    safe-boot
  4. Reboot the computer. 
  5. Once the computer has booted in the safe mode, open CMD with admin privileges. 
  6. Run this command:
    sfc /scannow
    running-sfc-command
  7. Wait for the process to finish. 
  8. Go back to the “System Configuration” menu, click on the boot tab and uncheck the box for safe mode.
  9. 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:

  1. Press ‘Control + Shift + Esc’ to open task manager. 
  2. Navigate to the ‘Start Up’ tab and disable all the services except Microsoft services. 
    disable-third-party-applications
  3. 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:

  1. Press ‘Windows + R’ and type ‘msconfig’ and press Enter.
  2. Go to the ‘Start Up’ tab and uncheck the box for all the 3rd-party applications.
  3. 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:

  1. 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
  2. Find ‘Windows Modules Installer’ from the list.
  3. Double-click on it and press ‘start’ if it is not running. 
  4. Click on ‘Start-Up type’ and select ‘Automatic’ from the drop-down list and reboot the computer.
    windows-module-installer-startup-type--automatic
  5. 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: 

  1. Press start and type ‘Command Prompt.’
  2. Right-click on it and select “Run it as Administrator.”
  3. The CMD will appear, afterward, type this command and press enter:
    ICACLS C:\Windows\winsxs
    running-icalcls-command
  4. Wait for the process to finish.
  5. Type ‘Exit
  6. 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:

  1. Go to Settings.
  2. Click on ‘Updates and Security.’
  3. Go to the ‘Recovery’ tab and click on ‘Restart Now’ under the ‘Advanced Startup’ section.
    Recovery-restart-now
  4. Now the computer will boot into the Windows Recovery Environment. 
  5. From the options given on the screen, choose ‘Troubleshoot.’
  6. Click on ‘Advanced Option.’
    advanced-options
  7. Press ‘System Restore’ and the process will begin.
    System-restore

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:

  1. Firstly, you have to turn off your PC, keep pressing the power button for a few seconds until the computer is turned off.  
  2. Reboot and then again press the power button and turn it off.
  3. Repeat this process 3 times.
  4. Boot up the computer and it will load into Windows Recovery Environment.
  5. From WinRE, navigate to Troubleshoot > Advanced Options > Command Prompt
    advanced-options-command-propmt
  6. Type the SFC Command and wait for it to finish.
  7. 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:

  1. Go to Settings.
  2. Click on ‘Update & Security.’
  3. Go to ‘Recovery’ and click on ‘Get Started’ under the ‘Reset This PC’ section.
    reset-this-pc-get-started
  4. Follow the on-screen instructions to perform a system reset.

How do I fix Windows Resource Protection could not perform the requested operation?

How to Fix “Windows Resource Protection Could Not Perform the Requested Operation” Error.
Use the Chkdsk Command..
Run the SFC Utility Tool in Safe Mode..
Enable Windows Modules Installer..
Use Automatic Repair..
Reset Windows..

How do I fix sfc Scannow Windows Resource Protection?

How do I fix Windows Resource Protection could not perform the requested operation?.
Run SFC Scannow command in Safe Mode..
Run check disk command..
Change security descriptor..
Run automatic repair..

Why does sfc Scannow not work?

Sfc scannow stops you must be an administrator – SFC scan requires administrative privileges in order to run, and if you're having any issues with SFC, be sure that you're using Command Prompt as an administrator.

What causes sfc corruption?

Two common causes of repeated/persistent file corruption are a failing HDD or faulty RAM (ie RAM which has errors). Test HDD & each RAM module with the appropriate diagnostic utilities.