How To Repair a Corrupted Flash Drive Using CMD (Command Prompt)

By | April 3, 2018

Repair Corrupt or Damaged USB Flash Drive Using CMD

In this blog post I am going to provide effective solution to repair a corrupted flash drive using CMD (command prompt).

If USB command is not your thing, then you can try other methods to fix corrupted USB drive.

Also you can try USB flash drive recovery software to retrieve inaccessible, lost or deleted media files from corrupted or damaged USB flash drive.

Before I provide the solution to fix a corrupted USB drive, it is important that you must first recover important photos, videos and audio files from the USB flash drive with the help of Photo Recovery which is a suitable USB file recovery tool.

With the help of this photo recovery software, one can:

  • Easily get back inaccessible or lost pictures, videos and audio files from corrupted USB flash drive.
  • Recover digital media files from corrupted pen drive, SD card, memory stick, hard drive, camera card.
  • Also retrieve media files from unreadable, damaged, write protected or unrecognized USB flash drive.
  • 100% read-only. Safe, secure and easy to use.

Free Download USB Drive File Recovery Tool

Free Download Photo Recovery for Windows Free Download Photo Recovery for Mac
* Free version of the program only scans and previews recoverable objects.

Corrupted USB flash drive is an old age problem.

Almost every computer users has faced this common problem.

It doesn’t matter what you do, at some point of time, your computer will reject to read your USB drive.

For example just have a look at below scenario!

Practical Scenario: A User Looking To Fix Corrupted USB Flash Drive

HowTo fix a corrupted usb flash drive

hey guys!

my usb flash drive has been corrupted and i really need it to work , i get this message whenever i plug it into my pc

