Size (microsoft-windows-deployment-extendospartition-size)

Size specifies the size of the extension. If Size and Extend are present in the same configuration pass, an error is logged, and installation terminates.

Values

Size

An integer that indicates 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   You can extend only NTFS file system partitions.

The partition that you plan on extending must have unpartitioned space available following it.

Valid Configuration Passes

auditSystem

generalize

oobeSystem

specialize

Parent Hierarchy

Microsoft-Windows-Deployment | ExtendOSPartition | Size

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.

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

ExtendOSPartition