This article explains how to repair errors on a computer hard drive and includes information on the CHKDSK tool. The information in this article applies specifically to Windows 10. To repair your Mac’s drive, use the Apple Disk Utility First Aid.
What to Know
- Select File Explorer in the Windows taskbar. Choose This PC in the left pane.Under Devices and drives, right-click your primary drive, typically labeled C:.Select Properties, go to the Tools tab, and select Check. Choose Scan drive.
How to Use the Windows 10 Disk-Checking Utility
The first sign that a hard disk drive (HDD) is about to fail is when you encounter logical errors on the disk. When a drive incurs this kind of operational bug, the unreadable parts of the drive are reclassified as bad sectors. When a disk has a bad sector, it usually means that the drive can be repaired with software.
Windows 10 comes with a disk-checking utility that simplifies the process for repairing drive errors. To get started:
- Select the the File Explorer app in the Windows taskbar or use the Win+E keyboard shortcut to open File Explorer.
- Select This PC from the left pane.
- Under Devices and drives, right-click your primary drive (it should be labeled C:).
- Select Properties in the drop-down list.
- Select the Tools tab, then select Check.
- Select Scan drive in the pop-up box.
How to Run CHKDSK in Windows 10
In the latest version of Windows, the legacy CHKDSK tool runs from the command prompt. Unlike older versions of CHKDSK, you don’t have to reboot your PC to run the utility.
Select the the File Explorer app in the Windows taskbar or use the Win+E keyboard shortcut to open File Explorer.
Select This PC from the left pane.
Under Devices and drives, right-click your primary drive (it should be labeled C:).
Select Properties in the drop-down list.
Select the Tools tab, then select Check.
Select Scan drive in the pop-up box.
- Open Command Prompt as an administrator.
- To run the check disk utility on a PC with one drive, enter chkdsk. This command only checks your disk for errors; it won’t fix any problems it finds.
- To fix problems, you must add command switches, which are optional parameters that tell a command-line utility to take an extra step. For CHKDSK, the switches are “/f” (fix) and “/r” (recover readable information). The full command, then, is:
- C:\chkdsk /f /r
How to Repair a Drive With the CKHDSK Command
The best way to keep your HDD in good condition is to use the CHKDSK command utility. This utility scans the hard drive, corrects logical sector errors, marks bad sectors that cannot be fixed, and moves data to safe, healthy places on the hard drive. It’s a handy tool, but it doesn’t operate automatically. Also, there are a few things you’ll need to do if it gets stuck scanning while you’re running it.
Open Command Prompt as an administrator.
To run the check disk utility on a PC with one drive, enter chkdsk. This command only checks your disk for errors; it won’t fix any problems it finds.
To fix problems, you must add command switches, which are optional parameters that tell a command-line utility to take an extra step. For CHKDSK, the switches are “/f” (fix) and “/r” (recover readable information). The full command, then, is:
C:\chkdsk /f /r
Note the spaces in the command, as these are critical with command line utilities.
The step-by-step process of how to run CHKDSK differs depending on the version of Windows. The utility is primarily meant for PCs with hard disk drives, so if you have a computer with a solid state drive (SSD), CHKDSK isn’t necessary. SSDs come with a built-in system to deal with errors.
Get the Latest Tech News Delivered Every Day