Partager via


Extend

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

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

See Also

Concepts

ExtendOSPartition