Windows 10ConfigurationDisk Management

Check disk in Windows 10


Check disk in Windows 10 may be performed using the command-line or graphical user interface. The GUI tool is easier to use, but the command-line tool has advanced options. To start or schedule a disk check you need to log on to Windows 10 as an administrator.

Check disk: graphical user interface

In Windows 10 users can scan only the file system on the selected drive. Advanced options, such as "Scan for and attempt recovery of bad sectors" are no longer available in the graphical user interface. So to scan a drive for bad sectors use the command-line tool, that is fortunately still available in Windows 10.

1. Open This PC folder.

2. Right-click the drive or partition that needs to be checked and select Properties.

Disk properties

3. On the Tools tab under Error checking click Check.


4. If the partition is marked clean (not containing errors), the notification box appears informing you that disk check is not required:

You don't need to scan this drive

5. To search for file and folder errors and fix what is found click Scan drive.

When a disk check is complete, its results are displayed on the screen.

Your drive was successfully scanned

Click Show details to get an additional information about what has been checked.

Check disk: command-line


CHKDSK [volume[[path]filename]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B]


CHKDSK Checks a disk for errors, display a status report. If no switch is used, a check is going in a read-only mode (if errors are found, the tool doesn't attempt to fix them).
volume Drive letter (followed by a colon), mount point or volume name. For example, CHKDSK C:
filename Name (followed by extension) of the file that should be checked for fragmentation (applies only to the disks formatted with the FAT and FAT32 file systems). It is required to specify the complete path to the file. For example, to check the Text.txt file that is located in the Windows folder on the G drive, type CHKDSK G:\Windows\Text.txt and press ENTER.
/F Fix errors on the disk. For example, to scan the C drive and fix errors if they are found, type CHKDSK C: /F and press ENTER.
/R Search for bad sectors and repair the data stored in them. Should not be used without the /F switch (see above). For example, to check the C drive surface for bad sectors and repair the data stored in them, type CHKDSK C: /F /R and press ENTER.
/V On FAT and FAT32 the full path and name of every file on the disk is displayed. On NTFS formatted drives the existing cleanup messages are displayed.
/X Forces volume to dismount first if necessary. All opened handles to the volume would then be invalid. Should not be used without /F.

NTFS-only switches

/L:size Changes the log file size to the specified number of kilobytes. If size is not specified, displays current size. For example, to see the current size of the log file located on the C drive, type CHKDSK C: /L and press ENTER. To check the C drive, fix the system errors on it and set a new log file size of 80 megabytes, type CHKDSK C: /F /L:81920 and press ENTER. Note that the log files require a lot of space, so a tiny size cannot be set.
/I Performs a less vigorous check of index entries.
/B Re-evaluates bad clusters on the volume (implies "/R"). Example: to check the C drive surface for bad sectors, attempt to repair the data stored in them and re-evaluate the sectors which have been previously marked as bad, type CHKDSK C: /F /R /B and press ENTER.
/C Skips checking of cycles within the folder structure.
/scan Runs an online scan on the specified partition.
/forceofflinefix Bypass all online repair; all defects found are queued for offline repair (i.e. chkdsk /spotfix). Should not be used without "/scan".
/perf Uses more system resources to complete a scan as fast as possible. This may have a negative performance impact on other tasks running on the system.
/spotfix Runs spot fixing on the specified volume.
/sdcleanup Garbage collect unneeded security descriptor data. Must be used with "/F".
/offlinescanandfix Runs an offline scan on the specified volume and fixes errors if any corruption is detected.

FAT/FAT32/exFAT-only switches

/freeorphanedchains Frees any orphaned cluster chains instead of recovering their contents.
/markclean Marks the volume clean if no corruption was detected, even if "/F" was not set.