Home › Knowledgebase › KB-175

How to fix and resolve Windows 11 'System File Checker' (SFC) and DISM errors

Summary

This guide helps you troubleshoot and resolve: How to fix and resolve Windows 11 'System File Checker' (SFC) and DISM errors. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

If your Windows 11 system is experiencing unexpected instability, such as applications freezing or crashing or recurring Blue Screen of Death (BSOD) errors, it may be due to corrupted system files. Windows includes two powerful built-in utilities—Deployment Image Servicing and Management (DISM) and System File Checker (SFC)—designed to analyse and repair these issues.

This guide focuses on troubleshooting and resolving errors that occur when using SFC and DISM, as well as repairing the system files themselves. Because these tools modify critical operating system components, you should create a system restore point before proceeding. If something goes wrong during the repair process, a restore point allows you to return your system to its previous state.

Before You Begin: Create a System Restore Point

  1. Click the Start button, type Create a restore point, and press Enter.
  2. In the System Properties window, under the System Protection tab, click Create.
  3. Enter a descriptive name, such as "Before SFC DISM Repair", and click Create.
  4. Wait for the confirmation message and click Close.

Quick Fix Steps

For most users, running these tools in a specific sequence will resolve the majority of OS-level corruption. Follow this order for the best results:

  1. Run DISM (to repair the system image).
  2. Run SFC (to repair the actual system files using the healthy image).
  3. Restart your computer.

Detailed Instructions

Step 1: Open an Elevated Command Prompt

Both tools require administrative privileges to modify system files. If you do not run them as an administrator, the process will fail.

  1. Click the Start button or press the Windows key.
  2. Type cmd into the search bar.
  3. In the search results, right-click Command Prompt and select Run as administrator.
  4. If the User Account Control (UAC) prompt appears, click Yes.

Step 2: Running the DISM Tool

The DISM tool checks the health of the Windows component store. If the local recovery image is corrupted, SFC will not be able to fix your files; therefore, we run DISM first.

  1. In the Command Prompt window, type the following command and press Enter: DISM /Online /Cleanup-Image /RestoreHealth
  2. Wait for the process to complete. This may take 5 to 15 minutes depending on your hardware and internet connection.
  3. The process may appear to "stick" at 20% or 80%; this is normal behaviour. Do not close the window.

DISM connects to Windows Update to download healthy versions of corrupted files. Ensure you have a stable internet connection before starting.

Step 3: Running the System File Checker (SFC)

Now that the system image is healthy, you can run the SFC tool to scan and replace corrupted system files.

  1. In the same Command Prompt window, type the following command and press Enter: sfc /scannow
  2. The tool will begin scanning all protected system files. This usually takes 10 to 20 minutes.
  3. Once complete, Windows will provide a summary of the results.

Understanding the Results

After running sfc /scannow, you will see one of the following messages:

Troubleshooting Common SFC and DISM Errors

SFC: "Windows Resource Protection could not perform the requested operation"

This error typically means the tool cannot run while Windows is actively using the system files. Try booting into Safe Mode and running SFC again.

Method 1: Via Settings

  1. Go to Settings > System > Recovery.
  2. Next to Advanced startup, click Restart now.
  3. After restarting, navigate to Troubleshoot > Advanced options > Startup Settings > Restart.
  4. Press 4 or F4 to start in Safe Mode.

Method 2: Using msconfig

  1. Press Windows key + R, type msconfig, and press Enter.
  2. Go to the Boot tab.
  3. Under Boot options, check Safe boot and select Minimal.
  4. Click OK and restart your computer.
  5. Once in Safe Mode, open Command Prompt as administrator and run sfc /scannow.
  6. After the scan, repeat the msconfig steps and uncheck Safe boot to return to normal startup.

Method 3: Shift+Restart

  1. Click the Start button, then the Power icon.
  2. Hold down the Shift key on your keyboard and click Restart.
  3. Navigate to Troubleshoot > Advanced options > Startup Settings > Restart.
  4. Press 4 or F4 for Safe Mode.

DISM Error 0x800f081f: Source files not found

This error occurs when DISM cannot find the necessary files via Windows Update. You can specify a local installation media (USB or ISO) as a source.

  1. Mount your Windows 11 ISO file or insert your installation USB drive.
  2. Note the drive letter (e.g., D:) and the path to the install.wim file inside the sources folder.
  3. Open Command Prompt as administrator.
  4. Run the following command, replacing D: with your actual drive letter: DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:1 /LimitAccess
  5. Wait for the process to finish, then run sfc /scannow again.

Manually pointing DISM to a source image requires technical knowledge of WIM files. If you are unsure which index number to use or the command fails, Open a Ticket for professional assistance.

DISM Error 0x800f0905 and 0x800f0922

These errors generally indicate a connectivity issue between your computer and the Windows Update servers.

  1. Ensure your internet connection is stable and that you are not using a VPN or proxy that may block Windows Update.
  2. Restart your router and computer.
  3. Run the Windows Update Troubleshooter via Settings > System > Troubleshoot > Other troubleshooters.
  4. Retry the DISM command: DISM /Online /Cleanup-Image /RestoreHealth.
  5. If the error persists, try using the /Source method described above with local installation media.

Running SFC and DISM from Windows Recovery Environment (WinRE)

If Windows 11 cannot boot normally, you cannot run these tools from the desktop. Instead, use the Windows Recovery Environment.

  1. Force the computer into WinRE by interrupting the boot process three times (turn the PC on, and as soon as the Windows logo appears, hold the power button to force it off). On the third restart, Windows will enter Automatic Repair and launch WinRE.
  2. Alternatively, boot from a Windows 11 installation USB drive, click Next, then select Repair your computer.
  3. Navigate to Troubleshoot > Advanced options > Command Prompt.
  4. In WinRE, the drive letters are often different. To find your Windows installation, type diskpart, then list volume, and look for the volume where Windows is installed (usually C: or D:). Type exit to leave diskpart.
  5. Run DISM targeting the offline image. Replace C: with your actual Windows drive letter: DISM /Image:C:\ /Cleanup-Image /RestoreHealth
  6. Once DISM completes, run SFC against the offline image: sfc /scannow /offbootdir=C:\ /offwindir=C:\windows
  7. Restart your computer and attempt to boot normally.

When SFC Cannot Repair Files

If SFC reports that it found corrupt files but was unable to fix some of them, and DISM has already been run successfully, the corruption may be too severe for these tools to resolve.

Option 1: In-Place Upgrade

An in-place upgrade reinstalls Windows while keeping your files, settings, and most applications intact.

  1. Download the Windows 11 Installation Media from the official Microsoft website.
  2. Run the setup executable and choose to Keep personal files and apps.
  3. Follow the prompts to complete the upgrade.

Option 2: Windows Reset

If the in-place upgrade does not work, you can reset Windows. This is more destructive and may remove installed applications depending on the option you choose.

  1. Go to Settings > System > Recovery.
  2. Next to Reset this PC, click Reset PC.
  3. Choose Keep my files or Remove everything based on your needs.
  4. Follow the on-screen instructions to finalise the reset.

If you have attempted all steps above and system instability continues, the issue may be related to failing hardware, such as a faulty hard drive or RAM. Open a Ticket for further diagnostic assistance.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket