Skip to content

VersusSSD

SFC vs CHKDSK: Which Windows Repair Tool Should You Run?

SFC and CHKDSK are both built-in Windows repair commands, but they fix different things: SFC repairs Windows' protected system files, while CHKDSK checks a drive's file system. We compare what each checks, the switches that matter, where DISM fits in, and which to run first.

By , Senior Hardware Editor

5 min read

SFC vs CHKDSK: Which Windows Repair Tool Should You Run?

When Windows starts misbehaving, two commands come up in almost every forum thread: sfc /scannow and chkdsk. They sound similar and both "scan and repair", but they look at completely different things. SFC (System File Checker) checks Windows' own protected system files. CHKDSK (Check Disk) checks the file system on a drive. A third tool, DISM, repairs the Windows image that SFC relies on.

For full step-by-step instructions, see our guides to repairing Windows 11 with DISM and SFC and checking a drive for errors with CHKDSK. This article is about choosing between them.

The short answer

SFC

CHKDSK

DISM

What it checks

Protected Windows system files

A volume's file system and file system metadata

The Windows image (component store)

When to use it

Windows features not working, system errors, freezes

Errors in a drive's file system

Before SFC, as Microsoft recommends, to provide the files SFC needs

Main repair command

sfc /scannow

chkdsk C: /f (or /r)

DISM.exe /Online /Cleanup-image /Restorehealth

Check without repairing

sfc /verifyonly

chkdsk with no parameters

Dism /Online /Cleanup-Image /CheckHealth or /ScanHealth

Needs administrator rights

Yes

Yes

Yes (run from an elevated prompt)

What SFC does

Microsoft says System File Checker scans and verifies the integrity of all protected system files and replaces incorrect versions with correct ones. Its support page lists the symptoms it's meant for: Windows features not working properly, system errors, or Windows becoming unresponsive or freezing.

The main options are:

  • sfc /scannow scans all protected system files and repairs problems when possible.

  • sfc /verifyonly scans them without making repairs.

  • sfc /scanfile=<file> and sfc /verifyfile=<file> check a single file, given its full path.

When it finishes, SFC reports one of four results: no integrity violations; it couldn't perform the operation (Microsoft suggests running it in safe mode); it found and repaired corrupt files; or it found corrupt files but couldn't fix some of them. In the last case, Microsoft explains how to pull the details out of the CBS.log file to see which files failed.

SFC doesn't look at your data or the file system on the drive. If a game file, photo or document is corrupt, SFC won't fix it.

What DISM adds

SFC replaces bad system files with known-good copies. If the source of those copies is damaged too, SFC can't finish the job. That's where DISM (Deployment Image Servicing and Management) comes in.

Microsoft's support article now tells you to run DISM before SFC, saying DISM "provides the files required to repair your corrupted files". The command is DISM.exe /Online /Cleanup-image /Restorehealth, and Microsoft says it can take several minutes. By default DISM uses Windows Update as its source; if Windows Update is broken, you can point it at another source with /Source and stop it using Windows Update with /LimitAccess.

Microsoft's DISM documentation describes sfc /scannow as a quick check of a running Windows installation and DISM /Cleanup-Image as a more extensive check that can repair problems with the component store. /CheckHealth reports whether the image is healthy, repairable or non-repairable, and /ScanHealth scans it for corruption, which takes several minutes.

What CHKDSK does

Microsoft says CHKDSK checks the file system and file system metadata of a volume for logical and physical errors. That's the structure that keeps track of where files are and how much space is used, not Windows' system files. Microsoft says CHKDSK can be used only for local disks, which includes secondary drives as well as the Windows drive.

The switches that matter most:

  • chkdsk with no parameters only shows the status of the volume and doesn't fix anything. Microsoft notes that on a drive that's in use it might report spurious errors, because it can't lock the drive.

  • /f fixes errors on the disk. The disk must be locked; if CHKDSK can't lock it, it offers to check the drive the next time you restart. For the boot drive, CHKDSK restarts the computer automatically after checking it.

  • /r locates bad sectors and recovers readable information. It includes everything /f does, plus analysis of physical disk errors.

  • /scan runs an online scan on an NTFS volume, and /spotfix runs spot fixing.

Microsoft also notes that chkdsk /f can take a long time on a large disk or one with millions of files. Interrupting CHKDSK isn't recommended, but Microsoft says cancelling it shouldn't leave the volume any more corrupt than before, and running it again should repair any remaining corruption.

CHKDSK fixes file system problems. It doesn't repair a failing SSD or hard drive. If it keeps finding errors, or a health tool such as CrystalDiskInfo flags the drive, back up your data and read our guides to checking SSD health and what CrystalDiskInfo's Caution and Bad warnings mean.

