How To Repair Hard Drive From Command Prompt
I of the most terrifying incidents that tin can happen in the tech world is the corruption of storage media such as internal or external hard drives, flash drives, memory cards, etc. The incident can even prompt a mini heart assault if the storage media contained some important information (family unit pictures or videos, piece of work-related files, etc.). A few signs that indicate a corrupt hard drive are error messages like 'Sector not found.', 'Y'all demand to format the deejay before you lot can use it. Practice you lot want to format it now?', '10:\ is non attainable. Access is denied.', 'RAW' status in Disk Direction, file names offset including & * # % or any such symbol, etc.
Now, depending on the storage media, corruption may be caused by dissimilar factors. Hard disk abuse is most unremarkably caused due to physical harm (if the hard disk took a tumble), a virus assault, file system corruption, bad sectors, or simply due to age. In most cases, if the harm isn't physical and severe, the data from a corrupted hard disk tin can exist retrieved by fixing/repairing the disk itself. Windows has a built-in mistake checker for both internal and external hard drives. Autonomously from that, users can run a fix of commands in an elevated control prompt to gear up their corrupted drives.
In this commodity, we will bear witness you multiple methods that can exist employed to repair or fix corrupted difficult bulldoze in Windows 10.
How to Repair or Fix Corrupted Hard Drive Using CMD?
Firstly, ensure you have a backup of the data independent in the corrupted deejay, if not, use a third-political party awarding to think the corrupted data. Some popular data recovery applications are DiskInternals Segmentation Recovery, Gratuitous EaseUS Data Recovery Wizard, MiniTool Power Information Recovery Software, and Recuva by CCleaner. Each of these has a free trial version and a paid version with boosted features. We have an entire commodity dedicated to diverse data recovery software and the features they offer – ix All-time Gratis Data Recovery Software.
Also, try connecting the hard bulldoze USB cable to a different computer port or to some other estimator altogether. Ensure the cable itself isn't faulty and use another ane if bachelor. If abuse is acquired due to a virus, perform an antivirus scan (Settings > Update & Security > Windows Security > Virus & threat protection > Scan now) to remove the said virus and repair the difficult drive. If none of these quick fixes worked, motility to the avant-garde solutions below.
5 Ways to Fix Corrupted Hard Drive using Command Prompt (CMD)
Method i: Update Disk Drivers
If the hard bulldoze can exist successfully used on another reckoner, chances are, your disk drivers need updating. Drivers, as many of y'all might know, are software files that help hardware components effectively communicate with your reckoner'due south software. These drivers are constantly updated by hardware manufacturers and they tin exist rendered corrupt by a Windows update. 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. Aggrandize Disk Drives and Universal Serial Bus Controllers to observe the corrupted difficult drive. A hardware device with outdated or corrupt driver software will be marked with a yellow exclamation mark.
3. Right-click on the corrupted hard disk and select Update Driver.
four. In the following screen, choose 'Search automatically for updated driver software'.
Yous can also manually download the latest drivers from the hard drive manufacturer's website. But perform a Google search for '*Difficult drive make* drivers' and click on the first result. Download the .exe file for the drivers and install information technology as you would whatever other application.
Also Read: How to Repair Corrupted System Files in Windows 10
Method 2: Perform Deejay Error Checking
As mentioned earlier, Windows has a built-in tool to fix corrupted internal and external difficult drives. Usually, Windows automatically prompts the user to perform an error bank check equally soon every bit it detects a faulty hard drive is connected to the figurer only users can also run the fault browse manually.
one. Open Windows File Explorer (or My PC) by either double-clicking on its desktop shortcut icon or using the hotkey combination Windows primal + E.
2. Correct-click on the hard drive yous are trying to fix and select Backdrop from the ensuing context menu.
3. Motion to the Tools tab of the Properties window.
4. Click on the Cheque push under the Error-checking section. Windows will at present scan and set all the errors automatically.
Method iii: Run the SFC Scan
The hard drive may also be misbehaving due to a corrupt file system. Fortunately, the System File Checker utility tin can exist used to repair or fix the corrupted hard drive.
ane. Press Windows fundamental + South to bring up the Get-go Search bar, type Command Prompt and select the option to Run as Administrator.
2. Click on Yeah in the User Account Control popular-up that arrives requesting permission for the application to make changes to the system.
3. Windows 10, 8.1, and 8 users should run the below command first. Windows seven users tin skip this step.
DISM.exe /Online /Cleanup-image /Restorehealth
4. Now, type sfc /scannow in the Command Prompt and press Enter to execute.
5. The utility will start verifying the integrity of all protected organization files and supplant whatever corrupt or missing files. Do not close the Command Prompt until the verification reaches 100%.
6. If the hard drive is an external one, run the following command instead of sfc /scannow:
sfc /scannow /offbootdir=10:\ /offwindir=C:\Windows
Note: Replace the "x:\" with the letter assigned to the external hard drive. Too, don't forget to replace "C:\Windows" with the directory in which Windows has been installed.
7.Restart your figurer once the browse completes and check if you can admission the difficult drive now.
Method 4: Apply the CHKDSK utility
Along with the system file checker, at that place is another utility that tin be used to repair corrupted storage media. The check disk utility allows users to scan for logical besides as physical deejay errors past checking the file system and file system metadata of a specific volume. It besides has a number of switches associated with it to perform specific actions. Permit'southward see how to fix corrupted hard drive using CMD:
1. Open Control Prompt every bit an Ambassador once again.
2. Carefully type the post-obit control and printing Enter to execute information technology.
chkdsk X: /F
Annotation: Replace X with the letter of the alphabet of the hard drive you lot wish to repair/fix.
Autonomously from the /F parameter, there are few other ones that yous can add to the command line. The different parameters and their function are as follows:
- /f – Finds and fixes all the errors on the hard bulldoze.
- /r – Detects whatsoever bad sectors on the deejay and recovers readable information
- /ten – Dismounts the drive before the process starts
- /b – Clears all the bad clusters and rescans all allocated and free clusters for error on a volume (Use with NTFS File Arrangement only)
three. You can add all the in a higher place parameters to the command to run a more meticulous browse. The control line for the Thou bulldoze, in that example, would be:
chkdsk G: /F /R /X
4. If yous are repairing an internal drive, the plan will ask you lot to perform a computer restart. Press Y and then enter to restart from the command prompt itself.
Method v: Employ the DiskPart command
If both the above control-line utilities failed to repair your corrupted hard drive, try formatting it using the DiskPart utility. The DiskPart utility allows you lot to forcefully format a RAW hard drive to NTFS/exFAT/FAT32. You lot tin can also format a difficult drive from the Windows File Explorer or the Disk Direction application (How to Format Hard Drive on Windows ten).
i. Launch Command Prompt again every bit an administrator.
2. Execute the diskpart command.
3. Blazon list disk or listing volume and press Enter to view all the storage devices continued to your computer.
4. Now, select the deejay that needs to be formatted by executing the control select disk X or select book Ten. (Replace X with the number of the deejay you lot would like to format.)
five. One time the corrupted disk is selected, type format fs=ntfs quick and hit Enter to format that disk.
6. If you want to format the disk in FAT32, use the post-obit command instead:
format fs=fat32 quick
7. The command prompt will return a confirmation message 'DiskPart successfully formatted the volume'. Once washed, blazon exit and press Enter to close the elevated command window.
Recommended:
- Fix Faulty Hardware corrupted folio error on Windows 10
- How to Repair Corrupted AVI Files For Free
- How to Utilise the Fn Key Lock in Windows x
We promise this guide was helpful and you were able to repair or fix corrupted hard disk drive using CMD in Windows x. If you weren't, keep an ear out for any clicking noises when you connect the difficult drive to your figurer. Clicking noises imply that the impairment is physical/mechanical and in that example, you will demand to contact the service middle.
How To Repair Hard Drive From Command Prompt,
Source: https://techcult.com/fix-corrupted-hard-drive-using-cmd/
Posted by: besterfrook1948.blogspot.com
0 Response to "How To Repair Hard Drive From Command Prompt"
Post a Comment