From time to time, when bad sectors accumulate in a hard disk, this disk can go bad. If this happens, the data in the damaged sectors will be lost but you should still have access to the rest of the data on the disk.

To prevent any data loss resulting from bad sectors and stop the process in time, go through the tips below. In this article, we will cover the following:

  • What is a sector?
  • How are bad sectors created?
  • What types of bad sectors are there?
  • And how to repair bad sectors?

Finally, we’ll share a great solution with you for keeping your system optimized and running smoothly.

Let’s get started.

What Is a Sector?

A sector is a unit of information that is stored on a hard disk. The standard sector is 512 bytes in size.

Note: 512 bytes is a unit of digital information that consists of 512 individual binary bits (0s and 1s). It is equal to half a kilobyte (KB) or 0.5 kilobytes.

How are bad sectors created?

There are several things that may cause a sector to go bad. These may include:

  • An improper shutdown of Windows;
  • Hard disk defects such as general surface wear, pollution of the air inside the unit, or the head touching the surface of the disk;
  • Low quality or aging hardware such as a bad processor fan, dodgy data cables, an overheated hard drive, etc.
  • Malware infecting your system.

What types of bad sectors are there?

There are two main types of bad sectors: hard sectors and soft sectors.

Hard bad sectors are the sectors that have been physically damaged (for instance, as a result of a head crash), or in a fixed magnetic state.

If you’ve bumped your computer while data was being written onto a hard disk or if it was exposed to extreme heat, a bad sector may have been created.

Soft bad sectors are created when an error correction code (ECC) in the sector doesn’t match the content of the sector. The errors in a soft bad sector are logical, not physical. To repair them, you will need to overwrite all the data with zeros.

How to Repair Soft Bad Sectors on Windows 10/11?

When your operating system detects bad sectors, it will mark them as unusable, whether they are soft bad sectors or hard bad sectors. Because of this, there is no way to avoid data loss as well as the loss of disk capacity.

So, how to fix bad sectors on hard drive?

The first thing you will need to do is back up and clone your hard disk to a good hard drive, skipping bad sectors.

If there are too many soft bad sectors on your disk and you are often dealing with slow-downs and glitches, it may be impossible to repair the bad sectors. In this case, the best option is to back up and save all the remaining data on your hard disk first.


Related: How to Speed Up a Hard Drive Performance on Windows?


If your hard drive is experiencing one or multiple soft bad sectors, you can try the following solutions to fix them:

  • Checking for system errors on the disk
  • Running the CHKDSK Command and formatting your hard drive
  • Defragmenting your hard disk
  • Using Windows PowerShell to repair disk errors
  • Troubleshooting from Recovery
  • Booting into Safe Mode
  • And reinstalling Windows.

Fix One: Check for System Errors on the Disk (Windows 11)

The first thing you can do is scan your hard disk for system errors. Here’s how

  • Press the Windows 11 keyboard shortcut Win key + E.
  • Next, right-click the needed drive and open Properties.

  • Go to Tools and select Check under Error checking.

  • Next, on the pop-up window, click Select drive.

  • Windows 11 will then go on to look for system errors in the selected drive. If any issue is detected, you will be able to repair the disk.

Fix Two: Run the CHKDSK Command And Format the Hard Drive

If there are only a few bad sectors in your hard drive, you can use the CHKDSK command first and then format the hard drive to repair the bad sectors. Here are the steps to take:

  • Press the Win key on your keyboard.
  • Type in “cmd”.

cmd

  • Right-click Command Prompt and select the Run as administrator option.
  • Type in “chkdsk E: /f /r /x” and press the Enter key. (you will need to replace the E with the needed hard drive letter).

Next, you will need to format your hard drive. Here’s how:

  • Go to Windows File Explorer.
  • Locate your hard drive and right-click it.
  • Select Format.
  • Reset the file system as NTFS.
  • Next, check the Quick Format and click Start.

