You are on page 1of 4

Format your Flash Drive With Diskpart

First open a command prompt window with administrative rights. You can do this by going to
the Start Search and typing in command prompt or cmd and then by right clicking on the
command prompt icon and select Run As Administrator. We will use the command prompt to
format a USB drive.

An Administrator command prompt will open. Type in diskpart. Your command line will look
like this:

Then enter this command “list disk” without the quotes to display all active disks on your
machine.

Next you want to use the “Select” command to pick your flash drive. For me I will use “Select
disk 2” since 2 is the disk number for my flash drive.
Next you want to enter “clean” with no quotes.

Next type in “create partition primary” with no quotes.

Next type in “Active” with no quotes.


Here comes the fun part formatting it. You can chose any file system that is supported by your
flash drive. I am going to select ntfs, which is supported by my flash drive. You can select fat32
or fat16 if you need those type of formats.

Type in this command without quotes “format fs=ntfs label=”PUT YOUR DESCRIPTOIN
HERE” quick. Just replace ntfs with either fat32 or fat16 to format the drive with these formats
instead.

Then type in Assign and then Exit.

Now you have a formatted flash drive!

You might also like