14 Ways To Repair Corrupted Pen Drive & SD Card (Easily)

If you are facing any kind of errors regarding your external memory device, be it not being able to access the file, view files or any such errors. In case, you are having trouble while using your old memory cards or pen drives and looking for easy solutions then, you are on the right page.

Repair Corrupted Pen Drive And SD Card

In this post, I’ve mentioned 14 major ways to repair corrupted pen drive & SD card with the help of a few 3rd party applications and system controls. Hence, read ahead to find the solution for your issues with the external drives!

1. Recover Data 

Using Recuva, you can restore a few of the deleted files in external drives or from the system drives as well. Refer to the below-mentioned steps to use the tool.

recuva deep scan


  1. First of all, download Recuva and install it to proceed further.
  2. Insert the SD card in the system and make sure it detects
  3. Now, after installing the tool open it
  4. Press “Next
  5. Select “All files” in the “file types
  6. Click “Next
  7. Select the drive or the SD card
  8. Check box on the “Deep Scan
  9. Click on “Start
  10. Now it will start scanning
  11. Then, select all files or the files which you want to recover
  12. Click on “Recover
  13. Now allocate where the backup file you want to store
  14. Once you have selected the location click “Ok
  15. And you are done

So, make sure to recover all of your data before heading to the further methods which might require you to format the drive. In case Recuva didn’t function well for you, try restoring data using icare or a paid tool Recoverit.

2. Clean SD card using CMD

Cleaning the SD card through CMD will completely wipe the data in the memory device. To follow up on the process refer to the below-mentioned steps carefully.

clean sd card using cmd


  1. Click on the Windows search bar
  2. Search for “Command Prompt or CMD”
  3. Right-click on it and Run it as administrator
  4. Type “diskpart” and enter
  5. After entering DISKPART type “list disk” and enter
  6. Then type “select disk (disk number) ” and enter
  7. Type “clean” and enter (After cleaning you will have to create a partition)
  8. Type “create partition primary” and enter
  9. To format type “format fs=ntfs” and enter (if you face size issue error then there will be no volume selected shown in the CMD)
    Note: FAT32 does not allow copying files of a size more than 4GB. Also for storage of more than 32GB use exFAT and the rest FAT32. 
  10. And Finished.

If this didn’t work then, head for the next method.

3. Format with MalvaStyle 

MalvaStyle can fix almost every other issue regarding the external device. Also, formatting on a higher level is possible in this tool. Read ahead to go through the method!

malva style


  1. First and foremost, download MalvaStyle and install it
  2. Further, open the tool
  3. Then, click on the “USB only” box
  4. Click on “Disable in USB write protection
  5. Click on the dropdown menu and select the device
  6. Once you have selected the device
  7. There are two options to begin the format i.e. CHKDSK or DiskPart
  8. Click on “disk part” then click “OK
  9. Now the formatting process will begin
  10. And you are done

You are done with the formatting methods here!

4. Format Pendrive or SD Card Multiple Times

Here you will have to use a 3rd party tool to format the memory device for a higher-level process. MiniTool Partition Wizard is one of the best software to change file systems or format the storage device within a few clicks.

minitool partition format


  1. Before you proceed, download the MiniTool Partition Wizard and install it.
  2. After installation, open the tool
  3. Look for the disk
  4. Right-click on the particular disk
  5. Click on “Format
  6. Click on “File system
  7. Change it to FAT32 or exFAT (Select FAT32 if the memory device is less than 32GB and if it is higher then select exFAT file system)
  8. Click “ok
  9. Click on “Apply” and confirm 
  10. Now the formatting will begin and finish within a few seconds.

Once the formatting process is completed, you can again go on to the 1st method and recover the files using any of the recovery tools you wish to. 

5. Remove Write Protection through CMD 

At times write protection is somehow enabled in the memory device which restricts you to access the files or take any actions. Hence, it can be disabled from CMD using the below-mentioned steps.

Remove Write Protection through CMD


  1. Click on the Windows search bar
  2. Search for “Command Prompt or CMD”
  3. Right-click on it and Run it as administrator
  4. Type “diskpart” and enter
  5. After entering DISKPART type “list disk” and enter
  6. Then type “select disk (disk number) ” and enter
  7. Type “attributes disk” and enter to view the attributes of the disk driver
  8. Type “attributes disk clear readonly” and enter to disable Read-only
  9. And done

6. Remove Bad Sector using CMD 

At times, the SD card has some bad sector issues in the storage unit for which the phone can’t detect or read the data in the SD card but it can be fixed in the computer system through CMD.

remove bad sector using CMD 1


  1. Insert the SD card in the system and make sure it detects
  2. Click on the Windows search bar
  3. Search for “Command Prompt or CMD”
  4. Right-click on it and Run it as administrator
  5. Type “CHKDSK (allocateddrive-letter): /f /r” and enter
  6. Then it will start scanning and repairing the device
  7. And done

Look for the further mentioned methods to change the driver letter, to avoid some minor issues.

7. Change Drive Letter

Changing the drive letter can also fix some major errors. So, to change the drive letter follow the below-mentioned steps.

change drive letter


  1. Click on the windows search bar
  2. Search for “Disk management” or open directly from the control panel
  3. Open “Hard disk partition
  4. Look for the “external disk”, right-click on it
  5. Click on “Drive letter and paths
  6. Now change the drive letter if visible 
  7. Or add a new drive letter if any drive letter is not shown
  8. And done

If the issue is not fixed then go for the next mentioned method below.

8. Update USB Storage Drivers 

Updating drivers might allow the system to recognise the memory device and further access it. You can try both the mentioned ways i.e. search automatically or browse for the driver files. Also, make sure to have a good internet connection!

Update USB Storage Drivers 1


  1. Click on the Windows search bar
  2. Search for “Device manager” or open directly from the control panel
  3. Open Device manager
  4. Look for USBC (Universal Serial Bus Controller)
  5. Expand by clicking on it
  6. Look for “USB Mass Storage Device” and right-click on it
  7. Click on “Update driver software
  8. Click on “Search automatically for updated driver software
  9. Or you can also click on “Browse my computer for driver software
  10. Then select “Let me pick from a list of device drivers” (Make sure to perform this method on all the “USB Mass Storage Device” drivers)
  11. Click on next and done
  12. Now restart the system

In case, you are still facing the errors then go for another driver update. Steps are mentioned below!

Update Disk Drivers


  1. Click on the Windows search bar
  2. Search for “Device manager” or open directly from the control panel
  3. Open Device manager
  4. Look for “Disk Drives” and expand it
  5. Then, right-click on the external memory device
  6. Click on “Update driver software
  7. Click on “Search automatically for updated driver software
  8. Or you can also click on “Browse my computer for driver software
  9. Then select “Let me pick from a list of device drivers
  10. Click next and done
  11. Now, restart the system

This will most probably solve most of the errors, regarding the recognition of memory devices in the system.

9. Use HDD Low-Level Format Tool 

To follow up on this method you will have to use a 3rd party software to format the SD card or any external memory device on a low level. 

HDD low level format small Format This Drive1


  1. Before you proceed, download HDD Low-Level Format Tool and install it.
  2. Select the USB storage device after opening the tool.
  3. Click on “continue”.
  4. Click on the “Low-level format” box
  5. Now, just click on “Format” 
  6. The formatting process will begin and you will be done within a few minutes.

Check the next step to solve the issue using antivirus software!

10. Use Antivirus to Fix SD Card Wrong Size

Using antivirus software might help you. At times, viruses and malware tend to generate errors that restrict access or action in the memory device. Hence, look for scanning the memory device using Bitdefender. 

Bitdefender Total Security


  1. Firstly, download the Bitdefender antivirus software and install it
  2. Then, Open This PC
  3. Look for the disk you want to scan
  4. Right Click on it
  5. Then select the option “Scan with Bitdefender antivirus
  6. Now the scanning process will begin
  7. Then, remove the malware or viruses manually if the antivirus fails to remove them automatically.
  8. And you are done.

The free version of this tool does the job pretty efficiently. Hence, you can rely on it partially. Or you can try scanning the memory device using Windows Defender, go through the above-mentioned steps and just select Windows/Microsoft Defender in place of Bitdefender

11. Delete Partition

For deleting the SD card partition from the system and creating a new one again in the system, using MiniTool Partition Wizard. Go through the steps mentioned below sequentially.

