How to Guide, Microsoft Windows

SFC vs DISM vs CHKDSK: Which Windows Repair Tool to Run First?

SFC vs DISM vs CHKDSK Windows repair tools illustrated with a monitor, wrench and hard drive

In the SFC vs DISM question, the short answer is to run DISM first, then SFC. DISM repairs the Windows component store that SFC copies its replacement files from, and SFC then fixes the system files themselves. CHKDSK is a separate tool: it checks the disk’s file system and sectors, so use it when you suspect a drive problem rather than damaged Windows files.

Key takeaways

  • SFC (sfc /scannow) checks and replaces protected Windows system files.
  • DISM (/RestoreHealth) repairs the component store SFC relies on, so Microsoft recommends running it before SFC.
  • CHKDSK repairs file system errors and bad sectors on a drive; it does not fix Windows files.
  • Typical order for a misbehaving PC: back up, CHKDSK scan if the disk is suspect, then DISM, then SFC, then restart.
  • None of these tools affect Windows activation; they can’t fix a missing or invalid licence.

SFC vs DISM vs CHKDSK at a glance

Each tool works at a different layer. SFC fixes individual Windows system files, DISM fixes the image and component store those files come from, and CHKDSK fixes the file system and disk surface underneath everything. Picking the right one depends on which layer is damaged.

SFC DISM CHKDSK
Full name System File Checker Deployment Image Servicing and Management Check Disk
What it repairs Protected system files (DLLs, drivers, executables) The Windows image and component store (WinSxS) NTFS file system errors and bad sectors
Main command sfc /scannow DISM /Online /Cleanup-Image /RestoreHealth chkdsk C: /scan or chkdsk C: /f
Repair source Local component store Windows Update or a mounted image File system metadata on the drive
Typical time 10–30 minutes 10–30 minutes, sometimes longer Seconds for /scan; hours for /r on a large hard drive
Needs internet No Usually (unless you give a /Source) No
Restart needed Recommended after repairs Recommended after repairs Yes for /f or /r on the system drive

All three run from an elevated Command Prompt or Terminal: right-click Start and choose Terminal (Admin). They are built into Windows 11 and Windows 10, so there is nothing to download.

Which Windows repair tool should you run first?

For crashes, broken Settings pages, failing updates or apps that won’t open, run DISM first and SFC second; this is the order Microsoft gives in its System File Checker support article. If you see disk errors, slow file access or a drive that clicks, start with CHKDSK instead.

The logic is simple. SFC replaces a damaged file with a clean copy from the component store, so if the store is also damaged, SFC reports that it “was unable to fix some of them”. Running DISM first repairs the store, which gives SFC good copies to work with.

Match the symptom to the tool

Symptom Start with
Blue screens naming a system file, Start menu or Settings not opening DISM, then SFC
Windows Update fails repeatedly DISM, then SFC
“The file or directory is corrupted and unreadable” CHKDSK
Files vanish or folders show strange names CHKDSK (back up first)
PC suddenly very slow after a power cut CHKDSK scan, then DISM and SFC
“Activate Windows” watermark None of these; it’s a licence issue

A support request we see often is someone running SFC to clear an activation message. Repair tools can’t create or restore a licence; if that’s your issue, see how to remove the Activate Windows watermark properly instead.

Technician checking a hard drive while a disk scan runs, illustrating CHKDSK and SFC repairs

How to run sfc /scannow

Open Terminal as administrator, type sfc /scannow and wait for verification to reach 100%. SFC checks every protected system file and replaces damaged ones from the component store. Restart afterwards if it reports repairs.

  1. Right-click Start and select Terminal (Admin). Approve the User Account Control prompt.
  2. Type sfc /scannow and press Enter.
  3. Leave the window open until verification reaches 100%. Don’t close it at 99% even if it pauses.
  4. Read the result message and restart the PC if files were repaired.

What the SFC results mean

  • “Windows Resource Protection did not find any integrity violations.” System files are fine; look elsewhere (drivers, disk, apps).
  • “…found corrupt files and successfully repaired them.” Restart and check whether the problem has gone.
  • “…found corrupt files but was unable to fix some of them.” Run DISM /RestoreHealth, restart, then run SFC again.
  • “…could not perform the requested operation.” Try again in Safe Mode.

SFC writes its details to C:\Windows\Logs\CBS\CBS.log. To pull out just the SFC lines, run findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt".

How to run DISM /RestoreHealth

Run DISM /Online /Cleanup-Image /RestoreHealth in an admin Terminal while connected to the internet. DISM compares the component store with clean files, normally downloaded from Windows Update, and replaces anything damaged. Then run SFC again.

  1. Open Terminal (Admin).
  2. Optional quick check: DISM /Online /Cleanup-Image /CheckHealth reports whether corruption has already been flagged.
  3. Optional deeper scan: DISM /Online /Cleanup-Image /ScanHealth scans without repairing.
  4. Repair: DISM /Online /Cleanup-Image /RestoreHealth. Progress may sit at 20% or 62% for a while; that is normal.
  5. When it reports “The restore operation completed successfully”, run sfc /scannow, then restart.

If Windows Update itself is broken, DISM can fail with a “source files could not be found” error. Mount a Windows 11 ISO of the same version and point DISM at it with /Source:WIM:D:\sources\install.wim:1 /LimitAccess (change the drive letter and index to match). The full option list is in Microsoft’s Repair a Windows image documentation, and our dedicated DISM /RestoreHealth guide walks through each error.

How to run CHKDSK safely

Start with a read-only online check, chkdsk C: /scan, which runs while Windows is in use. Only move on to /f (fix file system errors) or /r (also locate bad sectors) if problems are reported, and back up important files first, because repairs can remove damaged entries.

Command What it does When to use it
chkdsk C: Read-only check, reports only Quick health look
chkdsk C: /scan Online NTFS scan, Windows stays usable First step on NTFS drives
chkdsk C: /spotfix Fixes issues found by /scan, briefly offline After /scan reports problems
chkdsk C: /f Fixes file system errors; system drive is checked at next restart Corruption messages, unreadable folders
chkdsk C: /r Includes /f and also locates bad sectors and recovers readable data Suspected failing hard drive

On the Windows drive, /f and /r can’t lock the volume while you’re using it, so CHKDSK asks to schedule the check at next restart. Type Y, restart and let it finish. On a large spinning hard drive, /r reads every sector and can take hours; on an SSD there is less reason to run it, and the drive maker’s own health tool is usually more informative. Full switches are listed in the chkdsk command reference.

If CHKDSK keeps finding new bad sectors, treat the drive as failing. Copy your data off, then consider moving to a new SSD; our guide to cloning an HDD to an SSD covers the process. If files have already gone missing, see how to recover deleted files on Windows 11 before writing anything new to the disk.

What to do when the repair tools fail

If DISM and SFC both complete but the fault remains, the damage is probably outside protected system files: a driver, a third-party app, a user profile or hardware. Work up from the least disruptive option to a reset or clean install.

  1. Uninstall the most recent update or driver installed before the problem began.
  2. Try a new local user account to rule out a damaged profile.
  3. Use System Restore if a restore point exists.
  4. Run an in-place repair: launch setup.exe from a mounted Windows 11 ISO and choose to keep files and apps.
  5. Use Settings > System > Recovery > Reset this PC, or do a clean install from a Windows 11 bootable USB.

If the PC won’t reach Windows at all and drops into firmware setup, our guide on how to enter UEFI/BIOS on Windows 11 covers boot order and boot-mode fixes.

Repaired Windows but it now says it isn’t activated?

Repairs and in-place upgrades normally keep activation, but a clean install on new hardware or a replaced motherboard may not. If you need a licence for that machine, a Windows 11 Pro OEM key is a cost-effective option for a single PC. Check your status first with our guide on how to check if Windows 11 is activated.

Frequently asked questions

Should I run SFC or DISM first?

Run DISM first, then SFC. Microsoft’s own guidance lists DISM /Online /Cleanup-Image /RestoreHealth before sfc /scannow, because SFC repairs files using the component store. If the store is damaged, SFC can’t finish its repairs. Running DISM first fixes the store and gives SFC clean copies to use.

Is it safe to run sfc /scannow?

Yes. SFC only replaces protected Windows system files with Microsoft’s own versions and does not touch your documents, photos or installed apps. The main risk is interrupting it, so keep the window open until verification reaches 100%, keep laptops plugged in, and restart once it has finished making repairs.

Does CHKDSK fix corrupted Windows files?

No. CHKDSK repairs the file system structure and marks bad sectors on a drive, which can make unreadable files readable again, but it doesn’t check whether Windows system files are the correct versions. For damaged Windows files, use DISM and SFC. CHKDSK is for disk-level errors.

How long does DISM RestoreHealth take?

Usually 10 to 30 minutes, depending on your internet speed, the drive and how much needs repairing. It often appears stuck at 20% or 62% for several minutes, which is normal. If there is no progress for over an hour, restart and try again with an ISO as the repair source.

Is CHKDSK safe on an SSD?

The /scan and /f options are fine on an SSD because they only check file system structures. The /r option, which reads every sector, adds little on SSDs since the drive’s controller handles bad blocks itself. Use the SSD manufacturer’s tool to check drive health, wear and firmware instead.

Will SFC or DISM affect my Windows activation?

No. Both tools repair system files and the component store without touching licensing or your product key. Equally, they can’t fix activation errors or remove an Activate Windows watermark. If activation is the issue, check your status in Settings > System > Activation and use a valid licence for your edition.

The bottom line

Use DISM, then SFC, for damaged Windows files, and CHKDSK for disk and file system errors. Back up first when a drive looks suspect, and move to a repair install or reset only when those tools come up clean but the fault persists. For a fresh start on a repaired PC, our Windows 11 Pro download and installation guide covers the whole process.

Resource Why it helps
DISM /RestoreHealth guide Step-by-step DISM repair and error fixes
How to enter UEFI/BIOS on Windows 11 Fixes for PCs that won’t boot into Windows
Clone HDD to SSD Move off a failing hard drive
Recover deleted files on Windows 11 Options if CHKDSK finds lost data
Windows 11 Pro OEM key Licence for a rebuilt single PC
Microsoft Support: System File Checker Official SFC and DISM order
Microsoft Learn: Repair a Windows image DISM options including /Source
Microsoft Learn: chkdsk Full list of CHKDSK switches

Leave a Reply

Your email address will not be published. Required fields are marked *