Extend (microsoft-windows-deployment-extendospartition-extend)

Extend indicates whether to extend the partition to fill the remaining space on the hard disk. If this setting and Size are present in the same configuration pass, an error is logged, and installation is terminated.

Values

true

Specifies that the partition is extended to fill the remaining space on the disk.

false

Specifies that the partition is not extended. This is the default value.

Note   You can extend only NTFS file-system partitions.

Valid Configuration Passes

auditSystem

generalize

oobeSystem

specialize

Parent Hierarchy

Microsoft-Windows-Deployment | ExtendOSPartition | Extend

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>

ExtendOSPartition