Filename
Note
These settings don't apply to Windows 11
Filename
specifies the file name of the image to be installed. This setting is optional. It is required only if more than one Windows image with the listed image name exists in the image group on the Windows Deployment Services server.
Values
Filename |
Specifies the file name of the image installed. Filename is a string. |
This string type does not support empty elements. Do not create an empty value for this setting.
Valid Configuration Passes
windowsPE
Parent Hierarchy
microsoft-windows-setup- | WindowsDeploymentServices | ImageSelection | InstallImage | Filename
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>
<Filename>\\network_share\images\install-myimage.wim</Filename>
<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>