Once this is done, you can save the data back to your hard drive and it will be usable again.

Fix Three: Defragment Your Hard Disk

If you are running Windows 11 or Windows 10 on a mechanical hard disk, you can try defragmenting the drive.


Also Read: SSD vs HDD: What’s the Difference and What to Choose?


Here’s how to proceed:

  • Press the Win key and look for “defragment”.
  • Open the Defragment and Optimize Drivers tab.

Defragment and optimize drives Windows 10

  • Select the needs drive and click Optimize

  • Wait as Windows completes the defragmentation process.
  • Once it’s complete, restart Windows 11.
  • Your disk errors should now be fixed.

Also Read: SSD Optimization on Windows 10/11


Fix Four: Use Windows PowerShell to repair disk errors

Here is how to use PowerShell on Windows 10/11:

  • Press the Win key and type “powershell“.

Windows 10 search Powershell

  • Select the Run as administrator option on the right.
  • In the new window, copy and paste this command and press the Enter key:

Repair-Volume C –OfflineScanAndFix (Replace C with the needed drive letter).

  • Next, run the following command: Repair-Volume C –Scan (replace C with the needed drive letter).

When the repair process is complete, restart Windows and check whether disk errors have been resolved.


Also Read: Most Useful Powershell Commands: Cheat Sheet with Examples


Fix Five: Troubleshoot From Recovery

If you are looking at error messages like “Windows detected a hard disk problem” or “Repairing disk errors” during boot, you will need to troubleshoot your Windows PC from the recovery screen. Here is how:

  • Before you proceed, shut down your PC.
  • Turn it back on and you see the Windows loading sign, turn your PC off again. You will need to do this two or three times.
  • Windows will then load a recovery screen.
  • Alternatively, you can press F2, F8, or F12 (depending on what PC you are using) during boot. This will also bring up the Startup recovery screen.
  • Once on the Recovery screen, click Advanced options.

Windows Troubleshoot Advanced Options

  • Next, go to Troubleshoot and open Command Prompt.

Advanced Options Command Prompt

  • In the Command Prompt window, run the following commands:

bootrec /fixmbr

bootrec /fixboot

bootrec /rebuildbcd

Restart your PC and check if the issue has been resolved.


Also Read: Windows Command Prompt: 28 Most Useful CMD Commands [with Examples]


Fix Six: Boot Into Safe Mode

If you are still having the same issues, boot into Safe Mode and go try out all of the above solutions again:

  • check for system errors on the disk
  • run the CHKDSK Command and format the hard drive
  • defragment your hard disk
  • and use Windows PowerShell to repair disk errors

Once this is done, restart your PC. Your disk errors should now be solved.


Also Read: Ultimate Guide: How to Check For and Fix Disk Errors with CHKDSK Command


Fix Seven: Reinstall Windows

Finally, if none of the above solutions have worked, your next best bet is to just reinstall Windows.

To reinstall Windows without losing your files, follow the steps below:

  • Go to Settings.
  • Select System.
  • On the right side, click Recovery.

Windows 10 System Recovery

  • Under Recovery options, press the Reset PC button to start Windows reinstallation.
  • Make sure to select the Keep my files option.

  • Next, select the Cloud download option (if you want to download Windows 11 to perform a fresh reinstallation) or the Local reinstall option (if you want to use local files to reinstall your operating system).

  • Click Next and Reset.

Once you’ve completed these steps, your Windows will be reinstalled and you will keep all your files. Note, however, that your settings will be reset and your apps will be removed.

Extra Tip: Optimize Your PC with Auslogics BoostSpeed

We hope that the above solutions have been helpful and you’ve successfully gotten rid of bad sectors on your hard disk, restoring your system to its full capacity. In this regard, there is one more tool we’d like to recommend.

If you often feel that your system is running too slow and you are plagued by a variety of glitches, you may be looking for an efficient way to optimize your PC. We are here to suggest a tool that can do just that — it’s called Auslogics BoostSpeed.

