How to fix corrupted USB drive, SD card using CMD?

Posted by Admin to Data Recovery on July 10th, 2019

Here's the tutorial about how to fix the corrupted USB drive or SD card using cmd (command prompt), such as CHKDSK and Diskpart. You can also recover data from the corrupted USB drive, SD card with M3 Data Recovery, if necessary.

Why my USB flash drive, SD card got corrupted?

Your USB flash drive, as well as SD memory card, pen drives, and external hard drive, might get corrupted in two ways: the logical error which can be fixed using cmd or other third-party programs, and the hardware error which is unable to be fixed by yourself. What's more, USB flash drive or SD card doesn't last forever and they tend to get corrupted. In this article, we only focus on the logical corruption.

Some of the most common symptoms of corrupted USB drive, SD card

"The disk is not formatted. Do you want to format it now?"
File or directory is corrupted and unreadable
The USB flash drive, SD card is not working, recognized, or readable when plugged into your PC.
G:\ is not accessible. Access is denied.
USB flash drive, SD card 0 bytes in used space and free space.
and so on.

Solution 1: Fix/repair corrupted USB drive, SD card using CMD?

CMD might not be a fool-proof solution when fixing corrupted USB drive, SD card, but you can have a try and it might help you fix corrupted USB flash drive, SD card. Please follow the steps carefully and type the commands exactly.

Option 1: Fix/repair corrupted USB flash drive, SD card via chkdsk command

Chkdsk /f command will scan and repair for both logical errors and bad sectors. If it successfully fixes/repairs corrupted USB flash drive, SD card, your USB flash drive or SD card will be usable again and the data stored on the drive keep intact.

Step 1: Plug your USB flash drive, SD card into your computer.

Step 2: Go to the start menu, type in "cmd" in a search bar, hit enter and then you can see something named "cmd. exe" under a list of programs.

Step 3: Right click "cmd. exe" and select "Run as Administrator".

Step 4: In command prompt window, type in "chkdsk X: /f" (Replace X with the drive letter of your USB drive, SD card) to start to repair damaged USB flash drive, SD card.

If you get CHKDSK is not available for RAW drives message, please try next method.

Option 2. Fix/repair corrupted USB flash drive with diskpart command.

If you think that the data in this USB flash drive, SD card is useless any more, please fix corrupted SD card, USB drive with following method:

Step 1: Type "cmd" in the search box. Right-click on it and choose "Run as administrator".

Step 2: On the Command Prompt window, type "diskpart" and press Enter.

Step 3: Type "list disk" and press Enter. According to the list disk information, check which disk is your USB flash drive, SD card.

Step 4: Type "format fs=fat32" and press enter. If you prefer other file system formats, change the command fat32 to the desired one such as ntfs, exfat, etc.

Step 5: Type "exit" and press enter to close the command window.

The diskpart command will forcefully format your corrupted USB flash drive, SD card, which means you will lose all data on the USB flash drive, SD card. So, use this cmd command to fix corrupted USB flash drive, SD card carefully.

Solution 2: Easier way to fix corrupted USB drive, SD card without losing data

If you're not 100% confident with your cmd knowledge, or you have tried out the above cmd commands but failed to fix the corrupted USB flash drive or SD card, an easier way is to recover data from corrupted USB flash drive, SD card with free data recovery software, then format the drive to make it usable. M3 Data Recovery is a reliable data recovery software and it is your best choice.

M3 Data Recovery is the best free data recovery software that can help you to recover data from corrupted USB flash drive, recover data from corrupted SD card, recover data from corrupted external hard drive, recover data from corrupted memory card, etc in Windows 10/8/7/XP and Windows Server 2016/2012/2008/2003.

What's else? M3 Data Recovery can also recover deleted/lost files, recover data from formatted drive, recover data from inaccessible drive, recover data from RAW drive, recover data from deleted/lost partition, etc.

Tutorial to recover data from corrupted USB flash drive, SD card

Step 1: Insert the corrupted USB flash drive, SD card into your computer.

Step 2: Download, install and launch M3 Data Recovery. After that, choose Data Recovery module on home window.

Free data recovery software

Step 3: Select corrupted USB flash drive, SD card and click Next to scan lost data from corrupted USB flash drive.

Scan data from corrupted USB flash drive

Step 4: After the scan completes, preview the found files, select them and click Recover to start data recovery process.

Recover data from corrutped USB flash drive

After data recovery from corrupted USB flash drive is successfully done, you can go to My Computer (Thic PC) or Disk Management to format the corrupted USB flash drive, SD card so that it can be used again.

Related articles: