Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use TypeID
to manually specify a hard-drive partition type, such as a utility partition type.
Five partition types are already built in: primary, extensible firmware interface (EFI), extended, logical, and Microsoft Reserved (MSR). To use these built-in partition types, enter a value in the setting: microsoft-windows-setup-/DiskConfiguration/Disk/CreatePartitions/CreatePartition/Type.
Some partition types are not assigned a drive letter by default. Without a drive letter, these partitions do not appear in some common lists of devices, such as in Windows Explorer or in Open or Save file dialog boxes. If you assign a letter to the partition, the partition appears in these common lists of devices.
Values
TypeID |
Specifies the partition type. See the Partition Types section later in this topic. TypeID is a string. |
Partition Types
The following tables describe how to set common partition types by using the microsoft-windows-setup-/DiskConfiguration/Disk settings:
BIOS/MBR-Based Systems
Partition type | How to set the value | Used for | Receives a drive letter by default? |
---|---|---|---|
System partition |
Set CreatePartitionType to Primary, and then set ModifyPartitionActive to true. |
System boot information and Windows RE tools. |
No |
OEM partition |
Set CreatePartitionType to Primary, and then set ModifyPartition<code>TypeID to a recognized value. Recognized values include: |
OEM tools and other system utilities. |
No |
Windows data partition |
Set CreatePartitionType to Primary. |
Windows, applications, and data. |
Yes |
Recovery/utility partition |
Set CreatePartitionType to Primary, and then set ModifyPartition<code>TypeID to 0x27. |
Recovery files such as push-button recovery images and other system utilities. |
No |
For information about these and other partition types, see the MSDN topic, Disk Partition Types.
UEFI/GPT-Based Systems
Partition type | How to set the value | Used for | Receives a drive letter by default? |
---|---|---|---|
EFI system partition (ESP) |
Set CreatePartitionType to EFI. |
The system partition. |
No |
Microsoft Reserved partition |
Set CreatePartitionType to MSR. |
Managing the other hard-drive partitions. |
No |
Windows data partition |
Set CreatePartitionType to Primary. |
Windows operating system, applications, and data. |
Yes |
Recovery/utility partition |
Set CreatePartitionType to Primary, and then set ModifyPartition<code>TypeID to |
Recovery tools such as Windows RE, recovery files such as push-button reset images, and other system utilities. |
No for Windows RE tools partitions. Yes for push-button reset partitions and other utility partition types. For more information about hiding partitions, see Walkthrough: Deploy Push-Button Reset Features. |
For information about these and other partition types, see the MSDN topic, PARTITION_INFORMATION_GPT Structure.
Valid Configuration Passes
windowsPE
Parent Hierarchy
microsoft-windows-setup- | DiskConfiguration | Disk | ModifyPartitions | ModifyPartition | TypeID
Applies To
For a list of Windows editions and architectures that this component supports, see microsoft-windows-setup-.
XML Example
The following XML output for the DiskConfiguration
setting shows partition modifications that set the recovery partition with the utility partition type. This partition does not appear with a drive letter in Windows.
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>1</PartitionID>
<Label>WinRE Tools</Label>
<Format>NTFS</Format>
<TypeID>de94bba4-06d1-4d40-a16a-bfd50179d6ac</TypeID>
</ModifyPartition>
For full XML examples and recommended partition configurations, see How to Configure UEFI/GPT-Based Hard Disk Partitions or How to Configure BIOS/MBR-Based Hard Disk Partitions.