[stextbox id=”alert”]WARNING: This method will erase all content on the USB flash device![/stextbox]
Start DiskPart as administrator.

Disk part should now open and you’ll be at the command prompt.

List disk drives and select the UFD (USB Flash Device) such as your thumbdrive or a USB external HDD.
list disk select disk 1

Clean the disk
clean

Create a partition and specify the partition size. I usually use the entire disk space.
create partition primary size=7839

Select the partition we just created; If you created only one partition, the default will be ‘1’.
select partition 1

Set the partition to active
active

Format the partition with NTFS filesystem (quick)
format fs=ntfs quick

Assign the newly created partition a drive letter.
assign
