How to fix a corrupted hard drive

How To Fix a Corrupted Hard Drive On Windows 10/11

Last updated:
Rating: 5.0 / 5
Votes: 1

No robots used, our articles are crafted by humans under strict Editorial Guidelines.

Written by Jordan Jamieson-Mane Jordan Jamieson-Mane Staff Writer • 52 articles Jordan Jamieson-Mane, a data recovery and Windows troubleshooting expert, joined Handy Recovery Advisor in 2021. Starting as a contributing writer, he quickly established himself as a skilled technical writer and researcher, earning his current staff writer position. LinkedIn Approved by Andrey Vasilyev Andrey Vasilyev Editor Andrey Vasilyev is an Editorial Advisor for Handy Recovery. Andrey is a software engineer expert with extensive expertise in data recovery, computer forensics, and data litigation. Andrey brings over 12 years of experience in software development, database administration, and hardware repair to the team. LinkedIn
Quick summary

This article discusses multiple methods that can be used to fix a corrupted hard drive on Windows 10 and Windows 11 systems. In case one of these techniques cannot fix the drive, we also talk about using data recovery software to retrieve the information residing on the corrupted device.

Jump to:

Corruption is a nasty and often unexpected problem that occurs in hard drives and results in the loss of some of your data, or worse, your entire hard drive. It’s a problem that plagues anyone who’s unfortunate enough to encounter it, and it’s a very real possibility for anyone who uses a hard drive.

🗨️

There are various causes behind corruption that we’ll look at in this article. We’ll also cover how to fix a corrupt hard drive so you can hopefully restore it to working order, as well as retrieve your data.

Symptoms of Hard Drive Corruption

When a hard drive has become the victim of corruption, it’s quite easy to tell. Before we look at ways to repair a corrupted hard drive, we must first understand how corruption presents itself.

Drive is inaccessible

When attempting to access your hard drive, you’re met with a prompt stating that the drive is inaccessible. The same is true for any shortcuts you had pointing to files on that drive.

⚠️ Drive requires formatting

When you connect or try to access your hard drive, the Operating System tells you that you need to format it before using it. This is a direct indicator that the drive has been logically corrupted and its file system has become damaged or RAW.

💥 Blue screen of death (BSoD)

If the hard drive that contains your operating system files is corrupted, you may receive the infamous blue screen of death that indicates your hard drive has sustained damage.

🔍 Bad sectors

Bad sectors are areas on your hard drive that are no longer usable. Data that’s stored on those sectors has a high chance of becoming corrupted. Bad sectors can be found by analyzing the S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology) data (more on this later).

🐌 Slow performance

Corrupted hard drives operate at slower speeds and may struggle with even the simplest tasks like opening a folder or transferring data to and from the device.

Disappearing files

Corruption can cause some areas of the hard drive to become inaccessible, which means a chunk of your files may suddenly disappear. While they may still physically reside on the hard drive, they can’t be accessed while it’s corrupted.

Just because your hard drive is corrupted doesn’t mean your data is lost. In many cases, a corrupted hard drive doesn’t always mean corrupted data.

How to Recover Data From a Corrupted Hard Drive

Before we look at ways to repair your damaged hard drive, we’re going to cover what you can do to recover your data beforehand. Some methods used to fix a corrupted hard drive may involve the deletion of your data, so recovering what data you can now prevent some loss.

To recover your data, you need a data recovery tool. The one we’re using is Disk Drill Data Recovery. Not only does it have an impressive track record of successful recoveries, it’s also packed with useful features that can be used to monitor your hard drive’s health and preemptively warn you of potential problems (we’ll look at those later).

If you don’t want to recover your data now, you can also use the Drive Backup feature included with Disk Drill to create a byte-to-byte image that you can recover from at a later time.

  1. Download Disk Drill. Install it, then open it.
  2. Select the corrupted hard drive and click Search for lost data.Starting the Disk Drill scan.
  3. Click Review found items when the scan has finished.Reviewing what Disk Drill found.
  4. Select what files you want to recover. Make note of the Recovery chances column to determine the chance of successfully recovering that file. Click Recover.Choosing what files to recover.
  5. Choose where the recovered files should go.Confirming file recovery.

