SFC — System File Checker — is the single most useful repair command in Windows, and sfc /scannow is the version you will reach for whenever system files are suspect: blue screens, updates that will not install, features that broke for no reason. It is simple to run but easy to run wrong: wrong order relative to DISM, wrong interpretation of the results, or giving up when the first scan cannot fix everything.
This guide covers the correct way to run it on Windows 11 24H2 — including the offline variant for when Windows will not boot — what each possible result message means, and the exact follow-up steps for each outcome.
Why this happens
SFC exists because system files get corrupted. The usual ways:
- Interrupted Windows updates. Power loss or forced shutdowns mid-update leave files half-written.
- Disk errors. Bad sectors damaging files SFC protects.
- Malware. Infections modifying or replacing system files.
- Bad shutdowns. Repeated hard power-offs corrupting files mid-write.
- Failed driver or software installs. Installers overwriting shared system files.
- Aging component store. The repair source itself degrading, which is why DISM matters.
How to fix it
Work through these in order — the sequence matters.
Fix 1: Run SFC correctly as administrator
The baseline scan, done right.
- Press
Win + Xand choose Terminal (Admin). - Type
sfc /scannowand press Enter. - Wait for it to reach 100% — typically 10 to 30 minutes. Do not close the window.
- Read the result message carefully (interpretations in Fix 3).
- Restart the laptop after any repair, even if Windows does not ask.
Fix 2: Run DISM first if SFC fails or cannot repair
SFC pulls replacement files from the component store — if the store is damaged, SFC fails. DISM repairs the store.
- In Terminal (Admin), run
DISM /Online /Cleanup-Image /RestoreHealth. - Wait for completion — 15 to 30 minutes, longer on slow connections since it may download files.
- When DISM finishes successfully, run
sfc /scannowagain. - This DISM-then-SFC order is the professional standard; memorize it.
Fix 3: Interpret the SFC result correctly
SFC reports one of four outcomes — each means something specific:
- “Windows Resource Protection did not find any integrity violations.” Your system files are fine; the problem lies elsewhere (drivers, hardware, configuration).
- “Found corrupt files and successfully repaired them.” Fixed — restart and retest whatever was broken. Check details in
C:\Windows\Logs\CBS\CBS.logif curious. - “Found corrupt files but was unable to fix some of them.” Run DISM (Fix 2), then SFC again. If it still cannot fix them, the offline method in Fix 4 or an in-place upgrade is next.
- “Could not perform the requested operation.” Usually means SFC was not run as admin, or Windows Modules Installer service is disabled — enable it in
services.mscand retry elevated.
Fix 4: Run SFC offline from the recovery environment
When Windows will not boot, run SFC against the offline installation.
- Boot into WinRE (triple force-shutdown, or USB media > Repair your computer).
- Open Command Prompt from Troubleshoot > Advanced options.
- Find your Windows drive letter:
diskpart,list vol,exit— it is often D: or E: here, not C:. - Run
sfc /scannow /offbootdir=D:\ /offwindir=D:\Windowsusing the correct letter. - Follow with offline DISM:
DISM /Image:D:\ /Cleanup-Image /RestoreHealth. - Type
exit, choose Continue, and boot normally.
Fix 5: Point DISM at an ISO when online repair fails
If DISM cannot reach Windows Update for source files:
- Download the Windows 11 ISO from Microsoft’s Windows 11 download page and double-click to mount it; note the drive letter.
- In Terminal (Admin), run
DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\Sources\install.wim:1(adjust letter; use install.esd if present). - Then run
sfc /scannowagain.
Fix 6: Do an in-place upgrade when repairs cannot finish
If SFC and DISM both fail to produce a clean system:
- Back up your important files.
- Run the Media Creation Tool from Microsoft’s Windows 11 download page , choose Upgrade this PC now, keep files and apps.
- The upgrade reinstalls Windows over itself with fresh files.
- Run
sfc /scannowafterward to confirm a clean result.
For booting into the recovery environment, see our Safe Mode guide , and for servicing errors SFC cannot touch, our 0x800f0900 repair walkthrough goes deeper on component store damage. Microsoft documents the tool officially on Microsoft Support .
Fix 7: Make SFC part of routine maintenance (and know its limits)
SFC is a repair tool, not a monitoring tool — use it deliberately.
- After every major Windows update, consider a quick
sfc /scannowto catch update-induced corruption early. - If you run SFC monthly “just in case” and it always finds nothing, that is normal and healthy — stop worrying.
- Know what SFC cannot fix: driver bugs, hardware faults, malware infections, and registry corruption are all outside its scope. If SFC is clean but problems persist, the cause is elsewhere — check drivers, test the RAM, and scan for malware instead of re-running SFC hoping for a different result.
- Keep a log: if SFC repeatedly finds and repairs the same files, something is actively corrupting them — usually a failing drive. Run
chkdsk C: /f /rand check SMART health rather than repairing forever.
Closing
SFC is simple, but the order of operations is what makes it effective: DISM repairs the store, SFC repairs the files, and the offline flags let you do both when Windows will not boot. Learn to read the four result messages instead of just hoping for the best, and keep the ISO-source trick ready for machines with broken update pipelines. Run this sequence before you ever consider reinstalling — it resolves an enormous share of “Windows is acting weird” problems with zero data risk.
