How to Format USB Flash Drive using CMD Prompt

How to Format USB flash drive using cmd Prompt

USB flash drives are widely used to store and transfer data (Like Video, Audio, Documents, and more) from one computer to another.

Because of this, sometimes Windows stopped recognizing them. This happens because of the issue like they become a raw-space or write-protected. You can fix this issue by formatting the device using the command prompt.

*Note: Formatting a device causes loss of data. So, if it is possible take a backup of the data.

This is a step-by-step guide on how to format a USB Flash Drive using Command Prompt. Follow these simple steps to format your Pendrive using the command prompt:

Step 1: Open Command Prompt with administrator permission

  • Press Window Key and type CMD on the search box.
  • Find Command Prompt on the best match.
  • Right-click on Command Prompt and click on “Run as Administrator.”

Step 2: Open DiskPart on Command Prompt

The Diskpart is a command interpreter which helps you manage computer drives such as disks, partitions, volumes, or virtual hard disks.

  • Type DiskPart on Command Prompt to open it.

Step 3: List Disk available on your system

List Disk interpreter helps you to get the list of drives on your computer.

  • So type “List Disk” once Diskpart get open.

Step 4: Select the Disk you want to format using the command prompt

Now select the disk you want to format from the list.

  • To select the disk you want to format type “Select Disk 1*

*type the disk number you want to format

Step 5: Clear the partition on the disk

After selecting a disk you should clear all the partition on it.

  • For clearing the partition type “Clean

Step 6: Create a new partition on the disk

Clean command leads to clean all the partition on the disk. So, now create a partition on the disk.

  • To create a partition you have to type “create partition primary” on command prompt

Step 7: Format the Disk

Once a new partition created on the disk your device is ready to format.

  • Type “format fs=ntfs” to format your USB flash drive.

N.B: here in place of ntfs you can type fat32 to format the disk on FAT32.

(Also to speed-up the process of formatting you can type “format fs=ntfs quick“)

Step 8: Assign the disk.

After the above process, your device is formatted, and to assign the disk you have to type “assign” command on the prompt.

That’s it. Your USB Flash Drive is successfully got format, and now you can close the command prompt. If you find issues with any of the steps mentioned above, you should watch the video mention below.

Leave a Reply

Your email address will not be published. Required fields are marked *