Repairing Guides

how to repair bad sectors on hard drive using cmd

by Giovani Ebert Published 2 years ago Updated 2 years ago
image

[Solution] How to Repair Bad Sectors on My Hard Drive Permanently Using Cmd

  1. Open "This PC", right-click the drive that has bad sectors and choose "Properties".
  2. Go to the "Tools" tab.
  3. Click "Check" to check and repair the bad sectors on your hard disk.

To repair errors without scanning the disk for bad sectors, at the command prompt, type chkdsk volume: /f, and then press <Enter>. To repair errors, bad sectors, and readable information, at the command prompt, type chkdsk volume: /r, and then press <Enter>.Mar 28, 2021

Full Answer

How can I recover hard drive bad sectors?

Summary

  • Method #1: Recover data from hard drive with bad sectors via File Recovery
  • Method #2: Clone disk with bad sectors and recover files from destination disk
  • Method #3: Contact a specialized data recovery company. How to check and repair bad sectors for hard drive? What is a hard drive bad sector? ...

How to fix damaged hard drive sectors?

Repair using CHKDSK

  • First of all, open an elevated Command Prompt window on your computer.
  • Ensure that the corrupted hard drive is connected to the system
  • Then, if it doesn't have one, assign a letter to this corrupted drive through the Disk Management tool
  • Type chkdsk /r/: where the drive letter is X. ...
  • Give it time to finish.

How to recover data from hard drive with bad sectors?

Part 2: How to Recover Data from Hard Drive with Bad Sectors

  1. Choose your hard drive with bad sectors. In this step, you will need to select the hard drive with bad sectors in the window and click the "Start" ...
  2. Scan hard drive with bad sectors Recoverit will start a quick scan on your hard drive with bad sectors. ...
  3. Recover data from hard drive with bad sectors

Is it really possible to repair bad sectors?

These may be marked as bad sectors, but can be repaired by overwriting the drive with zeros — or, in the old days, performing a low-level format. Windows’ Disk Check tool can also repair such bad sectors. Causes of Hard Bad Sectors Your hard drive may have shipped from the factory with bad sectors.

image

How do I repair bad sectors on a hard drive?

Repair Soft/Logical Bad Sectors in WindowsRun CHKDSK Command and Format Hard Drive. ... Run the CHKDSK command to fix soft bad sectors. ... Format hard drive to usable again. ... Use a free disk check and repair tool to fix bad sectors.

Can chkdsk fix bad sectors?

CHKDSK is a Windows built-in utility used to check the integrity of the disk and fix the logical errors found, including bad sectors. Being able to repair hard disk bad sectors, it is your first choice to repair a corrupted hard drive.

How do I format a corrupted external hard drive using CMD?

Format an external hard drive using CMDOpen CMD in Admin Mode.Type diskpart and press Enter.Type list disk to display all the storage media connected to your system.Enter select disk X where X is the number of the disk you want to format.Type clean and press enter to erase all the data on the drive.More items...•

How do I fix bad sectors on my hard drive Windows 10?

Method #1 To Fix Bad Sectors on Windows 10/8:Click on the This PC option and right-click on the drive that you suspect is affected.Now select Properties.Now click on the Tools tab and select the Check button.Review the scan results.Next, click Scan and repair drive > Choose when to fix the file system.More items...•

Should I use chkdsk F or R?

Use the /r parameter to find physical disk errors in the file system and attempt to recover data from any affected disk sectors. If you specify the /f parameter, chkdsk displays an error message if there are open files on the disk.

Which is better chkdsk R or F?

In disk terms, CHKDSK /R scans the entire disk surface, sector by sector, to make sure every sector can be read properly. As a result, a CHKDSK /R takes significantly longer than /F, since it's concerned with the entire surface of the disk, not just the parts involved in the Table of Contents.

How do I fix a corrupted hard drive without formatting?

Method #3: Use the CHKDSK utility to fix file system errors Press Windows Key + S and search for Command Prompt. Right-click the first result and click Run as administrator. Type CHKDSK E: /F /R /X and press Enter (replace “E:” with your own drive letter).

