Windows PC

SFC vs DISM: Safe Windows Repair Order and Results

SFC vs DISM is a Windows repair workflow, not a product contest. Microsoft recommends repairing the component store with DISM and then checking protected system files with SFC when corruption is suspected. This guide explains the safe command order, how to interpret results, and when another diagnostic is more useful.

SFC vs DISM comparison
Original TrueFixGuides decision graphic for SFC vs DISM.

SFC vs DISM: the quick answer

SFC vs DISM: use both when you suspect Windows system-file corruption. DISM checks and repairs the Windows component store, while System File Checker checks protected system files and replaces damaged copies when it can. Microsoft’s current user guidance runs DISM.exe /Online /Cleanup-Image /RestoreHealth first, waits for success, and then runs sfc /scannow. Neither command repairs every Windows problem.

If the PC cannot connect to Windows Update, DISM may need an appropriate repair source. If a drive is physically failing, the priority is preserving data and diagnosing storage, not repeating corruption scans. A single broken third-party app, driver, or network connection may have no relationship to either tool.

Question SFC DISM
What does it target? Protected Windows system files Windows image and component store
Typical command sfc /scannow DISM.exe /Online /Cleanup-Image /RestoreHealth
When in Microsoft’s repair sequence? After DISM completes successfully Before SFC when corruption is suspected
Can it need an external repair source? Uses Windows repair mechanisms Yes, particularly if the default source is unavailable

How this guide was checked

This is a documentation-based comparison of the tools’ scope, command order and reported outcomes. The command syntax and order were checked against Microsoft’s current Windows support pages; component-store and repair-source details were checked against Microsoft Learn. The article does not claim that the commands were run on a representative test machine or that they will fix every reported error.

The right success test is the reader’s original failing task after the scan, not a ranking of the tools by speed. Running both tools repeatedly on a healthy PC adds little diagnostic value. Where Microsoft describes several valid repair paths, this guide favors the standard online sequence and directs specialized offline work to the vendor documentation.

What SFC and DISM actually repair

In SFC vs DISM, System File Checker is the tool for Windows Resource Protection files. It scans protected operating-system files and tries to replace corrupted versions. It does not check whether your personal documents are intact, remove malware, repair a worn SSD, or reinstall an unrelated application. An SFC result about protected files is evidence about that scope only.

In SFC vs DISM, Deployment Image Servicing and Management is the broader Windows image-servicing tool. Its /Cleanup-Image options can check and repair the component store for the running system when paired with /Online. Microsoft also documents servicing offline images, but that is a different procedure with different paths. This guide uses the currently running Windows installation only.

The SFC vs DISM relationship matters: if the component store that supplies repair material is damaged, SFC can report that it found corrupt files but could not fix some. Repairing the store with DISM can allow a subsequent SFC pass to finish. In SFC vs DISM, a successful DISM run does not replace the SFC check; a clean SFC result does not guarantee that every app, update or driver works.

Before you run either command

Before an SFC vs DISM repair, back up work that cannot be replaced, especially if Windows has repeated crashes, storage errors or an unusual drive sound. Keep the PC connected to reliable power. Save open files and close programs that may interfere with a restart. If this is a managed work PC, follow your organization’s repair process; Windows Update access and repair sources may be controlled by policy.

Open Command Prompt as administrator from Windows Search. Microsoft specifies an elevated command prompt for this sequence. Confirm that the prompt belongs to the Windows installation you intend to repair. The commands below do not ask you to select a disk or delete files. Do not copy extra switches from an untrusted script.

Write down the exact symptom and the most recent change before starting. If only one app crashes while Windows otherwise works, first use that app’s official repair or update process. If Windows cannot boot normally, use Microsoft’s recovery guidance rather than assuming these online commands can run from a normal desktop.

SFC vs DISM: safe repair sequence on Windows 11

1. Repair the running Windows image with DISM

For the SFC vs DISM sequence, run the command below exactly at the elevated prompt. /Online refers to the running Windows installation, not an internet service. /Cleanup-Image selects image servicing, and /RestoreHealth scans and repairs damage it can address. The command can take time; allow it to finish before starting another repair.

DISM.exe /Online /Cleanup-Image /RestoreHealth

Expected result: Microsoft says to continue when “The operation completed successfully” appears. If DISM instead reports that source files could not be found, check Windows Update connectivity and the managed update policy. Do not invent a /Source path: it must point to a suitable Windows repair source.

2. Check protected system files with SFC

Once DISM succeeds, the SFC vs DISM sequence continues in the same elevated prompt:

sfc /scannow

Wait until verification reaches 100 percent. Do not close the window while it is scanning. Then read the final Windows Resource Protection message; “no integrity violations,” “found corrupt files and successfully repaired them,” and “found corrupt files but was unable to fix some” lead to different next actions.

3. Restart and test the original problem

Save the command results, restart Windows when prompted or after repairs, and repeat the exact task that failed before. A scan completing successfully is not the same as the original symptom being solved. For example, try opening the affected built-in feature or repeating the update rather than launching unrelated programs.

Rollback and safety: These tools do not have a simple “undo last scan” button. Before any larger repair, keep a backup and available recovery options. If storage warnings continue or corruption rapidly returns, stop repeated scans and investigate the underlying drive or power problem.

How to interpret the SFC result

No integrity violations: protected system files tested by SFC appear intact. Do not run repeated scans hoping to repair a different class of problem. Investigate the affected app, account, device, driver or update instead.

