
How to Repair or Fix Corrupted Hard Drive Using CMD?
- 5 Ways to Fix Corrupted Hard Drive using Command Prompt (CMD)
- Method 1: Update Disk Drivers. If the hard drive can be successfully used on another computer, chances are, your disk drivers need updating.
- Method 2: Perform Disk Error Checking. ...
- Method 3: Run the SFC Scan. ...
- Method 4: Use the CHKDSK utility. ...
- Method 5: Use the DiskPart command. ...
How to defragment your hard drive in command prompt?
Defragment in CMD. Step 1. Press “Windows” + “R” at the same time to open the “Run” box, then type “cmd” to open CMD. Step 2. Insert “defrag x: ” (x is the name letter of your external hard drive.) and hit “Enter”. Then wait for a while, you can see the volume information in the CMD window.
How to repair or fix corrupted hard drive using CMD?
- To start the corrupted hard disk repair process, open Command Prompt in Admin mode (Right-click Start button and click Command Prompt (Admin)).
- Type the following command to start the error checking and fixing process for your internal or external drive: chkdsk C: /F where C is the drive letter. ...
- Press Enter. ...
How to restore your computer using command prompt?
What to Know
- Open Command Prompt.
- Type this command in the Command Prompt window: rstrui.exe.
- Press Enter to open the System Restore wizard. Follow the instructions on the screen to complete the System Restore.
How to run Disk Cleanup from command prompt?
To use it:
- Open Command Prompt, type cleanmgr, and hit Enter.
- In the Drive Selection window, select the drive you want to clean up and click OK.
- Next, in the Disk Cleanup window, select all the files you want to delete and click OK.
- Finally, click on Delete Files to confirm the action.