What does SFC command do?

The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache.

How do I fix a corrupted hard drive that won't boot?

Fixing “Disk boot failure” on WindowsRestart the computer.Open the BIOS. ... Go to the Boot tab.Change the order to position the hard disk as the 1st option. ... Save these settings.Restart the computer.

Can damaged sectors be repaired?

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.

Can formatting repair bad sectors?

It wont "fix" bad sectors, but it should mark them as bad (unusable) and therefore no data would be written to those bad sectors.

How do I run chkdsk from command prompt?

Type cmd (Command Prompt) in the Start menu search bar, then click Run as administrator. Type chkdsk and hit Enter. CHKDSK will scan for drive errors and let you know if it found any you should repair, but it won't try to fix them without a command.

Can chkdsk repair SSD bad sectors?

The short answer is yes. Running CHKDSK will not harm an SSD in the same way that running DEFRAG might.

Can bad sectors be fixed by formatting?

These may be marked as bad sectors, but can be repaired by overwriting the drive with zeros — or, in the old days, performing a low-level format. Windows' Disk Check tool can also repair such bad sectors.

How to Repair Hard Drive Using Command (CMD)?

To repair any corrupt hard drive, you’ll have to use CHKDSK, also known as CheckDisk, an official Windows utility that’s designed to check the integrity of a hard drive and repair it in case of damage. CHKDSK is executed within CMD and can be used to repair both internal and external hard drives, irrespective of their storage space.

What is a bad sector?

Bad Sector: A bad sector in a hard drive basically refers to a little cluster of storage space that can’t be read and is defective. Natural wear and tear (hardcore or overtime usage) or physical damage can lead to bad sectors. So, if your hard drive has any bad sector that is due to hardcore or overtime usage (but not physical damage), ...

What is chkdsk f?

chkdsk f: /f (“/f” is a CHKDSK parameter that’ll look for logical errors on the hard drive and try to fix them as well).

What is CHKDSK in command prompt?

CHKDSK is executed within CMD and can be used to repair both internal and external hard drives, irrespective of their storage space. So, let’s quickly check out how to use CHKDSK in Command Prompt to repair a damaged external hard drive in Windows OS.

What does chkdsk f: /f/r/x do?

chkdsk f: /f/r/x (“/r” will look for bad sectors and recover any readable information. “/x” will dismount the hard drive before scanning so that the process doesn’t get interrupted by any external factor).

How to run cmd as admin?

Step 1 - Launch the “Start” menu and search for “CMD”. Right-click the first search result and tap “Open as Administrator” to run CMD as the Admin.

What is a cmd?

Basically, Command Prompt or CMD is a command-line interface that’s used to execute shell commands.

How to fix corrupted hard drive using CMD?

When your hard drive is corrupted, you can refer to the following content to fix corrupted hard disk using Command Prompt. Before proceeding, you had better recover data from the damaged hard drive, and move them to another safe location.

How to repair a corrupted disk?

Step 1. Open AOMEI Partition Assistant, right-click the corrupted disk and select “Rebuild MBR”. Step 2. Select a proper MBR type for your current operating system and click “OK”. Step 3. In the main interface, click “Apply” on the top left corner to commit the pending operation.

How to reformat a corrupted hard drive?

Reformat the corrupted hard drive. Step 1. In the main interface of AOMEI Partition Assistant, right-click any partition of the corrupted disk and select “Format Partition”. Step 2. Select a file system (ex: FAT32) and click “OK”. Step 3. Click “Apply” to start formatting the partition.

What to do if chkdsk.exe fails?

If checking and repairing disk/partition by chkdsk.exe fails, then you can consider the option of rebuilding the MBR of the damaged hard drive. Luckily, AOMEI Partition Assistant could also perform this task.

What does the G mean on a hard drive?

Note: the g: is the drive letter of the damaged hard drive, the f means fixing errors on the disk.

What to do if your disk is corrupted?

