共用方式為


TypeID (Standard 7 Package Reference)

7/8/2014

TypeID specifies the hard-drive partition type.

Use TypeID to manually specify a partition type, such as a utility partition type.

Note

Five partition types are already built in: Primary, EFI, Extended, Logical, and Microsoft Reserved (MSR). To use these built-in partition types, enter a value in the setting: 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 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

BIOS-Based Systems

On BIOS-based systems, typical partition types include:

Partition type

TypeID value

Used for

Receives a drive letter by default?

How to set the value

Windows data partition

0x7

Windows, applications, and data.

Yes

Gg723563.note(en-US,WinEmbedded.60).gifNote:
System partitions do not receive a drive letter.

Set CreatePartition\Type to Primary

Utility partition

0x27

Recovery tools such as Windows RE and other system utilities.

No

Set CreatePartition\Type to Primary, and then set TypeID to 0x27

For information about these and other partition types, see the MSDN topic, Disk Partition Types.

UEFI-Based Systems

On UEFI-based systems, typical partition types include:

Partition type

TypeID value

Used for

Receives a drive letter by default?

Built in?

EFI System partition

c12a7328-f81f-11d2-ba4b-00a0c93ec93b

The system partition.

No

Yes, set CreatePartition\Type to EFI

Microsoft Reserved partition

e3c9e316-0b5c-4db8-817d-f92df00215ae

Managing the other hard-drive partitions.

No

Yes, set CreatePartition\Type to MSR

Windows data partition

ebd0a0a2-b9e5-4433-87c0-68b6b72699c7

Windows operating system, applications, and data.

Yes

Yes, set CreatePartition\Type to Primary

Utility partition

de94bba4-06d1-4d40-a16a-bfd50179d6ac

Recovery tools such as Windows RE and other system utilities.

Yes

No. Set CreatePartition\Type to Primary, and then set TypeID to de94bba4-06d1-4d40-a16a-bfd50179d6ac

For information about these and other partition types, see the MSDN topic, GPT Partition Information Structure.

Valid Passes

windowsPE

See Also

Concepts

ModifyPartition
Type