Creating a batch to run diskpart from WindowsPE. DiskPartition.CMD Auto starts or is ran from another auto start. IDK yet, this is beta as beta can be. Code: :: Create Partition @ECHO OFF ::SETUP TITLE Partition Creation! SetLocal EnableDelayedExpansion ECHO. choice /C MG /M "Create [M]BR or [G]PT partition table?:" if !ERRORLEVEL! EQU 1 CLS & GOTO :MBR if !ERRORLEVEL! EQU 2 CLS & GOTO :GPT PAUSE & GOTO :EOF ::MBR Partition :MBR DISKPART /S MBR.txt exit ::GPT Partition :GPT DISKPART /S GPT.txt EXIT MBR.TXT I think this bit is fine. I used it recently to create my partitions manually when applying an image to my HDD. Code: select disk 0 clean create partition primary size=300 format quick fs=ntfs label="System" assign letter="S" active create partition primary format quick fs=ntfs label="Windows" assign letter="W" GPT.TXT I have no idea if this is right. Any that has experience with creating GPT partitions with diskpart please chime in. Also, what does it take to then apply an image to this partition? Just apply it or does it need more for it to be GPT/uEFI? Code: select disk 0 clean convert gpt format quick fs=fat32 label="System" assign letter="S" create partition msr size=128 create partition primary format quick fs=ntfs label="Windows" assign letter="W"