Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

The CHKDSK command is a versatile tool Windows Admins use to fix disk problems. learn the various ways to run this command in Windows 10.

CHKDSK is a Windows 10 command tool that checks a disk for errors, fixes errors, recovers bad sectors and displays a status report.
To run any of the CHKDSK commands discussed in this Itechguide, you MUST run Command Prompt as Administrator.

CHKDSK Syntax Explained

Below is the syntax of the CHKDSK command:

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

The actual parameter you use in the above Syntax will depend on what you want CHKDSK to do. In the next section, I will explain what each parameter means and what they do.

CHKDSK Parameters Explained

Run successfully run CHKDSK on Windows 10, you need to understand the parameters.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The table below lists the parameters of CHKDSK and, what each parameter means and how to use them.

Popular on Amazon
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
S/NParameterDescription
1volumeSpecifies the drive letter you want to run CHKDSK on (followed by a colon), mount point, or volume name.
2filena**meSpecifies the files to check for fragmentation.
3/FFixes errors on the specified disk.
4/VIf /V swicth is used on a FAT/FAT32 partition, it displays the full path and name of every file on the disk. On NTFS partition, /V Displays cleanup messages if any.
5/R Locates bad sectors and recovers readable information. If /scan not specified, /R implies /F
6/L:size* /L:size changes the log file size to the specified number of kilobytes . If size is not specified, displays current size.
7/XForces the volume to dismount first if necessary. All opened handles to the volume would then be invalid (implies /F).
8/I*/I parameter performs a less vigorous check of index entries.
9/C*Skips checking of cycles within the folder structure.
10/B*Re-evaluates bad clusters on the volume (implies /R)
11/scan*Runs an online scan on the volume
12/forceofflinefix*Must be used with “/scan”. /forceofflinefix switch makes Check Disk to bypass all online repair; all defects found are queued for offline repair (i.e. “chkdsk /spotfix”).
13/perf*Must be used with “/scan”. 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.
14/spotfix*Runs spot fixing on the volume
15/sdcleanup*Garbage collect unneeded security descriptor
16/offlinescanandfixRuns an offline scan and fix on the volume.
17/freeorphanedchains**Frees any orphaned cluster chains
18/markclean**Marks the volume clean if no corruption was detected, even if /F was not specified.
* These parameters applies only to volumes formatted with NTFS.
** Parameters only valid for FAT/FAT32 partitions.

Example 1: Fix Bad Sector and Recover Readable Information

If your Windows 10 hard disk has bad sectors, you can check the disk for bad sectors with the following command:

CHKDSK E: /R 

Replace E with your drive letter. /R switch runs CHKDSK the disk, locates bad sectors and recovers readable information.

Also popular on Amazon
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Below is the sample report. If there are bad sectors, CHKDSK will report it and display actions taken to fix it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
How to Run CHKDSK on Windows 10 (CHKDSK Examples)

Example 2: Use CHKDSK to Check for Disk Errors

CHKDSK can also check a disk for errors and repair the errors where possible. Here is the command to check a disk for errors (applies to other Windows versions) disk for errors:

Also popular on Amazon
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
 CHKDSK D: /F  

Replace D with your drive letter.

  • If you receive “Chkdsk cannot run because the volume is in use by another process” message, type Y and press enter.
How to Run CHKDSK on Windows 10 (CHKDSK Examples)
  • Then, wait for CHKDSK to complete the task. When it completes the task, it will display a result, including repair actions.
How to Run CHKDSK on Windows 10 (CHKDSK Examples)

Example 3: Perform an Online Disk Scan

You can also run CHKDSK on Windows 10 to perform an online scan on a disk. Here is the command.

 CHKDSK D: /Scan

Replace D with your drive letter.

  • The command will run and return results.

Example 4: Use CHKDSK to Scan for and Fix Errors

You can run CHKDSK to scan a disk for errors and fix the errors. This is accomplished by combining /F /R and /X parameters as shown in the command below:

Also popular on Amazon
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
CHKDSK D: /F /R and /X 

Replace D with your drive letter.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Conclusion

As you can see, it is very easy to run CHKDSK on Windows 10! I hope you found this Itechguide helpful. If you did, kindly spare 2 minutes to share any observations about the guide using the “Leave a Reply” form at the bottom of this page.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Alternatively, you can respond to the “Was this page helpful?” question below.

Also popular on Amazon
Sale
UnionSine 500GB Ultra Slim Portable External Hard Drive HDD-USB 3.0 | for PC, Mac, Laptop, PS4, Xbox one, Xbox 360-(Black)
  • [Upgraded Version] - This external hard drive features a mirrored logo stripe combined with a striped anti-slip design, and the rounded corners of the casing make it easier to grip. The stripes also have a heat dissipation function, ensuring stable and fast data transfer.
  • 【Ultra-thin and quiet】 - The motherboard adopts JMicron 578 noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
  • 【Ultra-Fast Data Transfers】 - Pairing this external hard drive with JMicron 578 solution USB 3.0 and USB 2.0 interfaces enables blazing-fast data transfer. It boasts theoretical read speeds of up to 125MB/s and write speeds of up to 103MB/s.
  • 【Plug and Play】 - With no software to install, just plug it in and the drive is ready to use.The hard disk chip is wrapped with an aluminum anti-interference layer to increase heat dissipation and protect data.
  • 【What You Get】 - 1 x Portable Hard Drive, 1 x USB 3.0 Cable, 1 x User Manual, Gift-type shell packaging ,Three-year manufacturer's warranty and free technical support services.

Finally, for more Windows Command Prompt Itechguides, visit our Windows Command Prompt page. You may also be interested in our Windows PowerShell Itechguides.

Quick Recap

Bestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$129.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$219.55
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
Bestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$189.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.