fix corrupt sd card

24 Jan

After searching through non Microsoft sites, there is a command line utility called diskpart.
Open search and enter diskpart.
DISKPART>list volume
DISKPART>select volume 5
DISKPART>delete volume

By this method, you can repair your corrupted SD cards, USB flash drives and even your External hard drives. Again, after performing above steps you will lose all your previous data. So, if you have some important data in your drive, try to recover it first using hard drive recovery software. Here is the summary of all the above performed operations in order:
-diskpart
-list disk
-select disk ‘your disk number’
-clean
-create partition primary
-active
-select partition 1
-format fs=fat32