sodcalculator

10 Tech How-To

Fix Bad Sectors in Hard Disk on Windows 10

Guide 10-6627 · Updated · Step by step

Yes, you can fix bad sectors in a hard disk on Windows 10, but the method depends on whether they are logical (software-caused) or physical (hardware damage). For logical bad sectors, Windows’ built-in tools like CHKDSK can repair them; for physical bad sectors, the disk is failing and you should back up your data immediately and replace the drive.

What Causes Bad Sectors?

Bad sectors are small areas of a hard disk that can no longer reliably store or retrieve data. They fall into two categories:

  • Logical bad sectors: These are caused by software issues like improper shutdowns, power surges, malware, or corrupted file system metadata. The magnetic surface is fine, but the data written there is unreadable. These can often be repaired by overwriting the sector with zeros or by the disk’s own remapping process.
  • Physical bad sectors: These occur when the magnetic platter is physically scratched, the read/write head touches the surface, or the disk’s firmware fails. Physical sectors cannot be repaired; the drive will mark them as bad and remap them to spare sectors, but the drive is degrading and will eventually fail.

Common causes of physical damage include dropping the laptop, overheating, manufacturing defects, and normal wear over many years. Logical errors are more common after a crash or power loss.

How Windows 10 Handles Bad Sectors

Modern hard drives have a hidden area of spare sectors. When the drive’s firmware detects a sector that fails to read or write, it automatically remaps that sector to a spare one. This happens transparently to the operating system. Windows 10 also tracks file system errors and can mark clusters as bad in the Master File Table (MFT) or File Allocation Table (FAT).

When you run a disk check, Windows reads every sector, compares the data to the file system’s expected checksums, and if it finds a mismatch, it tries to read the sector again. If it fails, it marks the sector as bad and attempts to write zeros to it. If the write succeeds, the sector is considered recovered and can be used again. If the write fails, the drive’s firmware will remap it, and Windows will avoid using that cluster in the future.

Using CHKDSK to Fix Bad Sectors

CHKDSK (Check Disk) is the built-in Windows utility for scanning and repairing disk errors. To run it on your system drive (usually C:):

  1. Open Command Prompt as Administrator (right-click Start, choose “Command Prompt (Admin)” or “Windows PowerShell (Admin)”).
  2. Type chkdsk C: /f /r and press Enter.
  3. If the drive is in use, Windows will ask if you want to schedule the scan for the next restart. Type Y and restart your computer.
  4. The scan will run before Windows fully loads. It may take several hours on a large drive. Do not interrupt it.

The /f flag fixes file system errors, and /r locates bad sectors and recovers readable information. The /r flag implies /f, so you can just use chkdsk C: /r. To see a report without making changes, run chkdsk C: (without flags).

Alternative: Using the Graphical Disk Check Tool

If you prefer a graphical interface, you can also run a check from File Explorer:

  1. Open This PC.
  2. Right-click the drive you want to check (e.g., C:) and select Properties.
  3. Go to the Tools tab.
  4. Under “Error checking,” click Check.
  5. If Windows says you don’t need to scan, you can still click “Scan drive” to force it.
  6. If errors are found, you’ll be prompted to repair them. You may need to restart.

This method is less thorough than CHKDSK with /r because it doesn’t scan every sector by default. It only checks the file system structure. For a full sector scan, use the command line method.

What to Do If CHKDSK Cannot Fix the Sectors

If CHKDSK reports that it could not fix some bad sectors, or if you see increasing numbers of bad sectors over time, the drive is physically failing. Do not keep using it as your primary drive. Immediately:

  1. Back up all important data to an external drive, cloud storage, or another computer. Use file history or simply copy files manually.
  2. If the drive is still readable enough, use a tool like robocopy to copy entire folders. For example: robocopy C:\Users\YourName D:\Backup /E /COPYALL
  3. Replace the drive. Once a drive develops physical bad sectors, it will continue to degrade. Continuing to use it risks total data loss.

Do not try to “repair” physical bad sectors with third-party software that claims to fix them by writing zeros or low-level formatting. These tools can sometimes temporarily mask the problem, but they cannot restore the physical surface. They also put extra stress on the drive, accelerating failure.

Common Misconceptions About Bad Sectors

One common myth is that freezing a hard drive can temporarily fix bad sectors. This is dangerous and can cause condensation, which will destroy the drive completely. Another misconception is that CHKDSK can fix physical damage; it cannot. It only marks the sectors as bad and avoids them. Also, many people believe that defragmenting a drive with bad sectors helps; it doesn’t and can actually make things worse by forcing the drive to read and write more data, stressing the damaged areas.

Another frequent question is whether an SSD can get bad sectors. Yes, SSDs have NAND flash cells that can wear out, but they behave differently. CHKDSK is not the right tool for SSDs; you should use the manufacturer’s diagnostic tool or the built-in Optimize Drives utility to run TRIM. For SSDs, bad blocks are managed by the controller, and the drive will simply stop accepting writes when it’s full of bad cells. There is no user-level repair.

Preventing Bad Sectors in the Future

You can reduce the risk of bad sectors with these practices:

  • Always shut down Windows properly – use the Start menu, not the power button.
  • Use a surge protector or UPS to prevent power spikes.
  • Keep your computer cool – ensure fans work and vents are not blocked.
  • Handle laptops gently – avoid dropping or jarring them while the drive is spinning.
  • Run CHKDSK periodically (e.g., every few months) to catch errors early.
  • Monitor drive health with tools like CrystalDiskInfo (free) that read S.M.A.R.T. data. If it shows reallocated sectors or pending errors, back up immediately.

Frequently Asked Questions

Can I use my hard drive after a bad sector is found?

You can continue using it temporarily, but you should treat it as a failing drive. Back up your data immediately. If the bad sector is logical and CHKDSK fixes it, the drive may be fine for a while. If it’s physical, the drive will likely develop more bad sectors. Replace it as soon as possible.

How long does CHKDSK take?

It depends on the drive size and the number of errors. A full scan with /r on a 1TB drive can take 4-8 hours or more. It’s best to run it overnight. Do not interrupt it, as that can cause additional file system damage.

Will CHKDSK delete my files?

No, CHKDSK does not delete files. It attempts to recover readable data from bad sectors and marks the bad ones. However, if a file is stored in a physically damaged sector and cannot be read, that file may be lost. Always back up before running a full scan.

What does “recovered” mean in CHKDSK output?

It means CHKDSK was able to read the data from a sector that had an error and rewrite it to a good sector. This is a logical fix. If it says “unrecoverable,” the sector is physically damaged and the data is lost.

Is there a way to hide bad sectors so Windows stops warning me?

You can use the chkdsk command with the /b flag to re-evaluate bad clusters, but this is not recommended. It will retest sectors that were previously marked bad, and if they are still bad, they will be marked again. Hiding the warning doesn’t fix the underlying problem. The drive is failing; replace it.

Can I use a third-party tool like HDD Regenerator?

These tools claim to repair bad sectors by reversing magnetic decay. They can sometimes make a drive readable again for a short period, but they do not restore the physical surface. They are not a reliable fix, and using them on a drive with important data is risky. Professional data recovery services are the only safe option for recovering data from a physically damaged drive.

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 →