DISKPART
PREREQUISITES:
Bootable WINPE w/DISKPART utility.
REF: How to Create a bootable WINPE USB drive/stick (LINK)
Boot computer from WINPE media.
X:> diskpart
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --- Volume 0 E DVD-ROM 0 B No Media Volume 1 C NTFS Partition 74 GB Healthy Volume 2 F WINPE FAT32 Removable 7382 MB Healthy Volume 3 D 4TB_IMAGES NTFS Partition 4657 GB Healthy
DISKPART> list partition
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 74 GB 31 KB
Partition 2 Primary 4657 GB 31 KB
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt -------- ---------------- ------- ------- --- --- Disk 0 Online 74 GB 9 MB Disk 1 Online 7386 MB 0 B Disk 2 Online 4657 GB 0 B
DISKPART> select disk 0
Disk 0 is now the selected disk
DISKPART> clean
Diskpart succeeded in cleaning the disk
DISKPART> create part pri
Diskpart succeeded in creating the specific partition.
DISKPART> active
Diskpart marked the current partition as active.
DISKPART> select partition=1
Partition 1 is now the active partition
DISKPART> format fs=ntfs quick
100 percent completed DiskPart successfully formatted the volume.
DISKPART> assign letter=c
Diskpart successfully assigned the drive letter or mount point.
DISKPART> exit