This documentation is archived and is not being maintained.


ExtendOSPartition specifies whether to extend the partition on which you are installing Windows. This setting is required for scenarios in which a customer has installed the Windows image, by using a sector-based imaging solution and now plans on extending the partition.

These settings are valid only for NTFS file system partitions.

Child Elements



Specifies whether to extend the partition to fill the entire hard disk.


Specifies the size of the extension, in megabytes. If the total value of the current size of the partition plus this setting exceeds the available space, then the partition is not extended.

If both of these are set, an error is logged, and installation terminates.

Valid Passes

Parent Hierarchy

Microsoft-Windows-Deployment | ExtendOSPartition

Applies To

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

XML Example

The following XML output shows a deployment with no asynchronous or synchronous commands.


See Also