info@cashcomputer.net 1 (413) 459-2659
December 21, 2019

Script for un-supported windows 11 machine

rem == CreatePartitions-UEFI.txt ==

rem == These commands are used with DiskPart to

rem    create four partitions

rem    for a UEFI/GPT-based PC.

rem    Adjust the partition sizes to fill the drive

rem    as necessary. 

diskpart

select disk 0

rem == 1. System partition =========================

create partition efi size=500

format fs=fat32 label="System"

assign letter="S"

rem == 2. Microsoft Reserved (MSR) partition =======

create partition msr size=16

rem === 3. Recovery tools partition ================

create partition primary size=1024

format fs=ntfs label="Recovery tools"

assign letter="R"

set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"

gpt attributes=0x8000000000000001

rem == 4. Windows partition ========================

create partition primary 

format quick fs=ntfs label="Windows"

assign letter="W"

list volume

exit