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.
Question
Wednesday, January 10, 2018 1:06 PM
Hi
I've got previous experience automating windows installs before (desktop and server) but I'm stumped with this one issue with 2016.
I can't seem to automate the OS selection window, This one...
< not able to upload images but its the OS selection windows within the windows setup >
Here is my code snippet from my Autounattended.xml
I've tried using /image/name & /image/index
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Server 2016 Standard (Desktop Experience)</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>
I used dism to confirm the image name
my iso is
SW_DVD9_Win_Svr_STD_Core_and_DataCtr_Core_2016_64Bit_English_-3_MLF_X21-30350.ISO
SHA256 36B60C31CAFA2D488FE5D842D1FFBA623381F5E9F70E9359B3AA05282C9D232D
Anyone else seem this or can offer a share of what you use in your unattended file?
Thanks
Gary
All replies (5)
Thursday, January 11, 2018 9:52 AM
Hi Gary,
I suggest you use <Key>/image/index</Key> instead of Name to specify the index number of the image to install to see whether it works.
More information for you:
Key
Best Regards,
Amy
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Thursday, January 18, 2018 4:55 AM
Hi,
Are there any updates at the moment?
Best Regards,
Amy
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, March 20, 2018 5:10 PM
Hi Amy,
Was there a resolution for this? Neither /IMAGE/NAME nor /IMAGE/INDEX works for me. This was with /IMAGE/INDEX.
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>3</PartitionID>
</InstallTo>
<InstallFrom>
<MetaData wcm:action="add">
<Value>0</Value>
<Key> /IMAGE/INDEX</Key>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
Thanks,
Larry
Sunday, April 8, 2018 9:46 PM
I was able to get that working with /IMAGE/INDEX. The issue for me was that I had passed an index that was not valid. I had to go into the image to figure out the correct index.
Thursday, April 11, 2019 3:40 PM
Paying it forward because your post put me on the right path to find the answer. Here's the correct syntax guidelines:
For choosing your Image selection you can use either one of these options:
Finally, to get your respective Name, Description, or Index values from an install ISO, you'll use dism and point it to your install media for a list of all the respective versions included on your media using this command:
For some reason the /get-imageinfo cmd doesn't yield the results you'd want, you'll use /get-wiminfo instead. Here is the full command I used that retrieved all the image versions from a vanilla Window 10 1809 ISO:
Dism /Get-WimInfo /WimFile:<Path to Install.wim on your ISO>
This will give you all the respective attributes for each image.