This documentation is archived and is not being maintained.


Disk specifies the disk settings to add or to edit on the destination computer. Disk is a list item type, and each instance of Disk in an unattended installation answer file applies to a single hard disk (specified by DiskID).

Child Elements



Specifies a list of CreatePartition items.


Specifies the identification number of the disk to edit.


Specifies a list of ModifyPartition items.


Specifies whether to reformat the disk.

Valid Passes

Parent Hierarchy

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 DiskConfiguration 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