Home Tech Tips How to Format USB Flash Drive Using CMD (Command Prompt)

How to Format USB Flash Drive Using CMD (Command Prompt)

4 min read
0
0

How to Format USB Flash Drive Using CMD (Command Prompt)

By formatting with command prompt, you can easily fix any USB flash drive, pen drive and memory stick that is write protected, virus infected, corrupted, damaged, unreadable, unrecognized by PC and Mobile.

So here comes the question, how to format a USB flash drive?

Thispage mainly illustrates how to format a USB flash drive using Windows inbuilt Command Prompt, and the following is the detailed guide you should strictly follow.

How to Format USB Flash Drive from Command Prompt?

For your information, any form of disk formatting will completely erase data, so backup as many as important files before the start. Altogether, you’ll walk through the whole formatting process in eight steps, and the estimated time is unsure, depending on the USB flash drive capacity and used space on it.

Step 1. In Windows 10, for example, type cmd in the search box, you can get the best match called Command Prompt. Right-click on it and choose Run as administrator.

Step 2. On the Command Prompt window, type diskpart and press Enter.

Step 3. Type list disk and press Enter. According to the list disk information, check which disk is your USB flash drive. For example, disk 2.

Step 4. Now type select disk 2 and press Enter.

Step 5. Type clean. Wait some time for disk erasing.

Step 6. Type create partition primary and press Enter.

Step 7. After diskpart successfully created the specified partition, type format fs=ntfs and press enter. If you prefer other file system formats, change the command ntfs to the desired one such as fat32, exfat, etc.

Step 8. Type assign to create a drive letter to the flash drive.

 

Advantagesof Using Diskpart CMD Format

As you know, there is more than one way to perform a format task in Windows OS, but why would we recommend you such a complicated approach? It’s the most helpful and powerful!

In some cases, you can only use Diskpart command to format a USB flash drive or hard drive. For example:

Windows was unable to complete the format

The format did not complete successfully

Raw drive cannot be fixed and formatted using Disk Management

 

Load More Related Articles
Load More By Godwin Elorm Koku
Load More In Tech Tips

Leave a Reply

Check Also

Meet The New Windows XP 2018 Edition

Meet The New Windows XP 2018 Edition If you have used a PC in the last 20 years, you will …