Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
These settings don't apply to Windows 11
InstallTo
specifies the ___location to which the image is to be installed.
Child Elements
Setting | Description |
---|---|
DiskID | Specifies the disk ID of the disk to which the image is installed. |
PartitionID | Specifies the partition ID of the partition to which the image is installed. |
Valid Configuration Passes
windowsPE
Parent Hierarchy
Microsoft-Windows-Setup | WindowsDeploymentServices | ImageSelection | InstallTo
Applies To
For the list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.
XML Example
The following XML output shows a complete Windows Deployment Services deployment.
<WindowsDeploymentServices>
<Login>
<WillShowUI>OnError</WillShowUI>
<Credentials>
<Username>Administrator</Username>
<Domain>MY-DOMAIN-NAME</Domain>
<Password>********</Password>
</Credentials>
</Login>
<ImageSelection>
<WillShowUI>OnError</WillShowUI>
<InstallImage>
<ImageName>MY_IMAGE_NAME</ImageName>
<ImageGroup>My IMAGE GROUP</ImageGroup>
</InstallImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</ImageSelection>
</WindowsDeploymentServices>
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<DiskID>0</DiskID>
<WillWipeDisk>false</WillWipeDisk>
<ModifyPartitions>
<ModifyPartition>
<Order>1</Order>
<PartitionID>3</PartitionID>
<Letter>C</Letter>
<Label>TestOS</Label>
<Format>NTFS</Format>
<Active>true</Active>
<Extend>false</Extend>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>