Delete Partition using Minitool partition wizard


  1. Before you proceed, download the MiniTool Partition Wizard and install it.
  2. Open the tool
  3. Look for the partition or the particular drive
  4. Right-click on it, hit the “Delete” option
  5. Click on “Apply” and press “Ok
  6. To activate the partition, right-click on the partition
  7. Select the option “Create”, a window will pop-up
  8. Leave all the attributes as it is and click Ok
  9. Now, the process begins and will be finished within a minute or two 
  10. And you are done

So, most probably this should fix the size issue of the external memory device. Just plug the external device out and plug it in again. If this method didn’t fix the issue then head on to the next one.

12. Use Browser to Access SD Card

All you have to do is open your browser and follow the below-mentioned steps. Here, I am using Brave browser, you can use any browser. Below mentioned steps can solve the errors like “file not accessible” or “file not showing”

access sd card files from browser


  1. Firstly, download Brave browser and install it
  2. Open the browser
  3. Now copy the location of the driver from “My PC
  4. Then just paste it in the URL box of the browser
  5. It will show up all the files and folders in the driver
  6. Now, you can save or take the backup of all the files which were not accessible in the system view
  7. And done

13. Wipe Cache Partition to Fix SD Card Not Detecting in Smartphone

Before you begin this method, I will recommend you to take a backup of all your data and files on the smartphone. Use apps such as Google Photos, Google Contacts, Drive, etc to take back-up of all the data in your device.

So, if you don’t have a computer system to solve the issue then you can try it on your device through recovery mode, but you need to be cautious while you do so. Hence, only go through the steps mentioned below.

wipe cache partition


  1. Turn the device off
  2. Then press the volume up and power button at a time for a few seconds. 
  3. Now, you will enter into the “Recovery mode
  4. Look for the option “Wipe Cache Partition
  5. Select it by pressing the “power button
  6. Use volume up, down buttons to navigate
  7. This should do the job for you
  8. Now, restart the smartphone

Note: Accessing the recovery mode differs in some of the smartphones if you are unable to access the recovery mode then just google it.

If you are still facing issues then head on to the next and final method!

14. Update Firmware to Fix There is No Media in Device

At times outdated firmware of the memory device leads to errors like “no media contents” or “media not accessible” and so on. You can try updating the firmware of the particular memory device using Chip Genius. Refer to the below-mentioned steps to go through the steps accordingly.

download chip genius


  1. Google or search for Chip Genius.
  2. Download from the official site which should be in the Russian language, it will be translated within the browser and proceed
  3. Open the page and look for the latest version in the bottom-most part of the listed links
  4. Then, click on the link and make sure to note the password mentioned 
  5. After downloading the .zip file, extract it by entering the password
  6. Now, install the application 

Now, look for the below-mentioned steps to use the application and update the appropriate firmware for the SD card or Pendrive successfully. Chip Genius not only allows you to extract information from the USB storage device but also provides all the accurate firmware files to update and regain access.

Get VID PID from chip genius


  1. Open the tool and select the particular memory device
  2. Look for “VID” and “PID” numbers in the information box
  3. Then just copy the VID and paste it into the website search box
  4. Now, there will be a list of firmware files that can be downloaded
  5. Cross-check the VID/PID 
  6. Now, look for “Phison” and note the number
  7. Then, match the Phison number with the file on the website
  8. Download the latest version of the file with the similar Phison number
  9. Extract the .zip file 
  10. Now, double-click on the application file
  11. Click on Run and allow through the firewall
  12. A window with less appealing UI will open
  13. Now, select the memory device and hit the “Start” button
  14. From now on it will take at least an hour or two to complete the process
  15. And done

Finally, re-insert the USB storage device.


Why my Pen Drive gets corrupted?

Mostly because of malware or viruses from different systems and the internet. It also gets corrupted when the files are damaged from the beginning or when there is an error with the driver file.

How do I recover data from a corrupt memory card?

First of all, you need to make the memory device accessible using some commands or 3rd party apps in the system. After it is accessible, you can refer to the 1st method and recover a few of the files using Recuva or any recovery tool.


Hence, these were the best probable ways to repair the external memory device and get rid of most kinds of errors that are encountered most often. 

So, share this post with your friends who might be facing issues recovering or accessing files from the external memory device. 

Default image
Shreyash Pradhan
Member of Team TJ and a potential geek!

Leave a Reply