Create a Bootable USB Flash Drive Using Diskpart

A few steps to make a bootable USB flash drive using the diskpart command. Requires an elevated command prompt.
1. Start diskpart

C:WINDOWSsystem32>diskpart

Microsoft DiskPart version 6.3.9600
Copyright (C) 1999-2013 Microsoft Corporation.
On computer: CTCRK8
DISKPART

2. Select USB flash drive

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          223 GB      0 B
  Disk 1    Online          298 GB   350 MB
  Disk 2    Online           29 GB      0 B
DISKPART> select disk 2
Disk 2 is now the selected disk.

3. Clean (remove partitions and any format of active disk)

DISKPART> clean

DiskPart succeeded in cleaning the disk.

4. Partition

DISKPART> create partition primary
DiskPart succeeded in creating the specified partition.

5. Format

DISKPART> select partition 1
Partition 1 is now the selected partition.
DISKPART> format fs=ntfs label=Bootable quick
  100 percent completed
DiskPart successfully formatted the volume.

6. Set Active bit

DISKPART> active
DiskPart marked the current partition as active.

7. Assign Drive Letter (Optional Step)

DISKPART> assign
DiskPart successfully assigned the drive letter or mount point.

Published by

Rich

Just another IT guy.

Leave a Reply

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