How to Fix a Corrupted Pen Drive or SD card using Command Prompt?
Has your Pen Drive or SD card stopped working suddenly? Are you tired of formatting it again and again? And still your storage devices continue to malfunction.
Most of you might have faced this problem with your Pen Drives and SD cards. If yes, then we are here to help you solve this problem and fix your corrupted USB drive.
We can repair a corrupted pendrive or SD card using Command Prompt in windows. This How to guide will help you do that in a simpler way. In this technique all you need is to enter some commands in command prompt and windows will forcefully format your corrupted pen drive or SD card.
Follow this simple steps and you can do that in just a few minutes.
Step-1:
Connect the corrupted pen drive or SD card to your computer.
Step-2:
Now open Command window. You can actually do this in several ways. Press Windows Key+R and type cmd in the dialog box and click on OK. This will let you open command window. Also you can click on start button and type cmd in search box and select the command prompt program.
Step-3:
Once done with opening the command prompt window, its time to enter some commands into it.
Type diskpart and press Enter.
Next type list disk and press Enter. This will display a list of all the storage devices connected to your computer.
Step-4:
Now type select disk <the number of your disk> and press Enter. Here the number of your disk is the number assigned to your removable storage.
Note: Make sure you enter the number correctly. Otherwise, you may format your internal hard drive.
Step-5:
After selecting the disk accurately, type clean and press Enter. Next type create partition primary and hit Enter.
Step-6:
Now type active, and press Enter.
Type select partition 1, and hit Enter.
Step-7:
Finally, type format fs=fat32 and hit Enter. You can write ntfs instead of fat32 to format drives larger than 4 GB.The format process will complete in a few minutes. Do not close the window untill the process is done.
Here is the entire process.
Once done your USB drive is back to normal again.
If you have faced any problems or need help then please let us know through comments. Don’t forget to share this article.
For more such How to’s Follow us on Facebook, Twitter and Google+.
How to repair, ,pen drive , status no media , ,can help me…
We didn’t understand can you provide more info
There is to fix my hard drive it has got Raw has a file system…if there is a way to fix this please tell me
Can you tell us a bit clearly.
how to format my hp pen drive the write protected in the error
hi…i am stuck at step 5…cant create partition primary after clean . it says
No usable free extent could be found. It may be that there is insufficient
free space to create a partition at the specified size and offset. Specify
different size and offset values or don’t specify either to create the
maximum sized partition. It may be that the disk is partitioned using the MBR disk
partitioning format and the disk contains either 4 primary partitions, (no
more partitions may be created), or 3 primary partitions and one extended
partition, (only logical drives may be created).
Please help
Have you clearly selected the USB drive?
Hi i performed above steps but i am facing “Diskpart has encountered an error: Access Denied” . Could you please help us how to resolve the issue in such cases.. Thanks in advance.
Hi please check if you have selected the proper drive by name!
After trying lots of different 3rd party software without success, I am happy to report that this method completely repaired my 16GB MicroSD Card. Before repairing using this method, the card was totally unreadable by windows, was unable to format it using the common windows method, and EaseUS Partition Master reported that the SD card had about 30% bad sectors.
Don’t bother trying to use third-party recovery software, use this CMD prompt method, it took about 20mins to complete, and it totally repaired my screwed up MicroSD card.