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

Expand table

TypeIDSpecifies 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

Expand table

Partition typeHow to set the valueUsed forReceives a drive letter by default?
System partitionSet CreatePartitionType to Primary, and then set ModifyPartitionActive to true.System boot information and Windows RE tools.No
OEM partitionSet CreatePartitionType to Primary, and then set ModifyPartition<code>TypeID to a recognized value.Recognized values include: 0x120x840xDE0xFE, and 0xA0.OEM tools and other system utilities.No
Windows data partitionSet CreatePartitionType to Primary.Windows, applications, and data.Yes
Recovery/utility partitionSet 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

Expand table

Partition typeHow to set the valueUsed forReceives a drive letter by default?
EFI system partition (ESP)Set CreatePartitionType to EFI.The system partition.No
Microsoft Reserved partitionSet CreatePartitionType to MSR.Managing the other hard-drive partitions.No
Windows data partitionSet CreatePartitionType to Primary.Windows operating system, applications, and data.Yes
Recovery/utility partitionSet CreatePartitionType to Primary, and then set ModifyPartition<code>TypeID to de94bba4-06d1-4d40-a16a-bfd50179d6ac.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.

source: https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-setup-diskconfiguration-disk-modifypartitions-modifypartition-typeid