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.
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
- Click the Start button, type
Create a restore point, and pressEnter. - In the System Properties window, under the System Protection tab, click Create.
- Enter a descriptive name, such as "Before SFC DISM Repair", and click Create.
- 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:
- Run DISM (to repair the system image).
- Run SFC (to repair the actual system files using the healthy image).
- 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.
- Click the Start button or press the
Windows key. - Type
cmdinto the search bar. - In the search results, right-click Command Prompt and select Run as administrator.
- 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.
- In the Command Prompt window, type the following command and press
Enter:DISM /Online /Cleanup-Image /RestoreHealth - Wait for the process to complete. This may take 5 to 15 minutes depending on your hardware and internet connection.
- 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.
- In the same Command Prompt window, type the following command and press
Enter:sfc /scannow - The tool will begin scanning all protected system files. This usually takes 10 to 20 minutes.
- 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:
- "Windows Resource Protection did not find any integrity violations." — Your system files are healthy. If you are still experiencing a computer running slow, the issue may be hardware-related or caused by third-party software.
- "Windows Resource Protection found corrupt files and successfully repaired them." — The errors have been fixed. Restart your PC to finalise the changes.
- "Windows Resource Protection found corrupt files but was unable to fix some of them." — This indicates deeper corruption. See the section "When SFC Cannot Repair Files" below.
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
- Go to Settings > System > Recovery.
- Next to Advanced startup, click Restart now.
- After restarting, navigate to Troubleshoot > Advanced options > Startup Settings > Restart.
- Press
4orF4to start in Safe Mode.
Method 2: Using msconfig
- Press
Windows key + R, typemsconfig, and pressEnter. - Go to the Boot tab.
- Under Boot options, check Safe boot and select Minimal.
- Click OK and restart your computer.
- Once in Safe Mode, open Command Prompt as administrator and run
sfc /scannow. - After the scan, repeat the msconfig steps and uncheck Safe boot to return to normal startup.
Method 3: Shift+Restart
- Click the Start button, then the Power icon.
- Hold down the Shift key on your keyboard and click Restart.
- Navigate to Troubleshoot > Advanced options > Startup Settings > Restart.
- Press
4orF4for 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.
- Mount your Windows 11 ISO file or insert your installation USB drive.
- Note the drive letter (e.g.,
D:) and the path to theinstall.wimfile inside thesourcesfolder. - Open Command Prompt as administrator.
- Run the following command, replacing
D:with your actual drive letter:DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:1 /LimitAccess - Wait for the process to finish, then run
sfc /scannowagain.
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.
- Ensure your internet connection is stable and that you are not using a VPN or proxy that may block Windows Update.
- Restart your router and computer.
- Run the Windows Update Troubleshooter via Settings > System > Troubleshoot > Other troubleshooters.
- Retry the DISM command:
DISM /Online /Cleanup-Image /RestoreHealth. - 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.
- 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.
- Alternatively, boot from a Windows 11 installation USB drive, click Next, then select Repair your computer.
- Navigate to Troubleshoot > Advanced options > Command Prompt.
- In WinRE, the drive letters are often different. To find your Windows installation, type
diskpart, thenlist volume, and look for the volume where Windows is installed (usuallyC:orD:). Typeexitto leave diskpart. - Run DISM targeting the offline image. Replace
C:with your actual Windows drive letter:DISM /Image:C:\ /Cleanup-Image /RestoreHealth - Once DISM completes, run SFC against the offline image:
sfc /scannow /offbootdir=C:\ /offwindir=C:\windows - 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.
- Download the Windows 11 Installation Media from the official Microsoft website.
- Run the setup executable and choose to Keep personal files and apps.
- 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.
- Go to Settings > System > Recovery.
- Next to Reset this PC, click Reset PC.
- Choose Keep my files or Remove everything based on your needs.
- 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?
💻 Open a Ticket