CMD is your first choice for damaged USB flash drive & pen drive
recovery. Requiring no formatting, it allows you to fix a corrupted USB
drive
without data loss. And it can be also used to fix damaged SD card. Now
let’s look how it works. (I'm using Windows 10 for this demonstration)
1. Plug in your USB flash drive or pen drive to your computer.
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.
3. Right click "cmd. exe" and type in "chkdsk /X /f USB drive letter:"
or "chkdsk USB drive letter: /f ", for example, "chkdsk /X /f G:" or
"chkdsk h: /f" in the following command windows to start to repair
damaged USB pen drive
How to repair damaged USB pen drive/flash drive without formatting
If the above method is not workable, just carry out the followingsteps to repair the damaged USB flash drive without formatting and
rescue your data. (I'm also using Windows 7 for this demonstration)
1. Insert the pen drive into the USB port of your system.
2. Go to My Computer>Removable Disk Icon.
3. Right click the Removable Disk Icon and open its Properties.
4. Click on the Tools tab.
5. Click “Rebuild” button.
6. Let the scan process get completed. Close the scan window once it’s completed.
7. Right-click the icon of the USB flash drive and “Eject”. Then remove the drive from USB port.