SFC Scannow Not Fixing Corruption: DISM Order

Windows

Windows repair commands in an elevated terminal

If sfc scannow not fixing corruption, System File Checker may have found damaged files it cannot replace. The most common cause is a damaged Windows component store, which SFC relies on as its source for healthy replacement files.

Why this happens

SFC checks protected Windows files and tries to repair them using copies in the component store. If that store is damaged, repairs may fail or corruption may return. DISM repairs the store; running SFC again afterward lets it use the repaired source.

  • A damaged component store can leave SFC without a healthy copy of a system file.
  • Pending updates or a restart can leave servicing work incomplete while files are being checked.
  • Disk or file-system errors can damage files again after a successful repair.

1. Restart Windows and rerun SFC

Save your work, choose Start > Power > Restart, then open Terminal (Admin) or Command Prompt (Admin) from the Start menu. Approve the User Account Control prompt and run sfc /scannow. Wait until verification reaches 100%; closing the window early can interrupt the scan.

If Windows reports that it found corrupt files and successfully repaired them, restart and run SFC once more. A message that Windows Resource Protection did not find any integrity violations confirms that no protected-file corruption remains detectable. If it could not repair some files, continue to DISM.

2. Repair the component store with DISM

In the same administrator window, run DISM /Online /Cleanup-Image /RestoreHealth. Keep the device connected to power and, if available, the internet; DISM may use Windows Update to obtain repair files. Progress can pause for a while, so let the command finish rather than closing the terminal.

A message that the restore operation completed successfully indicates the component store was repaired. If DISM reports that source files could not be found, go to Fix 3. If it completes successfully, restart Windows and run sfc /scannow again.

3. Provide a repair source if DISM cannot find files

When DISM cannot obtain files from Windows Update, use installation media that matches your Windows edition, language, and architecture. Mount the media in File Explorer and note its drive letter. Look in its sources folder for install.wim or install.esd; the available file and image indexes vary by media.

To identify an index in a WIM file, run DISM /Get-WimInfo /WimFile:D:\sources\install.wim, replacing D: with the mounted drive. Then run RestoreHealth with the correct index and file type, for example DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:INDEX /LimitAccess. Replace INDEX with the matching edition's index. Use the appropriate esd: source syntax if the media contains an ESD file. Success is DISM reporting that the restore operation completed; rerun SFC afterward.

4. Check what SFC actually reported

After SFC finishes, read its final message. If it says it found corrupt files but could not fix some of them, inspect the details with findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log in an administrator terminal. The output can help identify whether the same file remains affected across scans.

The log is technical and includes servicing activity beyond the latest scan. Look for entries marked [SR] near the scan time, rather than treating every warning in the log as a failed repair. If the same protected file remains unrepaired after DISM and another SFC scan, keep the log for further troubleshooting.

5. Install pending Windows updates

Open Settings > Windows Update on Windows 11, or Settings > Update & Security > Windows Update on Windows 10. Select Check for updates, install applicable updates, and restart if prompted. Then run DISM and SFC again in that order.

Updates can replace servicing components and provide files needed for repair. The confirmation is that DISM completes and a subsequent SFC scan reports no integrity violations, or that it repairs the remaining files successfully.

6. Check the drive for file-system problems

Open Terminal (Admin) and run chkdsk C: /scan to scan the Windows drive online. If Windows is installed on a different drive, substitute its letter. If the scan reports errors it cannot repair while Windows is running, back up important files and follow the displayed instructions to schedule a check at restart.

A clean scan, or a successful repair followed by a restart, reduces the chance that file-system errors are undoing repairs. If corruption returns repeatedly, back up your data and investigate the drive and recent hardware or software changes before repeating repair commands.

Possible causeTypical symptomQuick test
Damaged component storeSFC cannot repair some filesRun DISM RestoreHealth, then SFC
Missing repair sourceDISM says source files could not be foundCheck matching installation media
File-system errorsCorruption returns after repairRun chkdsk C: /scan

FAQ

Should I run DISM before or after SFC?

When SFC cannot repair files, run DISM /Online /Cleanup-Image /RestoreHealth first to repair the component store. Then run sfc /scannow so it can use that store to replace damaged files.

How long should DISM RestoreHealth take?

It varies with the device, connection, and amount of repair work. Progress may appear to pause, so leave the administrator window open until DISM reports completion or an error.

What if DISM and SFC both finish but corruption remains?

Restart, install pending Windows updates, and repeat DISM followed by SFC. If the same files remain damaged, check the CBS log and disk health; preserve important files before considering Windows repair or recovery options.

Repair the component store with DISM, then rerun SFC and confirm its final message after a restart. If corruption persists, back up your files and use the CBS log and drive scan results to guide Windows repair or recovery.

Photo: Ó29c / CC BY-SA 4.0 (Wikimedia Commons)

Leave a Comment