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
| 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
Expand table
| 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: 0x12, 0x84, 0xDE, 0xFE, and 0xA0. | 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
Expand table
| 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 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