Files repaired: restart and retest the original symptom. Record whether Windows behavior changed. A repaired file may be incidental, so avoid claiming success until the actual task works again.

Some files could not be repaired: confirm that DISM completed successfully first, then run SFC again. If it still cannot repair files, Microsoft’s detailed SFC article explains how to examine the CBS log for [SR] entries. Log excerpts may include system paths and other information; remove private details before sharing them.

Operation could not be performed: note the exact text and whether Windows is in Safe Mode or another unusual state. Do not substitute a random registry-cleaning tool. Use Microsoft’s recovery or SFC troubleshooting instructions for that message.

DISM CheckHealth, ScanHealth and repair sources

/CheckHealth quickly reports whether the component store has already been flagged as corrupted and whether it is repairable. /ScanHealth performs a more extensive scan. /RestoreHealth checks and performs repair. These are not three mandatory commands to run before every SFC scan; Microsoft’s consumer sequence goes straight to RestoreHealth when troubleshooting suspected corruption.

DISM.exe /Online /Cleanup-Image /CheckHealth
DISM.exe /Online /Cleanup-Image /ScanHealth

In an SFC vs DISM investigation, use these diagnostic options when you need to learn the image state or troubleshoot a failed RestoreHealth. Microsoft Learn documents /Source as a way to supply repair files and /LimitAccess as a way to prevent using Windows Update for an online repair. A source must match the installation well enough to supply the required files; on a managed PC, the administrator may provide one.

In SFC vs DISM instructions, a sample repair-source path is not a path on your computer. Do not paste a command containing C:\RepairSource\Windows until that directory genuinely exists and contains an appropriate repair source. If DISM reports a non-repairable image or source error, preserve the exact error and use the relevant Microsoft recovery guidance rather than trying arbitrary third-party images.

Which tool fits your symptom?

What you observe Best next step Why
Windows features fail and system-file corruption is plausible Run the Microsoft DISM-then-SFC sequence Checks component store, then protected files
SFC says it could not repair some files Confirm DISM success and rerun SFC Store damage may prevent replacement
DISM cannot find source files Check update access or obtain an approved repair source It cannot repair without required files
One third-party app crashes Update or repair that app first Its files may be outside SFC’s scope
Drive errors, clicking, or repeated corruption Back up and diagnose storage Repeated software scans do not repair failing hardware
No network access Use network diagnostics Neither tool is a general network repair utility

An SFC vs DISM check may help if a Windows update failure involves the component store. Other causes include storage, policy, a temporary service problem or the update package itself. Record the update error code and follow Microsoft’s update troubleshooting if the integrity scans finish cleanly.

When neither SFC nor DISM is the right fix

SFC vs DISM does not recover deleted documents, remove a browser extension, repair a broken peripheral, replace a failing drive, or guarantee a successful feature update. A personal-file problem needs a backup or file-recovery route. A single application problem usually starts with its own repair or reinstall instructions. A hardware symptom needs device diagnostics.

If Windows corruption persists after the SFC vs DISM sequence, consider Microsoft’s Windows recovery options in order of impact. A restore point, in-place repair and resetting Windows have different effects on installed applications and settings. Check the current Microsoft recovery page and back up data before selecting one. Do not jump from an SFC message straight to a factory reset.

Frequently asked questions

Should I run SFC or DISM first?

For SFC vs DISM on suspected Windows corruption, Microsoft’s current user instructions run DISM.exe /Online /Cleanup-Image /RestoreHealth first, then sfc /scannow. If you already ran SFC and it could not fix files, run DISM and repeat SFC.

Does SFC delete my personal files?

SFC targets protected Windows system files, not your personal document library. Still, back up important files before repair because a PC showing repeated corruption may have a separate storage problem.

Does DISM require internet access?

An online image repair can use Windows Update as a repair source. An approved local or network source can be specified when needed. The /Online switch itself means the currently running Windows image; it does not mean an internet connection.

How long should I wait?

Microsoft says DISM may take several minutes to start and complete. SFC should be allowed to reach 100 percent. Duration varies with the computer and repair work, so use the final result rather than a fixed time estimate.

Can I close the window at 62 percent?

No. Let the current command complete. If it appears stalled for a long period, note the phase and check Microsoft’s guidance before restarting. Interrupting a servicing operation can complicate diagnosis.

What if both tools finish but the problem remains?

Retest the exact original symptom, then investigate its own error and scope. A clean system-file scan does not rule out application, driver, account, network or hardware causes.

The SFC vs DISM command order and scope here follow Microsoft’s current System File Checker and Windows image repair documentation. Confirm the instructions for your Windows version when a menu or error message differs.

For specific symptoms, see the Windows troubleshooting hub, Windows Update stuck guide, and File Explorer not responding guide.

Conclusion

In an SFC vs DISM decision, the tools usually work together rather than compete. Use DISM to repair the component store when Windows corruption is plausible, follow it with SFC to check protected files, and then test the original failing task. If the results are clean but the symptom remains, move to the relevant app, update, network or hardware diagnostic instead of repeating the same scans.

Keep troubleshooting

Need a different starting point?

Explore the Windows PC guide →

Report a problem with this article

About Antoine Lamine

Antoine Lamine writes and maintains troubleshooting guides at TrueFixGuides, covering Windows, macOS, mobile devices, apps, and AI tools. Articles include diagnostic steps and links to supporting sources. Readers can report errors or version-specific differences through the contact page.

Author profile →