Last updated on November 10th, 2026 at 10:45 am
After a crash, freeze or power cut on Windows 10, open Command Prompt as administrator and run chkdsk C: /scan. It keeps the drive usable, needs no restart, and also works on external NTFS drives. If it reports no problems, the file system came through fine. If it reports errors, move up to the repair commands below, starting with /spotfix and only then a full repair at the next restart.
Start with a scan that does not lock the drive
The /scan switch runs an online check on an NTFS volume, so Windows and your apps keep working while it reads. It is the safest first step after an unexpected shutdown.
- Select Start, type
cmd, right-click Command Prompt, and choose Run as administrator. Select Yes on the User Account Control box (or enter an administrator password if asked). (Other ways are in opening Command Prompt in Windows 10.) - Type
chkdsk C: /scanand press Enter. Use another letter, such asD:, for a different drive. - Wait for the scan to finish. On a typical SSD this takes a few minutes; a large, busy hard drive takes longer.
- Read the last lines of the report.
What the result means:
- No problems found: stop here. The file system is fine, and the crash came from somewhere else (see the SFC and blue screen links near the end).
- Problems found: go to the next section.
- Running chkdsk C: with no switches: also read-only, but Microsoft warns that on a drive in use it can report false errors, which is one more reason to use /scan.
If you script checks, CHKDSK also returns an exit code: 0 means no errors, 1 means errors were found and fixed, 2 means cleanup was done or skipped because /f was not used, and 3 means the disk could not be checked or errors could not be fixed.
PowerShell users can run the same online check with Repair-Volume -DriveLetter C -Scan in an administrator window.
Pick the repair rung that matches what the scan found
Climb only as far as the symptoms need. Each rung below takes longer and locks the drive for more of the time.
| What you see | Command | PowerShell equivalent | Restart for C:? |
|---|---|---|---|
| Scan reports problems it logged for repair | chkdsk C: /spotfix | Repair-Volume -DriveLetter C -SpotFix | Usually yes, brief |
| Spotfix did not clear them, or files and folders vanish or show odd names | chkdsk C: /f | Repair-Volume -DriveLetter C -OfflineScanAndFix | Yes |
| Clicking or grinding noises, read errors, very slow file copies | chkdsk C: /r (includes /f) | None | Yes, and it can take hours |
| You just copied the volume onto a new drive and want a fresh bad-sector map | chkdsk C: /b (includes /r) | None | Yes |
A worked example: Alex’s desktop lost power during a Windows update. The /scan run reports errors and suggests /spotfix. Alex runs chkdsk C: /spotfix, agrees to the restart, and the PC spends under a minute on the repair before Windows loads. A second /scan comes back clean, so there is no need for /r.
Two more switches can help. /x dismounts the volume first (it includes /f), which is useful for external drives. /v lists each file as it is checked. Run chkdsk /? for the full list, or see Microsoft’s chkdsk command reference.
Repair drive C: at the next restart
Windows cannot repair the drive it is running from, so any /f, /r or /b run on C: ends with a question: Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)
- Type Y and press Enter.
- Save your work, close apps, and restart from Start > Power > Restart.
- Let the check run on the black screen before Windows loads. Do not press a key if a countdown offers to skip it.
- Sign in when Windows starts.

The report scrolls past too fast to read, so look it up afterward. Press Windows key + R, type eventvwr.msc, and press Enter. Open Windows Logs > Application, select Filter Current Log, and choose the Chkdsk and Wininit event sources. The newest entry holds the full text of the boot time check.
A long /r pass may sit on one percentage for a long time while it reads damaged areas. Leave it running. Microsoft does not recommend interrupting CHKDSK, but notes that stopping it should not leave the volume more corrupt than before.
Use Error checking in File Explorer
If you prefer not to type commands, Windows 10 has a button that runs the same kind of check.
- Press Windows key + E and select This PC.
- Right-click the drive, such as Local Disk (C:), and select Properties.
- On the Tools tab, under Error checking, select Check.
- Follow the prompt to scan the drive. If Windows finds errors, it offers a repair; for C: that repair may need a restart.

