How To Fix A Corrupted SD Card Or Pen Drive Using Simple Steps?

Share on twitter
Share on whatsapp
Share on facebook

Dealing with a corrupted SD card or pen drive is a tedious task. You spend hours to get back your storage into working conditions but get nothing.

You might have seen the same thing on online forums that are full of questions like “My pen drive is corrupted” or “My SD card is not working.”

In this article, I am going to tell you about various methods that will help you to repair your corrupted SD card or pen drive.

Whenever we face this problem of a corrupted storage device, and we can fix the problem using a few CMD commands. If the command prompt isn’t your thing, you can also attempt USB drive repair using Windows Explorer.

Just in case you’re looking for methods to repair corrupted hard drive as well, you can follow our hard drive repair guide.

How to fix a corrupted SD card or Flash Drive in simple steps?

  • Change the drive letter
  • Try another USB port
  • Try to use it on another PC
  • Reinstall the drivers
  • Fix SD card/USB drive without formating
  • Fix SD card/USB drive using Windows Explorer
  • Fix SD card/USB drive using Windows CMD
  • Remove bad sectors
  • Use third-party tools to repair corrupt SD card or flash drive
  • What to do if it gets broken permanently

For the SD card, you will have to insert it into the slot provided on your computer or by using an external card reader. Use an adapter, if you have a microSD card.

It will not work if you connect it via a device having an SD card slot like a smartphone or a camera. For attempting pen drive repair, you don’t need any such accessory. Check out these different methods.

1. Change the drive letter

Sometimes your computer is unable to assign drive letters (like C, D, E) to your storage media. Due to this reason, the files on it can’t be accessed. To resolve this issue, you can assign the drive letter to your storage device manually.

How to change drive letter in windows

Here are the simple steps to fix the corrupted pen drive or memory card by assigning a correct drive letter:

  1. Connect your storage media to your computer.
  2. Right-click on My Computer/This PC. Click Manage in the drop-down menu.
  3. Click Disk Management on the left side and wait for a few seconds so that Windows can load the Virtual disk service.
  4. Right-click on your storage media and click Change Drive Letter and Paths.
  5. Click the drive letter (it will turn blue) and click Change.
  6. Select the drive letter from the drop-down list. Click Ok.

2. Try another USB port

Although it sound’s strange, but you’re wasting your time if you repeatedly try to connect your SD card or flash drive to a single USB port on your computer. It could be possible that the port itself is damaged or some software issue is to be blamed. So, try other USB ports if your USB drive or SD card is not getting recognized.

3. Try to use it on another PC

Maybe the issue is specifically on your PC, and that’s why you are having trouble running the USB flash drive. Try connecting your SD card or pen drive to another computer. Hopefully, it may work, and you’ll be able to access the data stored on it.

4. Reinstall the drivers

There are times when the drivers that run your pen drive get corrupted and your PC will not be able to detect the storage media. You can reinstall drivers and fix a corrupted SD card by following these steps:

uninstall pen drive

  1. Right-click on My Computer/ This PC. Click Manage.
  2. Click on Device Manager on the left side.
  3. Double-Click Disk Drives option on the list. Right-click on the name of your pen drive/SD card.
  4. Click Uninstall. Click Ok.
  5. Disconnect your storage media and restart your PC.
  6. Connect your pen drive again. Your PC will detect it and reinstall the drivers.
Also Read: Speed Up Internet Using CMD (Command Prompt)

5. Repair corrupted USB drive or SD card without formatting

One of the tested and tried ways to repair a bad storage media is by using the Check Disk tool that comes preloaded in Windows 10 (and older versions). This way you won’t need to format your corrupt SD card or flash drive in order to repair it.

Here’s what you need to do:

  1. Connect the storage media to your computer.
  2. Note down the drive letter.
  3. Open CMD in Administrator mode.
  4. Type the following command:
    chkdsk E: /f   (Here, E is the drive letter)
  5. Press Enter. The check disk tool will scan your USB drive or SD card and fix the underlying problem. It works in most cases.

6. How to fix a corrupted SD card or Pen Drive using Windows Explorer

Windows 10 (and older versions) comes with an in-built SD card repair tool that can be accessed via the Windows Explorer. So, in the following steps, I’m going to tell you how to format a corrupt SD card or pen drive:

  1. Open My Computer or This PC.
  2. Right-click on the corrupt SD card or USB drive.
  3. Click Format in the drop-down menu.
  4. Click Restore Device Defaults in the popup window.
  5. Click Start to begin the format process. You can uncheck the Quick format option if you want the computer to deep scan the drive/card for errors, but this will take time. So, uncheck it only if you fail in the first attempt.
  6. Click Ok in the next dialog box which will warn you that the data will be lost. The format process will complete in a few moments, and you will have your error-free SD card or pen drive.