How to Check Your Hard Drive’s Status

Checking the status of your hard drive before attempting to fix it can give you an indication of how bad the damage is. We’ll show you two different ways to do so.

PowerShell

PowerShell commands can be used to quickly get an indication of your drive’s health using its S.M.A.R.T. data.

  1. Right-click Start and click Windows PowerShell (Admin). Click Yes if prompted to confirm.Opening PowerShell.
  2. Type wmic diskdrive get status and press Enter.Running the DiskDrive command.

If the status returns as “bad”, “unknown”, or “caution”, there’s a good chance that your hard drive has sustained some form of damage and should be backed up immediately.

Disk Drill

Disk Drill includes a S.M.A.R.T. monitoring feature that actively checks your drive and reports if there is anything for concern. This way, you can get a headstart on fixing the problem rather than manually checking from time to time.

  1. Download and install Disk Drill if you haven’t already.
  2. Select the corrupted hard drive and click the S.M.A.R.T. tab on the right.The S.M.A.R.T. panel.
  3. Click Check all S.M.A.R.T. attributes. This will show you the hard drive’s status. If you want to enable active monitoring, proceed with the below steps.S.M.A.R.T. data.
  4. Click the three dots at the top right and click Preferences.Accessing Disk Drill's preferences.
  5. Click S.M.A.R.T. in the left panel, then tick Enable S.M.A.R.T. disk monitoring and Show status in system tray.Enabling active disk monitoring.

8 Methods to Fix Corrupted Hard Drive

Finally, let’s look at ways you can fix your corrupted hard drive. Some of the below methods allow you to repair a corrupted hard disk without formatting, others may require formatting if such methods don’t work. While some methods may seem basic, it’s important you work through the list methodically to ensure no troubleshooting steps are missed.

Method 1: Connect to Motherboard USB Port

Your drive may not be visible or accessible due to the port it’s connecting to. Instead of connecting your hard drive using a port on your PC case or USB hub, connect to the USB port that’s on your motherboard. In most PC cases, this is located on the back I/O panel of your computer.

Connecting through the USB port on your motherboard ensures a direct connection and rules out the possibility of ports being broken on your computer’s case or USB hub.

Method 2: Test Another Device

In order to isolate whether the issue sits with your hard drive or the computer, try connecting the hard drive to another computer. If the hard drive works in another computer, then the fault may actually be with your own computer.

If the hard drive is still corrupted when connected to another computer, proceed with further troubleshooting.

Method 3: Scan for Viruses

Corruption can be caused by a virus attack. An easy way to identify if this is the cause of the problem is by running a scan using your antivirus software. This can effectively eliminate the problem and prevent further corruption.

👀

If you don’t already have antivirus software installed to scan, you can download an application and do so. Keep in mind that installing anything to the drive after data loss decreases your chances of recovery as it may be overwritten.

Method 4: Assign or Change the Drive Letter

Drive letters aren’t essential to accessing storage devices. Look at Mac OS X and Linux, for instance. The lack of drive letters seems to work just fine for those operating systems, so why are they still necessary in Windows? Well, the biggest reason would be backwards compatibility. Each change Microsoft makes includes great consideration for what came before.

Without a drive letter, your operating system might struggle to locate and access the hard drive. You can fix this by either assigning a drive letter, or changing the existing one.

  1. Right-click Start and click Disk Management.Opening Disk Management.
  2. Right-click the corrupted partition and click Change Drive Letter and Paths.Selecting 'Change Drive Letter and Paths'
  3. Click Change. If there is no drive letter, click Add instead.Selecting the existing drive letter.
  4. Choose a drive letter from the dropdown menu. Click OK.Confirming the change of drive letter.
  5. Click OK again.

Method 5: Update or Reinstall Drivers

