This has been an issue for numerous individuals who have searched for approaches on how to repair corrupted SD card or flash drive at a point they don’t see any answer and they end up discarding the SD card or flash drive.
Before I dive deep into how to repair a corrupted SD card or flash drive with a command prompt let me give you a part of the reasons why your SD card or flash drive get corrupted. There are so many numerous reasons why this would occur, yet I won’t exhaust you with significant talk and text.
Your SD card may have been damaged due to a lack of space. Numerous individuals utilize their SD card or flash drive until it will show either red or out of storage space on their smartphones. You are not going to let your SD card or flash drive get under 100Mb of space. This is a big danger, especially for people who store important documents on their SD card or flash drive.
How To Repair Corrupted SD Card Or Flash Drive With Command Prompt
NOTE: The steps I show you also apply to damaged SD cards and flash drives.
Step 1: Press and hold the Windows + R keys on your keyboard to open the Run program.
Step 2: In the run program, type CMD and hit Enter to open the command prompt.
Step 3: After you open the command prompt, type “diskpart” there and hit Enter. An administration prompt will appear, just click “Yes”.
Note: Another command prompt will open.
Step 4: Type “list disk”.
Note: Before doing this, make sure the SD card or flash drive is already connected to your PC or desktop and do not use a USB hub during this process.
Step 5: The list of all drives on your PC or desktop will be displayed. Take note of the drives displayed and identify your SD card or flash drive correctly.
Step 6: For me, it is drive 1 as shown in the image below. Now type “Select Drive 1” to select the SD or Flash drive and press Enter. However, it would be ideal if you make sure that Disk 1 is indeed your SD card or flash drive.
Step 7: Now type “clean” and hit enter.
Step 8: Now type “create partition primary” and press enter.
Step 9: After that type “select partition 1” and press enter.
Step 10: For the primary partition, please make sure that you select the correct drive or circle before doing this. Now type “format fs=ntfs”. This may take some time depending on your PC, SD card or flash drive before the SD card or flash drive is completely erased. After the deletion process is complete.
Step 11: Now type “active” and press enter. After that, type “exit” to safely exit the drive.