TechBuzzPro

How to Fix a Bad Sector on Windows 10

· 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

A bad sector cannot be repaired in the sense of restoring the original magnetic surface, but Windows 10 can mark it as unusable so your drive stops writing data there. The quickest working method is to run the built-in Check Disk tool with the repair option: open Command Prompt as administrator, type chkdsk C: /f /r (replace C: with your drive letter), press Enter, and allow it to run at the next restart. This scans for bad sectors, recovers readable information, and marks the damaged areas so they are skipped in future. Before you start, back up important files — a drive with bad sectors is often a sign of deeper hardware trouble, and the repair process can sometimes accelerate failure.

What You'll Need

  • A Windows 10 PC with the drive you want to check connected internally or via a stable USB connection.
  • Administrator rights on the account you are using.
  • Enough free time: a full scan with repair can take several hours depending on drive size and speed.
  • A backup of important data on the affected drive, if possible.

Step-by-Step

  1. Back up your data first. Copy personal files, photos, and documents to another drive or cloud storage. Bad sectors can spread, and any repair attempt carries a small risk of data loss.
  2. Open Command Prompt as administrator. Click the Start button, type cmd, right-click Command Prompt, and choose Run as administrator. Approve the User Account Control prompt.
  3. Identify the drive letter. In File Explorer, note the letter of the drive you want to check (for example, C: for your system drive or D: for a secondary drive).
  4. Run the Check Disk command. Type chkdsk C: /f /r and press Enter. Replace C: with your drive letter. The /f switch fixes file system errors, and /r locates bad sectors and recovers readable information. If you are checking the system drive, Windows will say it cannot lock the drive and ask to schedule the check at the next restart. Type Y and press Enter, then restart your PC.
  5. Wait for the scan to finish. Do not interrupt the process. On a large hard drive, a full scan with /r can take many hours. The screen will show progress by stage and percentage.
  6. Review the results. When the scan completes, look for a summary line such as "Windows has checked the file system and found no problems" or a count of bad sectors in kilobytes. If bad sectors were found and replaced, the drive has marked them as unusable.
  7. Check the drive's health with Windows tools. Open File Explorer, right-click the drive, choose Properties, and go to the Tools tab. Click Check under error checking to run a scan without the command line. You can also use Optimize to defragment a hard disk drive (not an SSD).
  8. Monitor the drive. If bad sectors keep appearing, plan to replace the drive. Regular backups are your best protection.

Common Mistakes

  • Skipping the backup. Running a repair on a failing drive without a backup risks losing files that were still readable.
  • Using the wrong drive letter. Double-check before running chkdsk; repairing the wrong volume can cause unnecessary downtime.
  • Interrupting the scan. Stopping chkdsk mid-run can leave the file system in an inconsistent state.
  • Expecting a permanent fix. chkdsk marks bad sectors so they are not used, but it does not repair physical damage. New bad sectors can appear later.
  • Running chkdsk /r on an SSD unnecessarily. SSDs handle bad blocks internally; a full surface scan is slow and not the primary tool for SSD health. Use the manufacturer's utility or Windows drive health features instead.

Tips

  • Run chkdsk from an elevated Command Prompt; a standard window will refuse with an access denied message.
  • For a quicker check of file system errors only, use chkdsk C: /f without /r. Add /r when you specifically suspect bad sectors.
  • Schedule the scan for a time when you will not need the PC, such as overnight.
  • Keep your drive cool and avoid physical shocks; heat and movement can worsen mechanical problems.
  • Check the drive's SMART status with a reputable tool if you want early warning of failure.

Troubleshooting

  • "Access denied" or "You do not have sufficient privileges." You did not open Command Prompt as administrator. Close the window and repeat step 2.
  • The scan does not start at restart. Make sure you answered Y to schedule the check. If it still does not run, open Settings > Update & Security > Recovery and use Advanced startup to access Command Prompt, then run chkdsk from there.
  • The scan seems stuck at a percentage. Large drives can sit at one stage for a long time. Leave it running for several hours before assuming it is frozen.
  • Bad sectors keep returning. This usually indicates hardware failure. Back up immediately and replace the drive. Continued use risks total data loss.
  • Windows will not boot after a repair. Use Windows recovery options to run chkdsk again or restore from a backup. If the drive is failing, replace it and reinstall Windows.

Frequently Asked Questions

Can a bad sector be repaired permanently?

No. Software tools can mark bad sectors as unusable so the drive stops using them, but the physical damage remains. If new bad sectors appear, the drive is likely failing and should be replaced.

Will chkdsk /r erase my files?

It is designed to preserve data, but any repair on a damaged drive carries some risk. Always back up important files before running it.

How long does chkdsk /r take?

It depends on drive size and speed. A full scan of a large hard drive can take several hours or more. Do not interrupt it.

Does chkdsk work on SSDs?

chkdsk can check and repair file system errors on an SSD, but a full surface scan with /r is not the best way to assess SSD health. Use the manufacturer's utility or Windows drive health tools instead.

What causes bad sectors?

Common causes include physical shock, manufacturing defects, wear over time, power interruptions, and heat. Mechanical hard drives are more prone to physical bad sectors than SSDs.

Should I replace my drive if chkdsk finds bad sectors?

If the count is small and stable, you can keep using the drive with regular backups. If the number grows or the drive becomes unreliable, replace it.