Drivers are responsible for establishing and maintaining communication between the operating system and the hardware you use. If your drivers are outdated or corrupted, your computer may not read the hard drive correctly (or at all). Updating them or reinstalling them may be enough to fix a broken hard drive.

  1. Right-click Start and click Device Manager.Opening Device Manager.
  2. Expand the Disk drives dropdown and right-click your hard drive. The name will likely be different depending on your hard drive. Click Properties.Accessing the device properties.
  3. Go to the Driver tab and click Update Driver.Updating the driver.
  4. Click Search automatically for drivers. Otherwise, if you have the updated drivers, you can click Browse my computer for drivers to do this manually.Searching for updated drivers automatically.
  5. If you find that there are no updated drivers, click Close. Now, click Uninstall Device.Uninstalling the existing driver.
  6. Click Uninstall.Confirming the uninstallation of the existing driver.

If you had to uninstall your driver, restart your computer so it automatically installs the drivers again.

Method 6: Repair Using CHKDSK

Check Disk (CHKDSK) is a command in Windows that can scan and resolve any problems it discovers on your hard drive. It’s customizable using different parameters, depending on what you want the command to do.

We’re going to use the /r parameter. This will fix any errors on the disk and search for bad sectors, consequently marking them as unavailable for storage.

  1. Right-click Start and click Windows PowerShell (Admin). If prompted to allow access by UAC, click Yes.Opening PowerShell.
  2. Type chkdsk E: /r. Replace E: with the drive letter of your corrupted hard drive. Press Enter.Running CheckDisk in PowerShell.

This command can take some time to complete if your hard drive is large in size.

Method 7: Repair Using SFC & DISM

This method will include the use of two Windows functions: System File Check and DISM. System File Check is used to check for system file corruption and replaces corrupted system files with working versions. DISM also does this and verifies the integrity of the file system to ensure no corruption remains.

👀

If you’ve modified any system files, like DLL files, this method will revert them back to their original state.

  1. Right-click Start and select Windows PowerShell (Admin).Opening PowerShell.
  2. Type sfc /scannow and press Enter.Running the SFC command.
  3. Type dism.exe /online /cleanup-image /restorehealth and press Enter.Running the DISM.exe command.

Method 8: Repair Using Victoria911

Victoria911 is a powerful hard drive tool that can be used to monitor S.M.A.R.T. data and detect bad sectors. If any bad sectors are detected, you can also choose to remap them so Windows doesn’t save new data to that location.

👀

This is a Belarusian application, but you can change the language to English inside. You can also create bootable flash drives that allow you to bypass your computer’s operating system and use it in DOS mode to interact with your hard drive directly.

  1. Download Victoria911 and extract the files. Open it.Downloading Victoria911.
  2. Click Test & Repair.Accessing the Test & Repair section.
  3. Make sure the scan is set to Read and Ignore. Press Scan.Running a scan for bad sectors.
  4. Upon completion, you can choose to remap bad sectors by clicking Remap and performing another scan.Remapping bad sectors.

Method 9: Format the Drive

Formatting your hard drive is a solution used to fix all types of problems, including corruption. It involves wiping your hard drive, essentially back to factory settings. It comes in two forms: Quick Format and Full Format.

A Quick Format is faster and works by quickly deleting all of the data on the disk. Although the data is deleted and cannot be accessed by the operating system, it can often be recovered using data recovery tools as the data still remains on the disk until it’s overwritten.

A Full Format takes longer, but it’s more efficient. The data is wiped and is basically unrecoverable. The Full Format also checks your data for bad sectors, which contributes greatly to the time it takes for the format to complete.

👀

Before formatting, it’s important that you backup or recover what data you can. While formatting can repair a damaged hard disk, there’s no guarantee that your data can be recovered after the drive is formatted, especially if a Full Format is performed.

  1. Right-click Start and click Disk Management.Opening Disk Management.
  2. Right-click the corrupted partition and click Format.Beginning the format.
  3. Check Perform a quick format. Click OK.Confirming the format.

If you want to perform a Full Format, uncheck Perform a quick format in the final step. Note, however, that this likely renders your data unrecoverable after completion.

