Table of contents
TOC
Collapse the table of content
Expand the table of content

ImageSelection

Last Updated: 12/12/2016

ImageSelection specifies the image to be installed and the location to which it is installed, as well as whether the user interface (UI) is displayed.

Child Elements

InstallImage

Specifies the file name, the image group, and the name of the image to be installed.

InstallTo

Specifies the location to which the image is to be installed.

WillShowUI

Specifies in what circumstances the UI is displayed.

Valid Passes

windowsPE

Parent Hierarchy

microsoft-windows-setup- | WindowsDeploymentServices | ImageSelection

Applies To

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

WindowsDeploymentServices

Send comments about this topic to Microsoft

© 2017 Microsoft