CHKDSK command, shorten of Check Disk, is used to scan for and fix hard drive disk errors in Windows. Check Disk utility can scan the disk volume and its sectors for logical file system errors and bad sectors. Today, I’d like to talk about how to use CHKDSK command in your Windows 10, 8.1, 8, 7, Vista and XP.
How to Check Disk Error with CHKDSK Command Line in Windows 10, 8.1, 8, 7, Vista and XP
When you encounter hard disk problems, you may be asked to use command line like CHKDSK C: /f to check disk errors. And let’s take a close look at how to run the check disk command.
Run CHKDSK in Command Prompt as Administrator
- Open Command Prompt (Admin) in your Windows. (Note: Except for Windows XP, you can easily launch Command Prompt via the searching box.)
- Type into the command line CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B] [/scan] [/spotfix]. For example, CHKDSK C: /r. (I’ll discuss the format below.)
- Hit the key Enter.
Then the Check Disk utility will scans through the hard drive disk to find and fix errors.
About the Format of CHKDSK Command Line
In the check disk command line, “volume” means the specific drive or volume you’re going to check, like C:, D:, F:, etc. You can type into the “path” and “filename” of a certain file if you want to check files with fragments on FAT/FAT32 system.
For more information about the letters in the command line, type CHKDSK /? into the Command Prompt dialog box and hit the Enter.
Common CHKDSK Command Line
This command line is used to scan your drive in read-only mode. When it finishes the scanning, errors will be reported but won’t be repaired.
This command is used to check and fix the current drive. Sometimes, you might need to perform a restart.
CHKDSK C: /F
You can use this command to repair logical file system errors during the scan, but this won’t scan for bad sectors on drive disk.
CHKDSK C: /R
If you want to repair errors and scan for bad sectors, then you can use the /R switch. This command line implies the /F and /P command. That is to say, the CHKDSK will scan for the logical file system errors as well as the bad sectors. (You can also type into CHKDSK C: /R /F)
CHKDSK C: /X
If you don’t want a scheduled check run when you boot the PC, you can use this command to cancel the check. This command line forces the volume to dismount first if necessary and it also implies the /F option.
The check disk command line can be used to solve many system errors, for example, BSoD. And you may be interested in these related posts:
That’s it. If you have any questions on CHKDSK, just reach for the comment section below.
Thank you for visiting my blog.