How to Protect Your Hard Drive From Corruption

Of course, the most effective way of fixing a corrupted hard drive is actively avoiding corruption in the first place. Do so by picking up these simple habits.

  • 💻 Monitor your S.M.A.R.T. data – Every drive has S.M.A.R.T. data that monitors its health. Disk Drill includes a feature that actively monitors this data and indicates when problems arise so you can stamp them out early on.
  • Remove devices safely – Before removing a hard drive (if it’s externally attached), be sure to safely eject it from the device it’s connected to before removal. This ensures all necessary write processes have been halted.
  • 🤖 Use an antivirus – Viruses can corrupt your data. Having an antivirus is an easy way to avoid this. Paid solutions exist, but free solutions, like Malwarebytes, are often more than enough when paired with the built-in Windows Security.

Establishing positive habits when it comes to handling your data and storage devices goes a long way and can often save you hours, potentially days of troubleshooting and recovery.

FAQ

Why is my hard drive unreadable?

There are many reasons why your drive may be unreadable:

  • Incompatible file system – If your drive is formatted with an unfamiliar file system, it won’t be readable. Try connecting it to a machine with a compatible operating system.
  • Faulty USB port or device – A defective USB won’t read anything connecting to it. Try a different port. If that’s unsuccessful, try connecting it to another device.
  • The drive is corrupted – Corruption can result in the hard drive not appearing when connected. Instead of checking Windows File Explorer, try checking Disk Management to see if it appears.

How did my hard drive get corrupted?

Sometimes it’s hard to figure out what caused the corruption. A few common reasons include:

  • Premature disconnection – Disconnecting the hard drive without first ejecting it safely can interrupt write processes. This results in incomplete data being saved, which causes corruption.
  • Virus attack – Viruses can attack your system and corrupt your drive. Try scanning your system with an antivirus application.
  • Old age – Hardware, over time, declines naturally. Especially hard drives. If this is the case, recover what data you can and replace the drive.

How to recover a corrupted hard drive?

Here’s a super-quick guide to recovering a corrupted hard drive:

  1. Download and Install Disk Drill.
  2. Connect your corrupted hard drive to the PC.
  3. Select the HDD and click Search for Lost Data to begin the scan.
  4. Preview the files you want to recover.
  5. Click Recover to restore your data and choose a recovery location.

How to repair corrupted hard disk using cmd?

You can use the Check Disk (CHKDSK) utility in Windows to scan and fix any hard drive-related problems. The command being used will also look for bad sectors and mark them as unusable to the operating system.

  1. Right-click Start and click Windows PowerShell (Admin).
  2. If prompted to allow access by UAC, click Yes.
  3. Type chkdsk E: /r. Replace E: with the drive letter of your corrupted hard drive. Press Enter.

How to fix a corrupted external hard drive without formatting?

You can attempt to fix your corrupted external hard drive using Check Disk, a utility that’s included with Windows that scans for hard drive related errors and attempts to fix them.

  1. Right-click Start and select Windows PowerShell (Admin).
  2. Type chkdsk E: /r. Replace E: with the drive letter of your corrupted hard drive. Press Enter.

Will formatting fix a corrupted hard drive?

There’s no guarantee that formatting a corrupted hard drive will fix it, but formatting does remain one of the most effective solutions to fixing formatted hard drives. This is especially true for Full Formats, as the operating system searches the entire drive for bad sectors which are spaces on the hard drive that are no longer usable.

By finding and marking them as unavailable, you ensure Windows doesn’t save data there in the future.

Conclusion

The methods outlined above can be used to recover your data and effectively fix a corrupted hard drive. Once the hard drive is free of corruption, you should evaluate what caused the damage, back up your data, and consider a replacement drive.

About article

This article was written by Jordan Jamieson-Mane, a Staff Writer at Handy Recovery Advisor. It was also verified for technical accuracy by Andrey Vasilyev, our editorial advisor.

Curious about our content creation process? Take a look at our Editor Guidelines.

How do you rate the article? Submitted:
Current article rate: 5 1 vote