다음을 통해 공유


PartitionID (Standard 7 Package Reference)

7/8/2014

PartitionID specifies the identification number of the partition to modify. The first partition on a disk has the value of 1, the second, 2, and so on.

Note

Only primary and logical partitions are used to define the partition ID. Extended partitions are ignored.

For example:

Primary (1)

Extended

Primary (2)

Primary (3)

Because the partition structure on a disk can change during installation, it is important to be aware of the changes to the partitions on a disk as you are creating your unattended-installation answer file.

If you create additional partitions during Windows® Setup, PartitionID must exactly match the partition that you modify. For example, if you add two logical partitions to your disk configuration and then modify the last partition, the partition ID of the last partition will have changed from 3 to 5:

Primary (1)

Extended

Logical (2)

Logical (3)

Primary (4)

Primary (5)

Values

partition_identification_number

Specifies the identification number of the partition that you modify.

If WillShowUI is set to Never and an invalid PartitionID setting is specified, an error is logged and installation terminates.

Valid Passes

windowsPE

See Also

Concepts

ModifyPartition