“Error mounting /dev/sdg1 at /media/gray/KINGSTON: Command-line `mount -t “ntfs” -o “uhelper=udisks2,nodev,nosuid,uid=1000,gid=100 0” “/dev/sdg1” “/media/gray/KINGSTON”‘ exited with non-zero exit status 13: Corrupted file $UpCase

Failed to mount ‘/dev/sdg1’: Input/output error

NTFS is either inconsistent, or there is a hardware fault, or it’s a

SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows

then reboot into Windows twice. The usage of the /f parameter is very

important! If the device is a SoftRAID/FakeRAID then first activate

it and mount a different device under the /dev/mapper/ directory, (e.g.

/dev/mapper/nvidia_eahaabcc1). Please see the ‘dmraid’ documentation

for more details.”

anyway i could fix it !!!

plz help

– Original Post From Ubuntu Forums

But how USB flash drive gets corrupted?

Well, there could be various causes that can make your USB flash drive corrupted or damaged.

Some of the causes are mentioned-below!

Causes That Can Make Your USB Flash Drive Corrupted

  • Virus or malware infection.
  • System files corruption.
  • Availability of bad sector.
  • Connecting USB flash drive to multiple PCs or Mac.
  • And so on…

It doesn’t matter whatever may be the causes, there are few effective solution that you can follow to fix/repair corrupted USB flash drives.

And one of the popular methods to fix corrupted flash drive is by using CMD command.

So, here comes the solution section – how to repair a corrupted flash drive using CMD (command prompt)?

Additional Reading: How To Recover Media Files From Memory Card Using CMD?

Repair Corrupted Flash Drive Using CMD (Command Prompt)

The CMD command which is also known as command prompt is one of the high rated and successful solution to repair corrupted, not working, damaged or unrecognized flash drive, pen drive, SD card or hard drive. It can also be used to repair corrupted external hard drive, SSD or HDD with ease.

Note: The solution work great on Windows 10/8/8.1/7 computer.

Below, follow the steps:

Step 1: Connect the corrupted flash drive (pen drive, memory stick, SD card or external hard drive) to your Windows computer.

Step 2: Click START and type CMD in search bar and hit ENTER to open command prompt. Alternatively you can also open command prompt by pressing Windows Key + R followed by typing CMD in the RUN box that pops-up.

Step 3: Now in the command prompt box, type the following commands:

Type diskpart and hit ENTER button.

After this type list disk and hit ENTER button.

Step 4: Next, type select disk followed by the number of your disk and press ENTER button.

After your disk get selected, type clean and press ENTER button.

Step 5: Next type create partition primary and hit ENTER.

Step 6: After this type active and press ENTER followed by select partition 1.

Step 7: Finally, in the last step type the following command format fs=fat32 and hit ENTER button.

A screenshot of the process is given-below.

Repair corrupted Flash Drive Using CMD

After the completion of the process, you should find your USB drive working as good as new.

Additional Reading: Solved]: Pen Drive Show Empty Even When Data Exists!

Alternatively, there is another step to fix/repair corrupted USB flash drive using CHKDSK command.

Below follow the steps:

Step 1: Connect the corrupted flash drive to your PC.

Step 2: On your computer click Start and type CMD in search bar and hit ENTER.

Step 3: A new command prompt window will get open.

Step 4: Now type the following command: chkdsk /X /f H: or chkdsk H: /f and hit ENTER. Here you need to replace the H: drive with your corrupted pen drive/SD card/USB drive.

Fix corrupted USB Flash Drive Using CHKDSK

Just wait for the process to get complete and then you should find your USB flash drive working as good as new.

Additional Reading: [Solved] Unknown USB Device (Device Descriptor Request Failed) in Windows 7/8/10

Expert Tip: Recover Lost Data From Corrupted USB Flash Drive

In following above solutions to fix corruption in USB drive, you may encounter data loss from your flash drive.

So, it is recommend that you must immediately apply Photo Recovery which is the best USB Flash Data Recovery Software that can easily recover lost or deleted photos, video and audio files from corrupted USB flash drives such as pen drive, memory stick, SD memory card, hard drive or any other USB storage devices.

The best thing about this flash drive recovery software is that it is available for both Windows and Mac computer.

Download Photo Recovery For Windows Download Photo Recovery For Mac

Below follow the step-step tutorial on how to get back lost or inaccessible media files from corrupted or damaged USB flash drive.

You Might Also Be Interested In:

Steps To Recover Files From Corrupted USB Flash Drive

Step 1 – Install "Photo Recovery" software and launch it on your computer. Click on "Recover Photo, Audio & Video" tab to recover photos, videos and audio files from any SD card, external USB drive or computer hard drive. Connect the media to your computer and then perform the process.

Stellar Photo Recovery Screenshot 1

Step 2 – Select the drive from which you want to recover files. All the hard drive and external media will be shown in the list. Now select the desired drive to scan and then click on "Scan" button.

Stellar Photo Recovery Screenshot 2

Step 3 – Once you click on "Scan" button the software will show that scanning is in progress. The software will search for all multimedia files from your selected drive or attached media.

Stellar Photo Recovery Screenshot 3

Step 4 – After scanning, all the files that are found in the selected volume, hard disk or other storage media devices are listed. You can now select the files to preview them and then you can click on "Recover" button to finally save them on your computer.

Stellar Photo Recovery Screenshot 4

Bonus Tip: People Have Also Asked

How can I repair my USB flash drive?

Well, as mentioned above! You can follow the above command prompt (CMD) to repair corrupted USB flash drive, pen drive, SD memory card, memory sticks.

On the other hand if you know that your USB flash got corrupted due to virus infection, then run anti-virus tool to scan your corrupted flash drive.

For detail information please visit: Learn To Remove Virus From SD Card Without Formatting It (though it is mentioned SD card but you can follow the same solution to remove virus from your virus-infected USB drive).

How do I remove write protection?

Many USB drive, memory stick, pen drive, SD card come with the feature of write-protection.

But sometimes it creates problems and when it create problem then users are not able to able to access files from write-protected USB flash drive, SD card, pen drive, ec.

So, here is the solution for your problem. Follow the below-listed links to fix write-protection related issues:

How do you fix an unrecognized USB?

Well, there are also many users out there, whose USB drive does not get detected or does not get recognized by computer.

At such situation they look for the solution on how to fix an unrecognized USB drive?

Well, if your USB drive, pen drive, SD card or external hard drive does not get recognized by your computer, then please follow the related links mentioned-below and find out the best solution for your problems and get fixed your unrecognized USB/SD card or pen drive.

Conclusion

So I hope form the above-mentioned solutions you were able to fix or repair a corrupted flash drive by using CMD or CHKDSK command prompt. Beside that you can also use USB File Recovery Tool to recover digital media files from corrupt or damaged USB flash drive.

Additionally, don’t forget to check out bonus tip section to know the related USB flash drive issues and their solutions.


Free Download Digital Media Recovery

Summary
How To Repair a Corrupted Flash Drive Using CMD (Command Prompt)
Article Name
How To Repair a Corrupted Flash Drive Using CMD (Command Prompt)
Description
How To Repair a Corrupted Flash Drive Using CMD (Command Prompt). 1: Repair Corrupted Flash Drive Using CMD or CHKDSK Command. Expert Tip: Try USB file Recovery Tool To Recover Lost Data From Corrupted USB Flash Drive without formatting.
Author
Publisher Name
Rescue Digital Media
Publisher Logo
  • 13
    Shares