You are on page 1of 1

rem These commands are used with DiskPart tool.

rem Erase the drive and create five partitions rem for a UEFI/GPT-based computer. convert gpt rem == 1. Windows RE Tools Partition ============ create partition primary size=1023 format quick fs=ntfs label="Windows RE Tools" set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac assign letter="T" rem == 2. System Partition ======================= create partition efi size=360 format quick fs=fat32 label="System" assign letter="S" rem == 3. Microsoft Reserved (MSR) Partition ==== create partition msr size=128 rem == 4. Windows Partition ====================== rem == a. Create Windows Partition =========== create partition primary rem == b. Create space for recovery partition shrink minimum=10194 rem == c. Prepare the Windows partition format quick fs=ntfs label="OS" assign letter="W" rem == 5. Recovery Image Partition ============== create partition primary format quick fs=ntfs label="Recovery Image" gpt attributes=0x8000000000000001 assign letter="R"

You might also like