How to Replace Corrupted System Files Without Resetting Windows 11
🔍 WiseChecker

How to Replace Corrupted System Files Without Resetting Windows 11

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.

Symptom: Want to replace corrupted Windows 11 system files without resetting Windows.
Affects: Windows 11.
Fix time: ~45 minutes.

ADVERTISEMENT

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.

  1. Open Command Prompt as Admin.
  2. Run:
    sfc /scannow
  3. Wait 5-15 minutes. Progress: 0% → 100%.
  4. 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).
  5. For specific file: sfc /verifyfile=C:\Windows\System32\notepad.exe — checks one file.
  6. For offline scan: sfc /scanfile=[file path].
  7. Reboot after completion.
  8. For chronic issues: re-run after DISM.

This is the standard repair.

ADVERTISEMENT

Method 2: Use DISM when SFC can’t repair

For deeper corruption.

  1. If SFC says “found corrupt but can’t repair”: component store itself is corrupted.
  2. Run DISM:
    dism /online /cleanup-image /restorehealth

    Takes 15-30 min. Downloads needed files from Windows Update.

  3. 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.)

  4. After DISM completes: re-run sfc /scannow.
  5. SFC should now succeed.
  6. Reboot.
  7. For chronic update issues: this sequence often fixes.

This is the deeper route.

Method 3: Specific file replacement

For known file targets.

  1. If you know specific file is broken: replace manually.
  2. Identify file’s good copy: Windows 11 ISO mounted → navigate to Sources\install.wim → mount via DISM → copy.
  3. Process:
    md C:\Mount
    dism /Mount-Wim /WimFile:F:\sources\install.wim /index:6 /MountDir:C:\Mount /ReadOnly

    (Index 6 = Pro; adjust.)

  4. Take ownership of target file: takeown /f "C:\Windows\System32\file.exe".
  5. Grant permissions: icacls "C:\Windows\System32\file.exe" /grant administrators:F.
  6. Copy good file: copy /Y "C:\Mount\Windows\System32\file.exe" "C:\Windows\System32\file.exe".
  7. Restore original ownership: icacls ... /grant SYSTEM:(F) TrustedInstaller:(F).
  8. Unmount: dism /Unmount-Wim /MountDir:C:\Mount /Discard.
  9. 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.log shows 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.

ADVERTISEMENT