Quick fix: Open Command Prompt (Admin). Run: sfc /scannow (5-15 min). Repairs system files using local component store. If SFC reports issues it can’t fix: dism /online /cleanup-image /restorehealth (15-30 min) to refresh component store, then re-run sfc /scannow. Reboot. Specific files repaired without full Windows reset.
System File Checker (SFC) scans Windows system files for corruption and replaces from local component store. Combined with DISM, repairs most file-level corruption without losing apps or settings.
Affects: Windows 11.
Fix time: ~45 minutes.
What causes this need
System file corruption from: failed updates, disk errors, malware (cleaned), bad shutdowns. Symptoms:
- Random BSODs.
- App crashes.
- Failed Windows updates.
- Feature components malfunction.
- Service errors.
SFC + DISM is the standard repair without losing data / apps.
Method 1: Run SFC
The first step.
- Open Command Prompt as Admin.
- Run:
sfc /scannow - Wait 5-15 minutes. Progress: 0% → 100%.
- Outcome:
- “No integrity violations found”: system files OK.
- “Successfully repaired files”: corrupt files replaced.
- “Found corrupt files but unable to repair”: need DISM (Method 2).
- For specific file:
sfc /verifyfile=C:\Windows\System32\notepad.exe— checks one file. - For offline scan:
sfc /scanfile=[file path]. - Reboot after completion.
- For chronic issues: re-run after DISM.
This is the standard repair.
Method 2: Use DISM when SFC can’t repair
For deeper corruption.
- If SFC says “found corrupt but can’t repair”: component store itself is corrupted.
- Run DISM:
dism /online /cleanup-image /restorehealthTakes 15-30 min. Downloads needed files from Windows Update.
- If DISM fails: use offline ISO source:
dism /online /cleanup-image /restorehealth /source:wim:F:\sources\install.wim:1 /limitaccess(F: is mounted Windows 11 ISO.)
- After DISM completes: re-run
sfc /scannow. - SFC should now succeed.
- Reboot.
- For chronic update issues: this sequence often fixes.
This is the deeper route.
Method 3: Specific file replacement
For known file targets.
- If you know specific file is broken: replace manually.
- Identify file’s good copy: Windows 11 ISO mounted → navigate to
Sources\install.wim→ mount via DISM → copy. - Process:
md C:\Mount dism /Mount-Wim /WimFile:F:\sources\install.wim /index:6 /MountDir:C:\Mount /ReadOnly(Index 6 = Pro; adjust.)
- Take ownership of target file:
takeown /f "C:\Windows\System32\file.exe". - Grant permissions:
icacls "C:\Windows\System32\file.exe" /grant administrators:F. - Copy good file:
copy /Y "C:\Mount\Windows\System32\file.exe" "C:\Windows\System32\file.exe". - Restore original ownership:
icacls ... /grant SYSTEM:(F) TrustedInstaller:(F). - Unmount:
dism /Unmount-Wim /MountDir:C:\Mount /Discard. - Reboot.
This is the manual route.
How to verify the fix worked
- SFC: “Successfully repaired” or “no integrity violations.”
- DISM: “Restore operation completed successfully.”
- Symptoms (BSOD, crashes, feature errors) reduced.
- Event Viewer → Application logs: fewer corrupt-file errors.
- CBS log
%windir%\Logs\CBS\CBS.logshows repair entries.
If none of these work
If repair fails: Disk error: chkdsk /f /r C: first. Hardware-level issue may need replacement. For ISO version mismatch: ISO must match current Windows build. For specific drive permissions: icacls C:\Windows /reset /T resets permissions. For antivirus blocking: disable third-party AV. For corrupted Windows Update components: see “Use DISM to Repair Update Component Corruption” article. For chronic corruption: in-place upgrade via setup.exe from Windows 11 ISO. Reinstalls Windows preserving data + apps. For specific service / feature broken: re-install feature via Settings → Apps → Optional features. Last resort: Reset This PC → Keep my files.
Bottom line: sfc /scannow in Admin cmd. If can’t repair: dism /online /cleanup-image /restorehealth first, then SFC again. Manual file replace from Windows ISO if specific file targeted.