Which of these command lines would check a disk for bad sectors and attempt to recover readable information?
A) chkdsk /f
B) chkdsk /r
C) chkdsk /d
D) chkdsk /recover
E) Maybe it’s time for that SSD upgrade
The answer: B) chkdsk /r
The chkdsk command checks the disk for logical errors, but it won’t correct any of those errors unless you use the /f option. If you want to validate the entire disk, using the /r option will perform a sector-by-sector examination of the drive and attempt to recover information if a bad sector is found.
Want to know more? Watch “Command Line Troubleshooting.”
The Windows command line can be a powerful troubleshooting environment if you know what to type. In this video, you’ll learn the important commands that will allow you to manipulate files, format disks, troubleshoot the network connection, and much more.