How can I fix my corrupted hard drive using Command Prompt?
Format corrupt internal volume using CMDOpen elevated Command Prompt (Admin mode) corrupted hard drive repair using CMD.Type diskpart command and press Enter.Type list disk and press Enter.Select the disk where the partition exists i.e. your internal hard drive: ... Display a list of available partitions:More items...•
How do I scan and repair an external hard drive using Command Prompt?
Open Start, type cmd, and hit Enter to launch a Command Prompt Window. Type chkdsk g:/f (if the external hard drive is drive g) and press Enter. Type sfc /scannow and hit Enter.
How do I fix a corrupted hard drive?
You can fix the 'Disk Structure Corrupted and Unreadable' error by:Unplugging and re-plugging the external HDD or USB drive.Uninstalling and reinstalling disk drive.Running hardware and device troubleshooter.Running disk scan for hard drive errors.Running CHKDSK command.More items...•
How do I format a corrupted external hard drive using CMD?
How to Repair or Fix Corrupted Hard Drive Using CMD?5 Ways to Fix Corrupted Hard Drive using Command Prompt (CMD)Method 1: Update Disk Drivers.Method 2: Perform Disk Error Checking.Method 3: Run the SFC Scan.Method 4: Use the CHKDSK utility.Method 5: Use the DiskPart command.
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.
How do I fix a corrupted and unreadable external hard drive?
5+ Fixes for "The Disk Structure Is Corrupted and Unreadable" Error#1. Unplug and Re-plug the Corrupted/Unreadable Device.#2. Check and Repair Disk Error via CHKDSK.#3. Reinstall Disk Drivers.#4. Format Drive.#5. Recover Data.
Can a hard drive be repaired?
If the hard drive is inaccessible, TestDisk is a program that can repair it. Though challenging to use due to its scanty interface, this free little tool proves itself to be a powerful tool to save your hard drive. Alternatively you can use Ontrack EasyRecovery with its SMART tools.
Can a corrupted hard drive be recovered?
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. Right-click Start and click Disk Management. Right-click the corrupted partition and click Format. Check Perform a quick format.
How do I revive a dead hard drive?
0:543:00Revive a dead hard disk - YouTubeYouTubeStart of suggested clipEnd of suggested clipAnd keep it there overnight the theory is that by freezing the drive the metal will shrink justMoreAnd keep it there overnight the theory is that by freezing the drive the metal will shrink just enough for the parts to start working again in the morning take the hard drive out of the freezer.
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 scan my external hard drive for errors?
Run Disk Error CheckingPlug in your external hard disk.Open File Explorer by pressing the Windows keys button + E.Go to This PC.Right-click your external hard disk under Devices and drives.Select Properties.Go to Tools tab.Under Error checking, click Check.More items...•
How do I scan and fix a hard drive with CHKDSK?
Here's how to run CHKDSK from Command Prompt on Windows: 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.
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 run CHKDSK R on an external hard drive?
In Command Prompt window, you can type CHKDSK commands to run CHKDSK on external drive. You can type chkdsk *: /f command and press Enter to find and fix disk errors. If you need to check bad sectors on the external hard drive, you can type chkdsk *: /r command and press Enter.
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 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 recover deleted files from a hard drive?
Now, launch the software and choose the hard drive as the target location. It’ll be listed under the “External Devices” tab. Step 2 Click the “Next” button and Recoverit will start scanning the hard drive for all the deleted files.
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 open file explorer on Windows 10?
1. Open Windows File Explorer (or My PC) by either double-clicking on its desktop shortcut icon or using the hotkey combination Windows key + E.
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.
How to check for errors on a hard drive?
It will display you the basic situation of your hard drives. Select the partition that you want to check for, right click it, select Advanced -> Check Partition. Step 2. It will pop up a small window that you can select the way of checking errors to perform.
What is a check disk?
Check Disk, short as “CHKDSK”, is a Windows utility that can check the file system integrity of your hard disk and can fix various file system errors on FAT16, FAT32, and NTFS drives.
How to check disk with command line?
Press Windows + R simultaneously, type cmd, press Enter. Then, you will get into a command prompt and you can start to check disk with command line. If you do not know how to use it, you can type chkdsk /? and hit Enter, which will give you its parameters or switches.
How to access check disk?
The most common way to access Check Disk is from elevated Command Prompt. There are the corresponding check disk commands to help check and fix errors on the selected partition. To use command prompt check disk, you need to open command prompt as administrator. Take an example of Windows 10:
How to test integrity of G drive?
For example, if you want to test the integrity of the G: drive, you can type the command in the prompt: " chkdsk g:", To find and repair any errors that are found in G: drive, type " chkdsk g: /f" instead.
Can I use AOMEI to check disk partition?
So, you’d better make a backup of your data before using command line, or you can find a safe alternative to Check Disk commands. It is recommended to use the AOMEI Partition Assistant Standard. This great free disk partition manager can help you check for and fix errors on disk partitions.
Can you upgrade to AOMEI Partition Assistant Professional?
To unlock and enjoy more advanced features such as allocate free space from one parti tion to another, convert system disk between MBR and GPT without deleting partitions, recover lost partitions , and more, you can upgrade to AOMEI Partition Assistant Professional.
How to fix corrupted disk without formatting?
This command is helpful if you want to fix the corrupted disk without formatting. Steps of running chkdsk command: Step 1: Go to the start menu, type in cmd in the search bar. Step 2: Right-click cmd. exe and choose Run as administrator. Step 3: Run the following command in the Command Prompt. chkdsk *: /f /r /x.
How to recover lost data from the corrupted hard drive?
Using cmd to check and repair the corrupted hard drive might overwrite the original data on the hard drive, resulting in irreparable data loss. Therefore, if you have important data on the hard drive, it is highly recommended that you retrieve them first with the help of data recovery software. If you don't need data recovery, please go ahead to fix the corrupted hard drive using cmd.
What is diskpart in Windows 10?
DiskPart is a command-line built-in utility on Windows. It allows users to modify both internal and external partitions with command lines. If the hard drive is corrupted and becomes RAW, you can use diskpart command to convert RAW to NTFS/exFAT/FAT32.
What is the best hard drive recovery software?
iBoysoft Data Recovery is one of the best hard drive data recovery software for Windows. It enables you to recover lost data from corrupted hard drives. It can recover photos, videos, documents, email files and other types of files from both internal hard drives and external hard drives. It works effectively on corrupted hard drives from Seagate, Western Digital, Samsung, Toshiba and other notable hard drive manufacturers. In addition, the software supports data recovery when the hard drive is formatted. Moreover, this software is able to recover deleted or lost data from BitLocker encrypted partitions. If you accidentally deleted or lost one or more partition on the hard drive, data recovery is also can be achieved successfully.
Why is my hard drive corrupted?
As popular storage devices, hard drives can suddenly get corrupted due to various reasons, such as aging, virus attack, and file system corruption. Once the hard drive is not working properly, you will have a hard time reading and writing to the hard drive normally, or even worse, all the saved data can be inaccessible.
Do you have to save the recovered files?
Do remember to save the recovered files to a reliable location to avoid data loss again. And, don't forget to check if you have recovered all the important files before you exit the software. Otherwise, you will have to spend time re-scanning the disk for data recovery.
Can you fix a corrupted hard drive?
Even though your hard drive is corrupted, it doesn't mean that you need to say goodbye to it. Good news is that your hard drive doesn't have hardware damages that prevent you from fixing and recovering since it is detected by the computer. In other words, you can fortunately fix the hard drive using cmd on your Windows PC.
How do I repair Windows 10 with command prompt?
When the error is too serious, you can run advanced repair like system restore. For Windows 10, you can also use DISM command line utility to repair Windows 10 image.
What is a dism command?
DISM command Windows 10 can be used to repair and prepare Windows images, including, Windows Setup, Windows Recovery Environment, and Windows PE. Also, DISM can be used to fix the recovery image within an installation of the operating system. To repair Windows 10 using DISM commands:
What to do if SFC is unable to fix?
If SFC is unable to fix the problem, probably the utility cannot get the necessary files from the Windows image, which might have become broken. In this situation, you can use DISM to repair the Windows image.
What is SFC in Windows 10?
SFC (System File Checker) is a command-line utility that can scan for corruption in Windows system files and replace any corrupted or missing protected system files with a known good version. When you feel buggy with your computer or notice problems during boot, you can use SFC to diagnose problems and repair it.
How to repair Windows 10 with SFC?
To repair Windows 10 using SFC with detailed steps: 1. Open "Start", search for the Command Prompt, select it and run as administrator. 2. Then type the command: "sfc /scannow" and press "Enter".
How to get into safe mode on Windows 10?
1. Start your computer and press "F8" repeatedly until the Windows advanced options menu appears. 2. Click "Safe Mode with command prompt"and press "Enter". If your computer can boot normally, type "cmd"in the search box and click "Command Prompt"to continue. 3. Sign in using an administrator account if needed.
How long is the free trial of Aomei Backupper?
Download the 30-day free trial of AOMEI Backupper right now!
How to Fix Corrupted Hard Drive Using cmd?
Before following these steps make sure the corrupted hard drive is connected with your Windows PC.
Fix the corrupted hard drive using CCleaner
Using Utility software helps you to speed up your PC along with fixing the corrupted hard drive.
How to fix corrupted hard drive?
Fixing the corruption on a hard drive can be as simple as formatting the drive. If you are unable to access the drive itself, format the drive using Disk Management might not be an option. This is where you can effectively use Diskpart command shown to format the drive and fix corruption. Follow the steps carefully and perform the repair.
How to Fix Logical Failure / Corruption on hard drives?
If you are looking for the ways to fix failed hard drive, the best way to repair corrupt hard drive is using Diskpart commands in Command Prompt (CMD) with .
What makes drive corrupt or failed?
There are several reasons, here are a few reasons that makes drive to fail or corrupt.
What is diskpart command?
Diskpart is a command interpreter that helps to manage drives existing on the hard disk. Also, with the an appropriate Diskpart commands you will be able to fix the failed hard drive in Windows PC.
What if there is no backup or you didn't find any data after running Diskpart?
What if there is no backup or you didn’t find any data after running Diskpart? You no need to worry! Download SFWare Hard drive recovery tool, a reliable data recovery solution that will easily recover data from failed and bad sectored hard drives. The tool comes with a robust search algorithm helps to scan every sector of formatted drive and locate the formatted data from the drive.
How to run a command as administrator?
1. Open CMD in Admin Mode by selecting Command Prompt -> Run as Administrator
What happens when you format a hard drive?
Note: Formatting of the drive, erases all the data existing on the drive, so go ahead and back up your data before doing so. If the drive is inaccessible, recover data from the inaccessible drive and then follow the steps given below.
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.
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.
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.
How to stop chkdsk from running?
Press Esc or Enter to stop chkdsk from running.
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.
How to check if a partition is a file system?
Step 1. Open EaseUS Partition Master on your computer. Then, locate the disk, right-click the partition you want to check, and choose "Advaned" > "Check File System".
Is it safe to run chkdsk?
It's safe to run the CHKDSK /R command under normal circumstances as long as you're using the syntax properly. There are different parameters with CHKDSK; you can check the CHKDSK parameters and choose the one that suits your problem to fix disk errors.
How to run a command prompt as administrator?
Run Search and type Command Prompt. Find Command Prompt from the results, right-click it, then select Run as Administrator.
What to do if SFC fails to replace a broken file?
If SFC fails to replace the broken Windows file, you can try doing so manually. This is possible as long as you know where the corrupt file is located. You will also need a good copy of that file so it can be replaced. Open an elevated Command Prompt and type the following command: TAKEOWN /F <FILE LOCATION>.
Does Windows Resource Protection find integrity violations?
Windows Resource Protection did not find any integrity violations – Windows was unable to find corrupt files in your hard disk. Windows Resource Protection could not perform the requested operation – This means you have to run System File Checker using Safe Mode.
Does Windows Resource Protection fix corrupted files?
Windows Resource Protection found corrupt files and successfully repaired them – Windows found the broken files and fixed them. Windows Resource Protection found corrupt files but was unable to fix some of them — Windows found corrupt files but was unable to do anything about it.

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...
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…
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…