CHKDSK: The Check Disk Utility in Windows
CHKDSK (Check Disk) is the built-in Windows command-line utility that scans a drive's file system and, optionally, its physical sectors for errors. This is the full reference: every switch, how to launch it in any context, and how to read the results.
Updated September 8, 2026 · PC Utility Hub Editorial Team
What CHKDSK does
CHKDSK verifies the logical integrity of a file system (NTFS, FAT32, exFAT) by checking directory entries, security descriptors, and cluster allocation. With the /r switch it also scans the physical disk surface for bad sectors and attempts to recover readable data from damaged areas before marking them unusable.
Run without any switches, chkdsk performs a read-only report: it lists file system errors it finds but changes nothing on disk unless you add a repair switch such as /f, /r, /scan, or /spotfix.
Read-only scan vs. repair
chkdsk C: alone is always safe to run — it opens the volume for read access, walks the file system metadata, and prints a summary without writing anything. Adding /f, /r, /x, or /spotfix switches chkdsk into repair mode: it needs exclusive or near-exclusive access to the volume and will fix (or attempt to fix) whatever it finds. Use the read-only pass first if you just want to know whether a drive has problems before committing to a repair run.
Full switch reference
| Switch | Effect |
|---|---|
| /f | Fixes file system errors found on the volume. Requires exclusive access; schedules at restart for the boot drive. |
| /r | Locates bad sectors and recovers readable data from them; implies /f. Reads the entire volume, so it is the slowest option. |
| /x | Forces the volume to dismount first if needed, invalidating open handles; implies /f. Useful when chkdsk can't otherwise lock the drive. |
| /scan | Runs an online scan of an NTFS volume without dismounting it, so Windows keeps running normally while it checks. |
| /spotfix | Applies targeted fixes to problems /scan already flagged, using a brief offline period (seconds, not a full pass). |
| /offlinescanandfix | Schedules a full offline scan and fix on next boot, equivalent to a boot-time /f /r pass but invoked from the newer syntax. |
| /b | Re-evaluates bad clusters on NTFS (used together with /r on Windows 8 and later). |
| /v | Displays every file name during the scan on FAT volumes, or cleanup messages on NTFS. |
| /i | NTFS only: runs a less rigorous check of index entries, shortening scan time at the cost of thoroughness. |
| /c | NTFS only: skips checking cycles within the folder structure, also shortening scan time. |
| /l:size | NTFS only: changes the size of the log file to the specified KB value, or reports the current size if used without a number. |
Basic syntax
Run these from an elevated Command Prompt or Windows Terminal. Replace C: with the drive letter you want to check; /i, /c, and /l:size only apply to NTFS volumes.
chkdsk
chkdsk C:
chkdsk C: /f
chkdsk C: /r
chkdsk C: /scan
chkdsk C: /spotfix
chkdsk C: /f /r /xRunning CHKDSK from Windows
- 1Click Start, type cmd, and choose 'Run as administrator' (or open an elevated Windows Terminal).
- 2Type chkdsk C: and press Enter for a read-only report, or add /f or /r for a repair pass.
- 3Alternatively, right-click the drive in File Explorer, open Properties > Tools, and click Check — this runs the same engine through a graphical wrapper.
Running CHKDSK from an elevated prompt at boot
When you run chkdsk /f, /r, or /x against the drive Windows is currently booted from, Windows can't lock that volume while it's in use, so it schedules the check for the next restart instead of running immediately. Answer Y when prompted, then restart; the scan runs before Windows fully loads, showing progress through several numbered stages on a blue console-style screen.
For a non-system drive — a second internal disk or an external drive with no open files — chkdsk /f can usually run immediately without a reboot.
The 'volume is in use' schedule-at-restart flow
- 1Run chkdsk C: /f (or /r) from an elevated prompt against your system drive.
- 2Windows reports it cannot lock the volume because it is in use and asks: 'Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)'.
- 3Type Y and press Enter to queue the scan.
- 4Restart the PC; the scan runs automatically before the desktop loads.
- 5If you change your mind before restarting, run chkntfs /x C: to cancel the scheduled scan for that drive.
Running CHKDSK from recovery media
- 1Boot from Windows installation media or Windows Recovery Environment (WinRE) and choose Repair your computer.
- 2Go to Troubleshoot > Advanced options > Command Prompt.
- 3Identify the correct drive letter for Windows — it's often not C: in WinRE, since the recovery environment assigns letters differently. Use diskpart's list volume command to confirm.
- 4Run chkdsk against that drive letter with the switches you need, for example chkdsk D: /f /r.
- 5This is the only way to repair the system volume when Windows won't boot far enough to schedule an on-restart scan itself.
How long CHKDSK takes, and why it looks stuck
A read-only scan or /f pass typically finishes in a few minutes on a healthy drive. Adding /r can take from a few minutes on a small SSD to many hours on a large mechanical drive, because it physically reads every sector. chkdsk can appear frozen at the same percentage for a long stretch — this is normal during the bad-sector scan stages, since progress slows wherever damaged sectors are clustered rather than moving at a steady rate. Only treat it as truly hung if there's been no disk activity (no light, no sound) for several hours.
Warning: Forcing a shutdown mid-scan can leave the file system in a worse state than before you started, and may require the check to run again from the beginning. Only interrupt it as a last resort.
CHKDSK on SSDs
SSDs have no moving parts, so mechanical 'bad sectors' don't apply, but the NAND flash controller can still develop failing blocks and the file system layer can still get corrupted after a crash or power loss. Running chkdsk /scan or /f on an SSD is safe and useful; avoid running it obsessively, since repair passes cause writes and SSDs have finite write endurance. /r is rarely worth running on an SSD, since bad-block remapping is already handled internally by the drive's own controller — prefer /scan followed by /spotfix if problems are found.
Risks and when NOT to run CHKDSK
- If a drive is making clicking or grinding noises, or is intermittently not detected, back up data first — a repair pass on physically failing hardware can worsen corruption or make recovery harder.
- Don't run /r as a routine habit on a healthy SSD; it adds unnecessary writes for no benefit.
- If Windows reports the file system as RAW, chkdsk cannot help — there is no recognized file system for it to check. Try file recovery software before reformatting.
- If you need to recover deleted or lost files, don't run a repair pass first; recovery software reads the drive without altering it, while chkdsk can convert unreadable fragments into .chk files, changing their location.
- CHKDSK does not repair corrupted Windows system files — that's the job of System File Checker and DISM, not disk-level repair.
Reading the results in Event Viewer
- 1Open Event Viewer (eventvwr.msc).
- 2Expand Windows Logs > Application.
- 3Filter by source 'Wininit' — chkdsk logs its results under this source after a scheduled boot-time scan (older versions used a source named 'Chkdsk').
- 4Open the most recent matching event, typically Event ID 1001 or 26226, to read the full report, including bad sector counts and files recovered.
Frequently asked questions
- Does CHKDSK delete files?
- CHKDSK itself doesn't intentionally delete personal files. It can convert unreadable file fragments into .chk files in a 'found.000' folder, which effectively removes them from their original location. Back up important data before running /f or /r if you can.
- How long does chkdsk /r take?
- It depends on drive size and health: minutes on a small healthy SSD, several hours on a large mechanical hard drive with many bad sectors.
- Can I stop chkdsk once it starts?
- You can force a reboot to interrupt it, but this risks leaving the file system in a worse state. Let it finish unless the system is truly unresponsive.
- Is chkdsk the same as Check Disk in the GUI?
- Yes. Right-clicking a drive in File Explorer, choosing Properties > Tools > Check, runs the same chkdsk engine through a graphical wrapper.
- What's the difference between /scan and /spotfix?
- /scan runs a full online check without dismounting the drive, flagging problems it finds. /spotfix then applies fixes for those flagged problems using only a brief offline period, instead of a full offline repair pass.
- Why does chkdsk say the volume is in use?
- Windows can't get exclusive access to a drive with open files, most commonly the boot drive. Schedule the check for next restart when prompted, or use /x to force dismount on a non-system drive.
- Should I run chkdsk /r on an SSD?
- Rarely. SSD controllers already handle bad-block management internally; /scan and /spotfix are usually sufficient and cause fewer unnecessary writes.
- Where do I see chkdsk's results after a restart?
- Open Event Viewer, go to Windows Logs > Application, and filter by source Wininit for the full report.
Related pages
- Run CHKDSK in Windows 11Two ways to launch chkdsk in Windows 11 and how to interpret the scan.
- CHKDSK /F vs /RClear breakdown of check disk /f and check disk /r, with guidance on which to run.
- CHKDSK RepairStep-by-step chkdsk repair workflow for a corrupted internal or external drive.
- CHKDSK Stuck TroubleshootingHow to diagnose and recover from a chkdsk scan that appears frozen.
- System File CheckerBuilt-in Windows tool for scanning and repairing corrupted system files via sfc /scannow.
- Disk Utility (Disk Management)How to open and use Windows' Disk Management, the graphical disk utility.