Check a USB or external drive
External drives often pick up errors when they are unplugged without ejecting. To check one:
- Close any files or folders open on the drive, and note its letter in This PC (for example E:).
- In an administrator Command Prompt, run
chkdsk E: /f /x. - Because /x dismounts the drive first, any file still open on it is cut off. No restart is needed for a non-system drive.
- When it finishes, eject the drive properly before unplugging it, as shown in safely ejecting an external hard drive in Windows 10.
If CHKDSK reports the file system as RAW or refuses to check the drive, Windows cannot read the file system at all. Do not format the drive if it holds files you need; recover the data first.
Windows 10 will not start: run it from the recovery Command Prompt
When the crash left Windows unable to boot, you can still run CHKDSK from Windows Recovery Environment (WinRE). On a Windows 11 PC, follow the steps to run CHKDSK in Windows 11 instead.
Before you start: if the drive uses BitLocker or device encryption, have the recovery key ready, because most recovery tools ask for it.
- Reach the blue recovery menu. If the sign-in screen appears, hold Shift and select Power > Restart. If Windows fails to start twice in a row, it usually opens the menu by itself. The full set of routes is in entering recovery mode in Windows 10.
- Select Troubleshoot > Advanced options > Command Prompt. If Command Prompt is not listed, start from Windows 10 installation media and press Shift+F10 instead.
- Find the Windows drive. The Windows drive may not be C: in recovery, so type
dir C:\anddir D:\until you see the Windows and Users folders. - Run
chkdskon that letter with/f(or/rif you suspect bad sectors). No restart prompt appears, because Windows is not using the drive. - Type
exitand select Continue to try Windows again.
If Windows still will not start, running Startup Repair in Windows 10 is the next tool on the same menu.
Stop CHKDSK from running at every start
A check that runs at every boot means the volume is still marked dirty (flagged as needing a check). Let it finish once without skipping. If it keeps coming back:
- In an administrator Command Prompt, run
fsutil dirty query C:. It reports whether the volume is dirty. - Run
chkntfs C:to see whether a check is scheduled. - To skip the boot check while you sort things out, run
chkntfs /x C:. To restore normal behavior later, runchkntfs /d.
A dirty flag that CHKDSK never clears usually points to a failing drive. Skipping the check hides the symptom, so back up your files right away.
When errors keep coming back
Repeated errors after a clean repair suggest hardware rather than a one-off crash. Check the drive’s own health report with Get-PhysicalDisk | Select-Object FriendlyName, HealthStatus in an administrator PowerShell window; anything other than Healthy means it is time to copy your files off and plan a replacement. Disk errors can also break things that look unrelated, such as Windows signing you in with a temporary profile, which has its own fix in fixing a temporary profile in Windows 10.
Once CHKDSK reports a clean drive, system files are the next suspect. Run DISM and then an SFC scan in Windows 10. If the PC is showing stop errors, work through fixing a blue screen in Windows 10, and if it is too unstable to test anything, start Windows 10 in Safe Mode first.
Questions readers ask after a scan finishes
Does CHKDSK delete files?
It does not delete working files. When it repairs damaged file system records, though, it can remove entries it cannot fix or save fragments it recovers as files with .chk names (look in the root of the drive). That is why a backup before /f or /r matters.
Is chkdsk /f /r the same as /r?
Yes in effect. Microsoft’s reference says /r includes the work of /f, so adding /f changes nothing. Likewise /b includes /r, and /x includes /f.
Windows made corrections, so why does my PC still crash?
CHKDSK only repairs the file system on the disk. Crashes can also come from damaged Windows files, drivers, memory or overheating. Run a second /scan to confirm the drive is now clean, then move on to SFC and the blue screen steps above.
Can I run CHKDSK on a BitLocker drive?
Yes. Inside Windows the drive is already open to you, so CHKDSK runs as normal. In the recovery Command Prompt you may need to enter the recovery key first so the drive can be read.
Do I still get security fixes on Windows 10 while I do this?
Only if the PC is enrolled in Extended Security Updates. Microsoft’s Windows 10 end of support page says support ended on October 14, 2025, and the consumer ESU program can protect a device until October 12, 2027. CHKDSK itself works the same either way.

Matt Jacobs writes and maintains the guides on Support Your Tech, which he started in 2017. He spent most of his career keeping small-business PCs running and still takes the occasional consulting job, so the steps here come from fixing the same problems on other people’s computers. Every guide is checked on his own Windows 11, Windows 10, Mac, iPhone and iPad before it goes up.