How to Run CHKDSK on Windows 10

Photo of author

By Victor Ashiedu

Published

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.

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

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.

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

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:

 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:

CHKDSK D: /F /R and /X 

Replace D with your drive letter.

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.

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

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

About the Author

Photo of author

Victor Ashiedu

Victor is the founder of InfoPress Media, publishers of Ilifeguides and Itechguides. With 20+ years of experience in IT infrastructure, his expertise spans Windows, Linux, and DevOps. Explore his contributions on Itechguides.com for insightful how-to guides and product reviews.

Related Articles

Get in Touch

We're committed to writing accurate content that informs and educates. To learn more, read our Content Writing Policy, Content Review Policy, Anti-plagiarism Policy, and About Us.

However, if this content does not meet your expectations, kindly reach out to us through one of the following means:

  1. Respond to "Was this page helpful?" above
  2. Leave a comment with the "Leave a Comment" form below
  3. Email us at [email protected] or via the Contact Us page.

4 thoughts on “How to Run CHKDSK on Windows 10”

  1. After being unable to boot up Windows 10, I did a chkdsk on c: result 4k in bad sectors, then did chkdsk for d: and files that were on the C: drive were listed with bad sectors in the d: chkdsk results.

    Reply

Leave a comment

Send this to a friend