ExtendOSPartition

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

Setting Description
Extend Specifies whether to extend the partition to fill the entire hard disk.
Size 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.

Note

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

Valid Configuration Passes

auditSystem

generalize

oobeSystem

specialize

Parent Hierarchy

Microsoft-Windows-Deployment | ExtendOSPartition

Applies To

For a 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.

<AuditComputerName>
   <MustReboot>true</MustReboot>
   <Name>MyComputer</Name>
</AuditComputerName>
<ExtendOSPartition>
   <Extend>true</Extend>
</ExtendOSPartition>
<Reseal>
   <ForceShutdownNow>true</ForceShutdownNow>
   <Mode>Audit</Mode>
</Reseal>

Microsoft-Windows-Deployment