TechBuzzPro

How to Check Your Hard Drive for Errors

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To check your hard drive for errors, use the built-in tools: on Windows, run CHKDSK or use the Error Checking tool in Drive Properties; on macOS, use Disk Utility's First Aid; on Linux, use fsck. These tools scan the file system and disk surface for logical and physical problems, and can often repair them automatically. Before you start, back up important data—no diagnostic or repair tool is completely risk-free, and a failing drive can worsen during a scan.

What You'll Need

  • A computer running Windows, macOS, or Linux (steps below cover all three).
  • Administrator access on Windows or Linux (sudo), or an admin account on macOS.
  • Enough free time: a full scan can take from a few minutes to several hours depending on drive size and speed.
  • Optional: a backup of important files on an external drive or cloud service.

Step-by-Step

  1. Back up your data. Copy important files to an external drive or cloud storage. Error-checking tools are generally safe, but if the drive is failing, any intensive scan can push it over the edge.
  2. Close all open programs. Some tools require exclusive access to the drive. Save your work and exit applications, especially those that use the drive heavily (games, video editors, backup software).
  3. Open the error-checking tool for your system:
    • Windows: Open File Explorer, right-click the drive you want to check (usually C:), and choose Properties. Go to the Tools tab and click Check under Error checking. (Labels may vary slightly by Windows version.)
    • macOS: Open Disk Utility from Applications > Utilities. Select the drive in the sidebar and click First Aid. Click Run to start the check.
    • Linux: Open a terminal. For a drive that is not mounted, run sudo fsck /dev/sdX (replace sdX with your drive identifier, e.g., sda1). For the root filesystem, you may need to boot from a live USB to run fsck safely.
  4. Start the scan. On Windows, click Scan drive (or Scan and repair drive if the option appears). On macOS, click Run. On Linux, confirm the fsck command. The tool will check the file system and, if selected, scan for bad sectors.
  5. Wait for completion. Do not interrupt the process. On Windows, you can continue using the computer for other tasks, but the scan may slow things down. On macOS and Linux, avoid using the drive being checked.
  6. Review the results. The tool will report whether errors were found and whether they were fixed. On Windows, click Show details to see a log. On macOS, First Aid shows a summary. On Linux, fsck prints output to the terminal.
  7. Restart if prompted. Windows may require a reboot to complete repairs, especially if the drive is in use. Save your work and restart when asked.
  8. Run a surface scan (optional but recommended for older drives). On Windows, you can use CHKDSK with the /r switch from an elevated Command Prompt: chkdsk C: /r. This scans for bad sectors and attempts to recover readable information. It can take hours. On macOS, Disk Utility's First Aid does not perform a surface scan; consider third-party tools if you suspect physical damage. On Linux, badblocks can scan for bad sectors, but use it with caution and only on unmounted drives.

Common Mistakes

  • Skipping the backup. Even though modern tools are reliable, a drive with existing problems can fail during a scan. Always back up first.
  • Interrupting the scan. Stopping a check midway can leave the file system in an inconsistent state. Let it finish, even if it takes hours.
  • Running a scan on a drive that is actively writing data. This can cause false errors or slow the process. Close programs and let the scan run undisturbed.
  • Ignoring repeated errors. If the same errors keep appearing after repairs, the drive may be physically failing. Back up immediately and consider replacing it.
  • Using the wrong drive letter or identifier. On Linux, running fsck on the wrong device can destroy data. Double-check with lsblk or df -h before running any command.

Tips

  • Run error checks regularly—once every few months—to catch problems early.
  • On Windows, you can schedule a check at the next reboot with chkdsk C: /f from an elevated Command Prompt if the drive is in use.
  • Keep your operating system and drivers updated; some disk errors stem from outdated storage drivers.
  • Watch for warning signs: slow file access, clicking noises, or frequent crashes. These suggest hardware failure, not just file system errors.
  • For SSDs, avoid defragmentation and use the manufacturer's utility for health checks. Built-in tools like CHKDSK and First Aid still work for file system errors.

Troubleshooting

  • The scan won't start or says the drive is in use. Close all programs and try again. On Windows, you may need to schedule the check for the next restart. On Linux, ensure the drive is unmounted.
  • The scan hangs or takes unusually long. A very large drive or one with many errors can take hours. If it exceeds a day, the drive may be failing. Consider stopping (if safe) and checking the drive's health with a manufacturer tool.
  • Errors are found but not fixed. Run the tool again, possibly in safe mode (Windows) or from a live USB (Linux). If problems persist, back up and replace the drive.
  • You see a "Windows cannot check the disk" message. This often means the drive is locked by another process. Restart and try again, or use the command-line method with chkdsk.
  • First Aid reports errors it cannot repair. Back up your data immediately. You may need to reformat the drive or replace it.

Frequently Asked Questions

How often should I check my hard drive for errors?

Every few months is sufficient for most users. If you notice slowdowns or unusual noises, check immediately.

Will checking for errors delete my files?

No, the tools are designed to repair file system errors without deleting personal files. However, always back up first in case of unexpected issues.

Can I check an external hard drive?

Yes. Connect the drive, then follow the same steps, selecting the external drive instead of the internal one.

What's the difference between a quick scan and a full scan?

A quick scan checks the file system for logical errors. A full scan (like CHKDSK /r) also scans the disk surface for bad sectors and can take much longer.

Does checking for errors work on SSDs?

Yes, the built-in tools check the file system on SSDs too. However, surface scans are not recommended for SSDs; use the manufacturer's utility for health monitoring.

What should I do if errors keep coming back?

Repeated errors indicate a failing drive. Back up your data immediately and replace the drive.