0% found this document useful (0 votes)
292 views1 page

$PBR Diskpart

The document contains instructions to partition a drive using GUID Partition Table (GPT) including creating a 100MB EFI system partition labeled "System" assigned to drive S, a 16MB Microsoft Reserved partition, the primary Windows partition formatted NTFS labeled "Windows" and assigned to drive W, and a recovery tools partition formatted NTFS labeled "Windows RE tools" and assigned to drive T.

Uploaded by

fernando Cabrera
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
292 views1 page

$PBR Diskpart

The document contains instructions to partition a drive using GUID Partition Table (GPT) including creating a 100MB EFI system partition labeled "System" assigned to drive S, a 16MB Microsoft Reserved partition, the primary Windows partition formatted NTFS labeled "Windows" and assigned to drive W, and a recovery tools partition formatted NTFS labeled "Windows RE tools" and assigned to drive T.

Uploaded by

fernando Cabrera
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

rem == ResetPartitions-UEFI.

txt ==
convert gpt
rem == 1. System partition =========================
create partition efi size=100
format quick fs=fat32 label="System"
assign letter="S"
rem == 2. Microsoft Reserved (MSR) partition =======
create partition msr size=16
rem == 3. Windows partition ========================
rem == a. Create the Windows partition ==========
create partition primary
rem == b. Create space for the recovery tools partition ===
shrink minimum=450
rem == c. Prepare the Windows partition =========
format quick fs=ntfs label="Windows"
assign letter="W"
rem == 4. Windows RE tools partition ===============
create partition primary
format quick fs=ntfs label="Windows RE tools"
assign letter="T"
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001
list volume
exit

You might also like