Auslogics BoostSpeed is a PC optimizer with over 10 years on the market and 15 million users. 

The software has been designed to professionally boost your system and can help you get rid of a whole array of issues and errors.


Also Read: Speed Up Slow Computer as a Pro – Introducing Auslogics BoostSpeed 13


So, how does Auslogics BoostSpeed work?

First, the software will run a scan of your system. This scan aims to locate any possible speed-reducing issues such as unneeded system and user temporary files, browser cache, old error logs, leftover files from a Windows update, temporary Sun Java files, Microsoft Office cache, and others.

Run a full system scan with Auslogics BoostSpeed to optimize performance


Also Read: Why Is My Computer So Slow? – Improve Computer Performance


If found, these items will be safely removed from your PC, thanks to extensive research and testing. This frees up gigabytes of hard disk space without the need for costly hardware upgrades or time-consuming cleaning sessions.

Plus, Auslogics BoostSpeed does way more than just cleaning.

  • BoostSpeed uses advanced tools to remove corrupt keys and invalid Registry entries, ensuring smooth and stable PC performance without side effects.
  • Adjusts non-optimal system settings for faster overall performance, including improved internet connection settings for better browsing, faster downloads, and higher audio and video quality.

Also Read: Boost Internet on Your PC: Tips on How to Speed Up Your Internet Connection


  • Scheduled maintenance scans detect and eliminate potential issues before they impact your PC’s performance.
  • Finally, BoostSpeed will also make sure you have your privacy. Dedicated privacy protection tools keep sensitive data (e.g., passwords, credit card details) safe from unauthorized access.

In short, with Auslogics BoostSpeed, you will have a better running system with all of its elements professionally optimized.

You can download Auslogics BoostSpeed for free here.


Also Read: Tricks to Get the Most out of Auslogics BoostSpeed Free Trial


Conclusion

Dealing with bad sectors on a hard drive is crucial to prevent data loss and maintain optimal system performance. Various methods like disk checks, CHKDSK commands, defragmentation, and troubleshooting can help repair bad sectors. 

For an efficient and comprehensive solution, using Auslogics BoostSpeed can not only address bad sectors but also optimize your PC’s overall performance, making it a valuable tool for maintaining a smooth and secure system.

FAQ

What Does Defragging Do?

Defragging (short for defragmenting) reorganizes data on a hard drive to improve efficiency and performance. Over time, data fragmentation slows down access times, and defragging consolidates the data, making file access faster and enhancing the overall speed of the hard drive.

How to Check Hard Drive Health?

To check your hard drive health, you can use the following methods:

Built-in Windows Tools: Windows offers tools like “Check Disk” (chkdsk) and “Error Checking” to scan the hard drive for errors and bad sectors. Right-click on the drive in File Explorer, go to “Properties,” click the “Tools” tab, and select “Check” under “Error checking.”

Third-party Software: for example, Auslogics BoostSpeed. It not only checks hard drive health but also optimizes overall system performance, removes clutter, and frees up disk space for a smoother computing experience.

How to Fix a Corrupted Hard Drive?

To fix a corrupted hard drive, follow these steps:

Backup Important Data: Prioritize backing up important data to avoid permanent loss in case the situation worsens.

Run Check Disk (chkdsk): Use the built-in “Check Disk” tool in Windows to scan and repair file system errors on the corrupted drive. Open Command Prompt as an administrator and type “chkdsk /f X:” (where X is the drive letter of the corrupted drive) and press Enter.

Use Data Recovery Software: If chkdsk doesn’t fully repair the corrupted drive, try using data recovery software to retrieve valuable data before resorting to more aggressive measures.

Reformat the Drive: In severe cases where other methods fail, reformatting the drive may be necessary. Remember that reformatting erases all data, so proceed only if you’ve already backed up your data.