DiskID specifies the identification number of the disk to configure.



Specifies the identification number of the disk to configure. This value is a relative 0-based index.

For example, to specify the first hard disk on the primary IDE channel, set the DiskID setting to 0. Set the second disk to 1.

Valid Passes


Parent Hierarchy

Microsoft-Windows-Setup | DiskConfiguration | Disk | DiskID

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML Example

The following XML output for the DiskConfiguration setting shows how to create three partitions on a hard drive.

<!-- Create primary partition, 20 GB -->
<!-- Create extended partition and fill the rest of the hard disk -->
<!-- Create logical partition within the extended partition, 6 GB -->

See Also