How to Run SFC /Scannow and DISM to Repair Corrupted Windows Files

Fix missing DLLs, Windows update corruption, and random crashes using built-in system image servicing tools.

How to Run SFC /Scannow and DISM to Repair Corrupted Windows Files

System File Checker (SFC) and DISM verify the cryptographic integrity of every protected Windows system DLL and replace damaged files automatically.

Why This Problem Happens

  • Abrupt power cuts or hard shutdowns during disk write operations.
  • Failing SSD sectors causing bit rot in Windows system directories.

Step-by-Step Troubleshooting Procedure

Step 1: Run DISM RestoreHealth Command First

Objective: Verify the master component store.

  1. Right-click Start button > Select “Terminal (Admin)” or “PowerShell (Admin)”.
  2. Type: DISM.exe /Online /Cleanup-image /Restorehealth and press Enter.
  3. Wait for verification to reach 100% (this pulls healthy files from Windows Update servers).

Step 2: Run SFC /Scannow Command

Objective: Scan and repair active system files.

  1. In the same admin window, type: sfc /scannow and press Enter.
  2. Wait for the scan to finish. Look for “Windows Resource Protection found corrupt files and successfully repaired them”.

Step 3: Reboot Your System

Objective: Apply replaced kernel binaries.

  1. Restart your computer to initialize the repaired system files.

Verified Troubleshooting Tips

  • Always run DISM /Restorehealth before running SFC /scannow so SFC has a healthy local cache to pull repair files from.

Frequently Asked Questions

What if SFC says “Windows Resource Protection found corrupt files but was unable to fix some of them”?

Reboot into Safe Mode and run the commands again, or run DISM with an official Windows 11 installation ISO mounted as the repair source.