sodcalculator

10 Tech How-To

How to Check Your Hard Drive for Errors

Guide 10-43395 · Updated · Step by step

Checking your hard drive for errors helps you catch failing sectors, file system corruption, and other problems before they lead to data loss or system crashes. This guide walks you through built-in Windows tools (CHKDSK and Storage Diagnostic) and macOS Disk Utility, with clear steps for each. You don’t need any special software—just a few minutes and a backup of important files.

What You’ll Need

  • A Windows PC (Windows 10 or 11) or a Mac (macOS 10.15 or later)
  • Administrator or root access to your computer
  • A backup of important files (recommended before any disk check)
  • Time—a full scan can take 30 minutes to several hours depending on drive size

Step-by-Step

On Windows: Using CHKDSK (Check Disk)

  1. Close all open programs and save your work. CHKDSK may need to restart your computer to complete the scan.
  2. Open File Explorer (Windows key + E). Right-click on the drive you want to check (usually C:), and select Properties.
  3. Go to the Tools tab. Under Error checking, click the Check button. If Windows asks for administrator permission, click Yes.
  4. Choose a scan option. If Windows finds no errors, you’ll see a message saying so. To force a deeper scan, click Scan drive anyway. For a more thorough check, select Repair drive (this requires admin rights and may take longer).
  5. Schedule a scan if needed. If the drive is in use (like your system drive), Windows will ask if you want to schedule the scan for the next restart. Click Schedule disk check and restart your PC.
  6. Let the scan run. During boot, you’ll see a blue screen with a progress percentage. Let it finish—do not interrupt it. The computer will restart automatically when done.

On Windows: Using Command Prompt (Advanced)

  1. Open Command Prompt as administrator. Press Windows key, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Type the command: chkdsk C: /f /r (replace C: with your drive letter). The /f flag fixes errors, /r finds bad sectors and recovers readable data.
  3. Confirm scheduling. If the drive is in use, type Y and press Enter to schedule the scan on next reboot. Restart your PC.
  4. Review the results. After the scan, CHKDSK displays a summary. Look for lines like “Windows has checked the file system” and “Windows has made corrections.” If you see “Cannot open volume” or similar, the scan didn’t run—check your syntax.

On macOS: Using Disk Utility

  1. Open Disk Utility. Go to Applications > Utilities > Disk Utility, or search for it with Spotlight (Cmd+Space).
  2. Select your drive. In the sidebar, choose the volume you want to check (e.g., Macintosh HD). If you want to check the whole physical disk, select the parent entry (shows the brand and capacity).
  3. Click First Aid. Then click Run in the pop-up. Enter your admin password if prompted.
  4. Wait for the scan. Disk Utility will check the volume and report any errors. If it finds issues, it will attempt to repair them automatically. When done, click Done.
  5. For a deeper check (macOS 10.15+): Boot into Recovery Mode (restart and hold Cmd+R), open Disk Utility from the menu, and run First Aid on the startup volume. This checks more system files.

Common Mistakes

  • Interrupting the scan. Let CHKDSK or First Aid finish completely. Interrupting can cause more corruption.
  • Running CHKDSK on an external drive while it’s unplugged. Make sure the drive is connected and powered during the entire scan.
  • Ignoring the “drive is in use” prompt. If you skip scheduling, the scan won’t run. Always confirm the restart.
  • Using the wrong drive letter. Double-check you’re checking the right drive—CHKDSK on the wrong drive can waste time or cause confusion.
  • Thinking a scan fixes physical damage. CHKDSK repairs file system errors and marks bad sectors, but it doesn’t fix a physically failing drive. If you hear clicking or grinding, back up immediately and replace the drive.

Tips

  • Back up before scanning. Although rare, a repair can sometimes make data inaccessible. A backup ensures you don’t lose anything.
  • Run a scan regularly. Once a month is good for most users, more often if you use your PC heavily or have an older drive.
  • Use the Windows Storage Diagnostic tool. Go to Settings > System > Storage > Advanced storage settings > Storage diagnostic and run it to get a health report.
  • Check SSD health separately. CHKDSK doesn’t test SSD wear. Use the manufacturer’s tool or a third-party utility to check SSD health.
  • Free up space before scanning. A nearly full drive can slow down the scan and make repairs harder.

Troubleshooting

  • “The type of the file system is NTFS. Cannot lock current drive.” This is normal for the system drive. Type Y to schedule the scan on reboot.
  • CHKDSK freezes or takes forever. Large drives (1TB+) can take hours. If it seems stuck at a percentage for more than an hour, it may still be working. Give it more time. If it’s truly frozen, restart and try again with /f only (skip /r first).
  • Disk Utility says “First Aid failed.” This often means the drive is failing. Try running it again in Recovery Mode. If it still fails, back up what you can and replace the drive.
  • Errors keep coming back. Recurring errors point to a failing drive. Back up immediately and consider replacing it.
  • You can’t boot into Windows to run CHKDSK. Use a Windows installation USB, boot from it, and choose “Repair your computer” > “Troubleshoot” > “Command Prompt” and run CHKDSK from there.

Frequently Asked Questions

How often should I check my hard drive for errors?

Once a month is a good baseline for most users. If you notice slow performance, frequent crashes, or unusual sounds, check immediately.

Does CHKDSK fix bad sectors?

CHKDSK with the /r flag marks bad sectors and attempts to recover readable data from them. It doesn’t repair the physical damage; it prevents the drive from using those sectors again.

Can I use my computer while CHKDSK is running?

No. If the scan runs on reboot, you can’t use the computer until it’s done. If you run it from within Windows on a non-system drive, you can use other programs, but it’s best to avoid heavy usage to prevent conflicts.

Is it safe to check an SSD for errors?

Yes, but CHKDSK isn’t designed to assess SSD health. It can still fix file system errors. For SSD-specific health, use the manufacturer’s tool or a utility that reads SMART data.

What does “Windows has checked the file system and found no problems” mean?

It means CHKDSK found no file system errors or bad sectors. Your drive is healthy from a file system perspective, but it doesn’t guarantee the physical drive is perfect.

Can I cancel a disk check halfway through?

It’s not recommended. Canceling can leave the file system in an inconsistent state. Let it finish. If you must cancel, restart the computer, but be prepared to run the scan again later.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →