CompTIA A+ Core 2 (220-1202)Operating SystemsEasy

A technician is troubleshooting a Windows 10 workstation that is experiencing slow boot times and frequent application crashes. After running a diagnostic, it is suspected that the hard drive may have bad sectors. Which command-line utility should the technician use to scan for and attempt to repair these errors?

  1. Adefrag
  2. Bchkdsk
  3. Cformat
  4. Ddiskpart
Show answer & explanation

Correct answer: B. chkdsk

The chkdsk command is specifically designed to check a disk for errors, including bad sectors, and can attempt to recover data from them. This makes it the most appropriate tool for the described scenario.

Why the other options are wrong

  • A. defrag (defragment) reorganizes fragmented data on a disk to improve performance, but does not check for or repair bad sectors.
  • C. format prepares a disk for use by creating a new file system, which would erase all data.
  • D. diskpart is used for managing disk partitions, not for scanning and repairing bad sectors.

chkdsk command

A Windows command-line utility used to check a disk volume for logical and physical errors, including bad sectors, and can attempt to repair them.

  • Scans for file system errors and bad sectors.
  • Can be run with different parameters for repair actions.
  • Requires elevated privileges to run certain repair operations.

Memory trick: Check Disk: 'CHK' for 'Check', 'DSK' for 'Disk' - it's right there!

More Operating Systems questions