Very often we face this problem of a corrupted storage device, and using few CMD commands you can perform To Repair Corrupted Pen Drive or SD Card. If command prompt isnâ€™t your thing, you can also attempt USB drive repair using Windows Explorer.
Dealing with a corrupted SD card or pen drive is a tedious task. We spend hours to get back our storage into working condition but get nothing. You might have seen online forums full of questions like â€œMy pen drive is corruptedâ€ or â€œMy SD card is not working.â€ 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 an external card reader. Use an 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. For attempting pen drive repair, you donâ€™t needÂ any such accessory. Check out these different methods.
Different methods to Repair Corrupted Pen Drive or SD CardÂ :
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:
- Connect your storage media to your computer.
- Right-click on My Computer/This PC. ClickÂ ManageÂ in the drop-down menu.
- ClickÂ Disk ManagementÂ on the left side and wait for a few seconds so that Windows can load the Virtual disk service.
- Right-click on your storage media and clickÂ Change Drive Letter and Paths.
- Click the drive letter (it will turn blue) and clickÂ Change.
- 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, and thatâ€™s why you are finding trouble in 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 backup your data from it.
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.
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 byÂ following these simple steps:
- Right click My Computer/ This PC. ClickÂ Manage.
- ClickÂ Device ManagerÂ on the left side.
- Double-ClickÂ Disk DrivesÂ in the list. Right-click on the name of your pen drive.
- ClickÂ Uninstall. ClickÂ Ok.
- Disconnect your storage media and restart your PC.
- 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.
- Open My Computer or This PC.
- Select the corrupted drive and Right-click.
- ClickÂ FormatÂ in the drop-down menu.
- ClickÂ Restore Device DefaultsÂ in the popup window.
- 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.
- 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.
- Connect the corrupted pen drive or SD card to your computer.
- Hover your mouse over the Start button and Right-click.
- ClickÂ Command Prompt (Admin). A CMD window will open.
- TypeÂ diskpartÂ and press Enter.
- TypeÂ list diskÂ and press Enter. A list of all the storage devices connected to your computer will be displayed.
- 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 are going correctly. There will be a star (asterisk symbol) before the name of the selected disk.
- TypeÂ cleanÂ and press Enter.
- create partition primaryÂ and hit Enter.
- select partition 1.
- 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.
SD card and USB drive repair by removing bad sectors
Our storage devices store 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.
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. For more information on data recovery, check out our list of theÂ top data recovery software.
Tools provided by pen drive and SD card makers
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 support. In my own personal experience, such alternative SD card and USB drive repair methods have turned out to be more useful.
SD Association which publishes the SD specification also provides a tool calledÂ SDFormatterÂ which can be used revive SD, SDHC, and SDXC cards. Itâ€™s available for both Windows and macOS.
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 them on your computer.
Issues with external card readers
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 SD 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.
A little advice
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. Iâ€™m recommending this as itâ€™s not worth putting your faith in a USB drive thatâ€™s showing signs of unreliability again and again.
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.