Firstly, ensure you have a backup of the data contained in the corrupted disk, if not, use a third-party application to retrieve the corrupted data. Some popular data recovery applications are DiskInternals Partition Recovery, Free EaseUS Data Recovery Wizard, MiniTool Power Data Recovery Software, and Recuva by CCleaner. Each of these has a free trial version and a paid version with additional features. We have an entire article dedicated to various data recovery software and the features they offer – 9 Best Free Data Recovery Software.

What utility can be used to repair a corrupted hard drive?

Along with the system file checker, there is another utility that can be used to repair corrupted storage media. The check disk utility allows users to scan for logical as well as physical disk errors by checking the file system and file system metadata of a specific volume. It also has a number of switches associated with it to perform specific actions. Let’s see how to fix corrupted hard drive using CMD:

How to update disk drivers on Windows 10?

To update the disk drivers on your computer-. 1. Open the Run command box by pressing Windows key + R, type devmgmt.msc, and click on OK to open the Device Manager. 2. Expand Disk Drives and Universal Serial Bus Controllers to find the corrupted hard drive.

Why is my hard drive corrupted?

Hard disk corruption is most commonly caused due to physical damage (if the hard disk took a tumble), a virus attack, file system corruption, bad sectors, or simply due to age . In most cases, if the damage isn’t physical and severe, the data from a corrupted hard disk can be retrieved by fixing/repairing the disk itself.

What is a driver?

Drivers, as many of you might know, are software files that help hardware components effectively communicate with your computer’s software. These drivers are constantly updated by hardware manufacturers and they can be rendered corrupt by a Windows update. To update the disk drivers on your computer-. 1.

How to manually download drivers for a hard drive?

You can also manually download the latest drivers from the hard drive manufacturer’s website. Simply perform a Google search for ‘ *Hard drive brand* drivers’ and click on the first result. Download the .exe file for the drivers and install it as you would any other application.

Does Windows have a built in hard drive repair tool?

As mentioned earlier, Windows has a built-in tool to fix corrupted internal and external hard drives. Usually, Windows automatically prompts the user to perform an error check as soon as it detects a faulty hard drive is connected to the computer but users can also run the error scan manually. 1.

How to repair a bad sector in Windows 10?

Bad sector repair in Windows 10 using Windows built-in tool. Step 1. Open This PC, right-click on System drive and choose Properties. Step 2. Go to Tools, and then click Check. Click on Check under Error-checking. Step 3. Review the scan result, then click Scan and repair drive. Step 4.

What to do when a hard disk has bad sector problem in Windows 11/10/8/7?

A bad sector is a sector on a computer's disk drive or flash memory that is either inaccessible or un-writeable due to physical damage to the disk surface or failed flash memory transistors. When you have a bad sector on the hard disk, the data on the bad sector may be lost. Therefore, you need to do a bad sector repair in Windows 10 hard drive. You can use disk utility software such as CHKDSK, SCANDISK, Windows built-in bad sector repair tool or best bad sector repair software to detect or repair bad sector.

How to check if disk is bad?

Click Start button to check. To check a disk, you can right-click the disk and select Surface Test. After finding out the bad sector, you can subdivide the bad sector into an independent unallocated space.

What is system file checker?

System File Checker is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files. This tool can also scan every sector on a disk volume looking for the bad sector. Let’s see how to remove bad sector from hard disk using CMD.

What is AOMEI Partition Assistant?

AOMEI Partition Assistant is a professional disk manager. The Check Partition feature can directly help you check the bad sectors from the hard disk in Windows 10/8/7 with several clicks. To check bad sector with AOMEI Partition Assistant, you can follow the steps below:

What is a bad sector on a hard drive?

When you done a disk check for hard drive errors, because I got a bad hard drive error message said that bad sectors need to be fixed immediately, I want to know how to fix bad sectors on hard drive, please help.” A bad sector on a disk is simply a tiny cluster of storage space. It won’t respond to read or write requests. And bad sectors may occur on both traditional HDD and modern SSD. Generally speaking, when writing data, operating system will ignore the bad sectors. But if there is data on a bad sector, you cannot use it anymore. Fortunately, there are ways to repair drive Windows 10/8/7/XP.

