Run SFC and DISM System Repair
When DLL files are corrupted at the system level, SFC and DISM are the nuclear options that repair Windows itself.
Downloads for This Fix
One-Click Script
Save as repair-system.bat, right-click → Run as Administrator.
@echo off echo ======================================= echo SYSTEM FILE REPAIR SCRIPT echo Run this as Administrator! echo ======================================= echo. echo [1/3] Running SFC scan... sfc /scannow echo. echo [2/3] Running DISM ScanHealth... DISM /Online /Cleanup-Image /ScanHealth echo. echo [3/3] Running DISM RestoreHealth... DISM /Online /Cleanup-Image /RestoreHealth echo. echo [4/4] Running SFC again... sfc /scannow echo. echo ======================================= echo Repair complete. Restart your PC. echo ======================================= pause
Step-by-Step
- 1
Open Command Prompt or PowerShell AS ADMINISTRATOR. (Right-click Start → Terminal (Admin))
- 2
Run SFC scan first: sfc /scannow
- 3
Wait 10-30 minutes. It will scan all protected system files and replace corrupted ones from the Windows component store.
- 4
If SFC finds errors it cannot fix, or says "Windows Resource Protection found corrupt files but was unable to fix some of them", continue to DISM.
- 5
Run DISM ScanHealth: DISM /Online /Cleanup-Image /ScanHealth
- 6
If ScanHealth reports corruption, run: DISM /Online /Cleanup-Image /RestoreHealth
- 7
RestoreHealth requires internet — it downloads clean files from Windows Update. This takes 15-30 minutes.
- 8
After DISM completes, run sfc /scannow AGAIN to replace any remaining corrupted files.
- 9
Restart your computer.
How to Verify It Worked
- sfc /scannow reports "Windows Resource Protection did not find any integrity violations."
- DISM /Online /Cleanup-Image /CheckHealth reports "No component store corruption detected."
Still Not Working?
If DISM fails with error 0x800f081f (source files not found), you need a Windows ISO repair install. This is Fix #9 territory.