CHKDSK Commands
There are different CHKDSK commands or parameters you can use to locate and repair issues on your hard drive. After running the basic CHKDSK command, you may not need to use additional commands if the results state that no repairs are required.
Otherwise, here’s an overview of CHKDSK commands and their functions:
Command
Function
chkdsk
Checks your hard drive for errors.
This command does not attempt to fix them.
chkdsk [drive letter]:
Specifies which drive (internal or external) or drive partition
to scan. Replace [drive letter] with the drive you want to scan
— for example, chkdsk C: scans your C drive.
chkdsk /f
Attempts to fix errors while scanning your hard
drive’s file system.
chkdsk /r
Attempts to repair sectors on your hard drive so that
they're readable within the file system. This command also
runs the chkdsk /f functionality, which is a deeper check.
chkdsk /f /r
Does the same thing as chkdsk /r.
So running chkdsk /f /r isn’t necessary.
chkdsk /x
Disconnects a drive so it can be scanned and repaired.
This command also runs the chkdsk /f functionality.
chkdsk /f /r /x
Scans the file system, its sectors, and fixes any errors it finds
with the same command. If necessary, it also
disconnects the drive first.
/scan
Runs an online scan of the hard drive (both internal
and external), which means you can continue
using the drive while the scan is in progress.