7. Repair corrupted Pen Drive or SD card using CMD

This process involves the Windows command prompt, which is commonly known as CMD. You can go try this repair method if the one mentioned above is not working.

Here, you have to enter some CMD commands, and Windows will forcefully format your corrupted flash drive or SD card that’s not reading:

repair corrupt pen drive using diskpart

  1. Connect the corrupted pen drive or SD card to your computer.
  2. Hover your mouse over the Start button and Right-click.
  3. Click Command Prompt (Admin). A CMD window will open.
  4. Type diskpart and press Enter.
  5. Type list disk and press Enter. A list of all the storage devices connected to your computer will be displayed.
  6. Type select disk <the number of your disk> and press Enter. (Example: select disk 1). Important: Make sure you enter the number correctly. Otherwise, you may format your internal hard drive. You can type list disk again to check whether you have selected the correct one. There will be a star (asterisk symbol) before the name of the selected disk.
  7. Type clean and press Enter.
  8. Type create partition primary and hit Enter.
  9. Type active.
  10. Type select partition 1.
  11. Type format fs=fat32 and press Enter. The format process will finish in a few minutes. You can write NTFS instead of fat32 if you want to carry files larger than 4 gigabytes. Don’t close the CMD until the work is finished.

8. Fix corrupted SD card and USB drive by removing bad sectors

Our storage devices keep data in different sectors. Due to various reasons, these sectors become unusable, giving rise to bad sectors. By using some steps and running simple commands, you can perform a USB drive repair. Read more about it here in detail.

9. Recover your lost data from damaged SD card or Pen drive

You can use Sandisk Rescue Pro to recover your data if you have deleted your files or formatted your SD card/Pen Drive by mistake. But keep in mind, the SD card recovery process only works if your storage media is not physically damaged.

Another notable data recovery software is Recuva by Piriform. For more information on data recovery, check out our list of the top data recovery software.

10. Use the SD card repair tool from the device maker

You might not be aware but many storage device makers like SanDisk, Kingston, Samsung, Sony, etc. provide their own low-level utilities for formatting and other repair purposes. Such tools can be used to fix and restore SD cards and flash drives to their full capacity.

You can find these tools by visiting the websites of the device makers or by contacting their customer support. In my own personal experience, such an alternative SD card and USB drive repair methods have turned out to be quite useful.

SD Association which publishes official specifications for memory cards also provides an SD card repair tool called SDFormatter which can be used to revive SD, SDHC, and SDXC cards. It’s available for both Windows and macOS.

A little advice – get a replacement

There are chances that the warranty of your corrupted USB drive or SD card is still valid. So, if your storage device is giving you problems, again and again, it’s advisable to invest some effort and go for a refund or replacement. It could be the case the storage media is permanently damaged already.

I’m recommending this as it’s not worth putting your faith in an SD card/flash drive that’s showing signs of unreliability again and again.

Other SD card related problems

The solutions for repairing SD cards and flash drives might be similar, but they are a different kind of hardware. For SD cards, there could be several issues preventing you from accessing data on your computer.

While most of the modern laptops and 2-in-1 devices feature an SD card slot, the same is a no-show on desktops. That’s why people take the help of cheap external card readers which run into problems more often.

External card reader not working

Sometimes, it might be the case that your card reader is broken and you’re blaming your innocent PC. Maybe, the memory card reader isn’t getting enough power from the USB port, or no power at all if its USB cable is damaged.

It could also be the case that you’re using an old card reader while trying to access your card. It may not support higher capacity SDXC, newer UHS-I, or UHS-II interfaces, or may not work on the latest versions of operating systems.

Check if your microSD adapter is working properly

When you’re trying to connect a microSD card using a MicroSD to SD adapter, make sure the adapter is working fine. Also, there is a tiny slider present on the SD card adapter, when turned on, allows the data on the card to be read-only. Check if it’s in the correct position.

Damaged SD card

If you are one of the people who use their memory cards irresponsibly, there might be one day when it will get damaged permanently. Improperly installing and removing the SD card from the card reader can hurt its golden connectors and even make it unusable. So, if your card is not getting recognized, check the connectors.

Note: Please note that the SD card and USB repair methods described above are general ways to fix a device. Due to some device-specific issues, there could be cases when these steps might not be useful.

Do you know any other method to repair corrupted pen drives? Let us know in the comments below.

Also Read: How To Disable Write Protection In SD Card Or Pen Drive?
Aditya Tiwari

Aditya Tiwari

Aditya likes to cover topics related to Microsoft, Windows 10, Apple Watch, and interesting gadgets. But when he is not working, you can find him binge-watching random videos on YouTube (after he has wasted an hour on Netflix trying to find a good show). Reach out at [email protected]
Scroll to Top