chkdsk

Description

Checks a disk for errors and repairs them.

Command
chkdsk
Examples
Check the C: drive for errors
chkdsk C:
Check and fix errors on the D: drive
chkdsk D: /f
Check for errors, fix them, and locate bad sectors on drive E:
chkdsk E: /r
Parameters
Parameter Type Required Description
[volume:] string No Specifies the drive letter (followed by a colon), mount point, or volume name.
/f string No Fixes errors on the disk.
/r string No Locates bad sectors and recovers readable information (implies /f).
Command Info
Category: System Management
Type: Windows
Views: 13
Status: Active
Tags
windows cmd disk repair filesystem errors