Which should you run?

Run DISM, then SFC, if Windows itself is misbehaving. Microsoft lists Windows features not working properly, system errors and Windows freezing as the symptoms of missing or corrupted system files, and its support page now recommends running DISM first.

Run CHKDSK if the problem is with a drive's file system. In our view, Windows asking to scan and fix a drive, files or folders that suddenly won't open, or a drive that was unplugged mid-write are good reasons to check it. Start with a read-only chkdsk to see the status, then use /f, or /r if you suspect physical errors.

Not sure? Run both, one at a time. They don't overlap, so running one doesn't make the other unnecessary. Do it in an administrator Command Prompt or Windows Terminal, and don't close the window while SFC is running: Microsoft says not to close it until verification is 100% complete.

If Windows won't start, use the Windows Recovery Environment. Startup Repair is designed for that job, and SFC has offline options (/offwindir and /offbootdir) for repairing an installation you're not running from.

If neither fixes the problem, the next steps are System Restore or an in-place repair install of Windows 11 that keeps your files.

Our verdict

SFC and CHKDSK aren't alternatives; they fix different layers. Use SFC, after DISM as Microsoft now recommends, when Windows itself is faulty: missing or corrupt system files cause broken features, errors and freezes. Use CHKDSK when a drive's file system is the problem, such as drive errors or files that suddenly won't open. Start CHKDSK without switches to see the status, then use /f to fix errors, or /r to check for bad sectors too. Neither tool will rescue a failing drive, so if CHKDSK keeps finding errors, back up first and check the drive's health.

The bottom line

SFC and CHKDSK aren't alternatives; they fix different layers. Use SFC, after DISM as Microsoft now recommends, when Windows itself is faulty: missing or corrupt system files cause broken features, errors and freezes. Use CHKDSK when a drive's file system is the problem, such as drive errors or files that suddenly won't open. Start CHKDSK without switches to see the status, then use /f to fix errors, or /r to check for bad sectors too. Neither tool will rescue a failing drive, so if CHKDSK keeps finding errors, back up first and check the drive's health.

Sources

  1. 01Microsoft Support, Use the System File Checker tool to repair missing or corrupted system files
  2. 02Microsoft Learn, sfc command reference
  3. 03Microsoft Learn, Repair a Windows Image
  4. 04Microsoft Learn, chkdsk command reference
  5. 05Microsoft Support, Windows Recovery Environment

About the author

Callum Reid

Senior Hardware Editor

Callum leads GPU, CPU and platform architecture coverage at Forge PC. Before joining the editorial desk, he spent nine years specifying, assembling and stress-testing custom gaming and workstation systems in the UK, with a focus on PCIe bandwidth, VRM thermal design, DDR5 memory tuning and 1440p/4K frame-time consistency.

More from Callum Reid

Read next

How to Use Driver Verifier in Windows 11 to Find a Faulty Driver

How-To

How to Use Driver Verifier in Windows 11 to Find a Faulty Driver

Driver Verifier is built into Windows 11 and can make a misbehaving driver crash in a way that points straight at it. How to prepare, choose standard settings and suspect drivers, read the resulting 0xC4 blue screen, and turn Driver Verifier off again, even if Windows won't start.

Marcus Thorne6 min

Best Built-in Windows 11 Troubleshooting Tools in 2026

Best Picks

Best Built-in Windows 11 Troubleshooting Tools in 2026

Windows 11 already includes the tools you need to diagnose crashes, freezes, bad RAM and drive errors. We rank the seven built-in tools worth knowing, from Reliability Monitor and Event Viewer to Windows Memory Diagnostic, CHKDSK, DISM and SFC, Resource Monitor and the Windows Recovery Environment, and explain when to use each.

Hannah Vance6 min

How to Use Fluid Dictation on a Copilot+ PC in Windows 11

How-To

How to Use Fluid Dictation on a Copilot+ PC in Windows 11

Fluid dictation on Copilot+ PCs uses an on-device AI model to fix grammar, punctuation and filler words as you speak. How to turn it on in voice access or voice typing, undo corrections and fix a dimmed option.

Marcus Thorne5 min

KoboldCpp vs Ollama: Which Should You Use to Run Local AI?

Versus

KoboldCpp vs Ollama: Which Should You Use to Run Local AI?

KoboldCpp or Ollama for running AI models on your PC? We compare setup, getting models, built-in interfaces, API compatibility, GPU support and extras such as image and speech generation, using the official documentation.

Callum Reid7 min