This is how to fix your USB drive or memory card using the command prompt

Your USB Drive or SD card may have stopped working suddenly, but you tired formatting the drive again and again to no avail, and still, your storage devices continue to malfunction.

Many of us here might have faced this problem with your USB Drives and SD cards. If yes, then we are here to help you solve this problem and fix your corrupted USB drive.

Do you know that, you can repair a corrupted USB drive or SD card using Command Prompt in windows. In this article you will be shown how to go about the process that 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 USB drive or SD card.

Guidelines on how to Fix a Corrupted USB Drive or SD card using Command Prompt

Follow these simple guidelines and you can do that in just a few minutes.

Step 1:
Connect the corrupted USB drive or SD card to your computer.

Step 2:
Next you open Command window. You can actually do this in several ways. Press Windows Key+R and type cmd in the dialogue box that shows up and click on OK. This will let you open a command window. Also, you can click on start button and type cmd in the search box and select the command prompt program.

Step 3:
Once you are done with opening the command prompt window, it’s time to enter some commands into it.

Type diskpart and press Enter.

After that you type list disk and press Enter again. This will display a list of all the storage devices connected to your computer with their size.

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.

Here our removable disk number is 1.

Note: Make sure you enter the number correctly. Otherwise, you may format your internal hard drive.

Step 5:
After selecting the disk correctly, type clean and press Enter. Although their are many options, because we want to format our USB we will use clean. Next type creates partition primary and hit Enter.

Step 6:
Now type active, and press Enter.

Next type select partition 1, and hit Enter.

Step 7:
Finally, type format fs=fat32 and hit Enter. For you to format drives larger than 4 GB, you can write NTFS instead of fat32. The format process will complete in a few minutes. Do not close the window while still in process untill the process is done.

Here is the entire process.

disk process
Command prompt USB drive disk process


Once done your USB drive is back to normal as it was again.

If you fin this article article so interesting to you, you can drop a comment and share this post to your friends in social media.

Image source: Flickr

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.