A helpdesk technician is troubleshooting a Windows workstation that is showing signs of corrupted files caused by physical disk sector degradation. The technician needs to run a command-line utility from an elevated command prompt to locate bad sectors on the hard drive, fix disk errors, and recover readable information. Which of the following commands should the technician execute?
- chkdsk /rAnswer
- Bchkdsk /f
- Cfsck -r
- Ddiskmgmt.msc
Answer
The command 'chkdsk /r' should be used because the '/r' switch scans for bad sectors and recovers readable data, automatically incorporating the file-system error fixes of '/f'.
Executing 'chkdsk /r' tells Windows Check Disk to scan the drive for file system errors, locate bad physical sectors, and attempt to recover any readable data stored within those compromised areas. It automatically includes the functionality of '/f'.
Step-by-Step Solution
Key Concept
Windows Check Disk (chkdsk) command-line switches for disk maintenance and sector recovery.