# How To Repair Corrupted Pen Drive Or SD Card Easily

**URL:** <https://onehack.st/t/how-to-repair-corrupted-pen-drive-or-sd-card-easily/217885>\
**Category:** Tutorials & Methods\
**Tags:** freebies, tips-tricks, data-recovery\
**Created:** [April 3, 2022, 8:46pm UTC](https://onehack.st/t/how-to-repair-corrupted-pen-drive-or-sd-card-easily/217885 "2022-04-03T20:46:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheStrength](https://onehack.st/user_avatar/onehack.st/thestrength/32/46753_2.png) [@TheStrength](https://onehack.st/u/TheStrength)\
**Post date:** [April 3, 2022, 8:46pm UTC](https://onehack.st/t/how-to-repair-corrupted-pen-drive-or-sd-card-easily/217885/1 "2022-04-03T20:46:00Z")

</div>

We spend hours to get back our storage into working condition but get nothing. This article comprises of various methods which will help you repair your corrupted pen drive or SD card.

For SD card, you will have to insert it into the slot provided in your computer or by using a card reader. Use adapter if you have a microSD card. It will not work if you connect some device having the SD card like a smartphone or a camera. Check out these different methods.

**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 device.

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** in 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.**

**Try to use it on another PC**

Maybe the issue is specifically on your PC. Try connecting your SD card or pen drive to another computer. Hopefully, it may work and you’ll be able to backup your data from it.

Reinstall the drivers

There are times when the drivers that runs your pen drive get corrupted and our PC will not be able to detect your storage media. You can reinstall drivers by these simple steps:

1. Right click My Computer/ This PC. Click **Manage**.
2. Click **Device Manager** on the left side.
3. Double-Click **Disk Drives** in the list. Right Click on the name of your pen drive.
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.

**Repair corrupted SD card or Pen Drive using Windows Explorer**

This is the most commonly used procedure to repair a connected storage media to your computer.

1. Open My Computer or This PC.
2. Select the corrupted drive and Right Click.
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.

**Repair corrupted Pen Drive or SD card using CMD**

This process involves Windows command prompt which is commonly known as CMD. In this, you have to enter some CMD commands and Windows will forcefully format your corrupted pen drive/SD card.

1. Connect the corrupted pen drive or SD card to your computer.
2. Hover your mouse on 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** 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 are going correctly. 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

**Recover your lost data**

You can use Sandisk Rescue Pro to recover your data in case you have deleted your files or formatted your SD card/Pen Drive by mistake. The SD card needs to be in working condition to perform the recovery process. Other notable data recovery software is Recuva by Piriform.

**Happy learning!**
