Skip to Content

How to Format a USB Drive Using Diskpart in Windows

Step-by-Step Guide to Formatting a USB Drive with Diskpart

Formatting a USB Drive

If your USB drive isn't functioning correctly or needs a clean slate, Diskpart may be a robust Windows command-line tool which will assist in formatting and managing the drive efficiently. during this guide, we'll walk you thru the steps to format a USB drive using Diskpart.


Step-by-Step Guide to Formatting a USB Drive with Diskpart


Format USB Drive with Diskpart

If your USB drive isn't functioning correctly or needs a clean slate, Diskpart may be a robust Windows command-line tool which will assist in formatting and managing the drive efficiently. During this guide, we'll walk you through the steps to format a USB drive using Diskpart.

Step 1: Open Command Prompt

Press Win + R, type cmd, and press Enter.

In the Command Prompt window, type the following:

diskpart

Step 2: Select the USB Drive

In the Diskpart prompt, type:

list disk

This will display all available disks on your computer.

Identify your USB drive from the list and note its disk number.

Select the USB drive by typing:

select disk X

Replace X with the correct disk number of your USB drive.

Step 3: Clean the USB Drive

To remove all existing partitions and data on the USB drive, type:

clean

This will erase everything on the drive, so make sure you have protected important data before proceeding.

Step 4: Create a New Partition and Format the Drive

Now, create a new partition and format it:

create partition primary
format fs=fat32 quick
assign

create partition primary: Creates a new primary partition.

format fs=fat32 quick: Formats the drive with the FAT32 file system (use ntfs if needed).

assign: Assigns a drive letter to the formatted USB.

Step 5: Exit Diskpart

Once the formatting is complete, type:

exit

This will close Diskpart.

Final Thoughts

Your USB drive is now ready to use! You can safely remove it or start using it for file storage and bootable drive creation. If you encounter any issues, double-check the disk number before running clean to avoid formatting the incorrect drive.

For more networking and system administration tips, visit Ekhaneipabo.com 🚀

This will close Diskpart.


Final Thoughts


Your USB drive is now able to use! you'll safely remove it or start using it for file storage and bootable drive creation. If you encounter any issues, double-check the disk number before running clean to avoid formatting the incorrect drive.


For more networking and system administration tips, visit Ekhaneipabo.com. 🚀



Share this post
Archive
Sign in to leave a comment