How to scan a hard drive for bad sectors?

Step 1: Open a Windows File Explorer by clicking "Win + E". Right-click on the local disk that contains bad sectors and choose "Properties". Step 2: Go to the "Tools" tab on Properties window and click on "Check" under Error checking section. Then click "Scan drive" to trigger scanning process.

How to recover a corrupted hard drive?

Launch it when you found bad sectors and corrupted files on your hard drives. Go to the Data Type section and choose the data types you want to recover, such as Image. Then head to Location section and choose the local disk contains bad sections. Once click the "Scan" button, Data Recovery will start working.

How to recover files from bad sector?

If you cannot find the desired files, click on the "Deep Scan" button at upper right corner to execute a deep scan. Make sure to select all files that you want to recover by ticking corresponding boxes, and click on the "Recover" button to initiate recovering data from bad sector on Windows 10/8/7.

What are bad sectors?

There are two types of bad sectors — one resulting from physical damage that can’t be repaired, and one resulting from software errors that can be fixed.

How to run a command prompt as administrator?

Step 1: Hold down "Win + X" to go to the power users menu, and then click "A" on your keyboard. That will run a command prompt window as administrator.

Can you recover data from a bad hard drive?

Even if fixing bad sectors on hard drive fails, Data Recovery is able to recover data from it. And it does not limit how much data to recover at one time.

How to fix a hard drive error in Windows 10?

Step 1. Click the Search button and type PowerShell. Step 2. Right-click the PowerShell and choose Run as administrator. Step 3.

How to repair Windows image in CMD?

Open CMD as admin, type Dism /Online /Cleanup-Image / RestoreHealth, and press Enter to repair the Windows image.

What is the most commonly used CHKDSK command?

Based on the disk error types, you can use the different CHKDSK commands and switches to fix hard drive errors. CHKDSK /F, CHKDSK /R, and CHKDSK /X are the most commonly used CHKDSK commands.

What is easeus partition master?

EaseUS Partition Master is a full-featured disk partitioning utility that enables you to manage primary and advanced partitions and maximize disk capacity usage.

How to stop chkdsk from running?

Press Esc or Enter to stop chkdsk from running.

What is a CHKDSK?

CHKDSK, also known as Microsoft Check Disk, is a utility that can be used in almost all Windows versions . The CHKDSK command is used to scan through your entire hard drive to find and fix any errors. For example, when your computer freezes, you cannot access a certain disk due to a corrupted file system, then you can use the CHKDSK commands to check and fix the drive errors.

How long does it take to run chkdsk -r?

chkdsk -r will take some time. It could take over an hour, maybe two, three, or more, depending on your partitioning.

image

Basics About Command

How to Repair Hard Drive Using Command (Cmd)?

  • To repair any corrupt hard drive, you’ll have to use CHKDSK, also known as CheckDisk, an official Windows utility that’s designed to check the integrity of a hard drive and repair it in case of damage. CHKDSK is executed within CMD and can be used to repair both internal and external hard drives, irrespective of their storage space. So, let’s quick...
See more on recoverit.wondershare.com

One-Stop Solution | How to Recover Data from Hard Drive?

  • While using a command prompt to recover data is a cool way to get back deleted files, it doesn’t work all the time. In fact, the recovery rate for Command Prompt is so low that you might never be able to retrieve all the files from a damaged external hard drive. If you’re facing the same situation, we recommend using a professional data recovery tool, i.e., Wondershare Recoverit to retrieve t…
See more on recoverit.wondershare.com

Conclusion

  • Encountering software errors on an external hard drive is a common problem experienced by many users. However, instead of panicking about the situation, simply fire up your laptop and execute the above-mentioned commands to repair the external hard drive using CMD. And, in case you’ve lost your valuable data during the repairing process, install Wondershare Recoverit, and g…
See more on recoverit.wondershare.com

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9