Windows

chkdsk

CautionCheck/repair a disk

chkdsk C: /f

Checks the file system; /f fixes errors, /r recovers bad sectors.

Examples

  • chkdsk C: /fRepair C: (reboot required)

Syntax

chkdsk <drive:> [/f] [/r]

Before you run it

System drive runs at reboot; can be slow.

Used when you see

Disk acting up (Windows)
2
Scan and repair the file system/f repairs offline — back up first.
See the whole flow →

Related commands

  • fsckCheck filesystem

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store