Mar 26 2018 04:14 AM
Trying to net-install the latest version. When installing via the GUI, I have the option for a Desktop. However, according to DISM, those options are not available. How do I net-install the Desktop version:
Command line that ran is dism.exe /image:C:\Temp\wim /Get-TargetEditions Deployment Image Servicing and Management tool Version: 10.0.14393.0 Image Version: 10.0.17623.1002 Editions that can be upgraded to: Target Edition : ServerDatacenterACor Target Edition : ServerStandardACor Target Edition : ServerDatacenterEvalCor Target Edition : ServerDatacenterCor Target Edition : ServerStandardEvalCor Target Edition : ServerAzureCor The operation completed successfully.
Mar 26 2018 06:37 AM
Cant get it to work by name at all. Perhaps index will work. Trying now.
Mar 27 2018 05:42 AM - edited Mar 27 2018 05:43 AM
Mount-WindowsImage works with:
Mount-WindowsImage -ImagePath C:\Users\dhcpadmin\Downloads\install.wim -Name 'Windows Server Standard (Desktop Experience)' -Path C:\Users\dhcpadmin\Downloads\wim
However, Expand-WindowsImage fails with the exact same command:
Expand-WindowsImage -ImagePath C:\Users\dhcpadmin\Downloads\install.wim -Name 'Windows Server Standard (Desktop Experience)' -ApplyPath C:\Users\dhcpadmin\Downloads\wim
Failure:
Expand-WindowsImage : Either the Name or Index parameter is required At line:1 char:1 + Expand-WindowsImage -ImagePath C:\Users\dhcpadmin\Downloads\install.w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Expand-WindowsImage], PSArgumentException + FullyQualifiedErrorId : Expand-WindowsImage,Microsoft.Dism.Commands.ExpandWindowsImageCommand
Not really sure why..
Mar 27 2018 05:47 AM
I think the index/naming is broken for the current version as there is no difference in the expanding name:
PS C:\Users\dhcpadmin\Downloads> Get-WindowsImage -ImagePath 'C:\Users\dhcpadmin\Downloads\install.wim' ImageIndex : 1 ImageName : Windows Server 2016 SERVERSTANDARD ImageDescription : Windows Server 2016 SERVERSTANDARD ImageSize : 7,733,349,545 bytes ImageIndex : 2 ImageName : Windows Server 2016 SERVERSTANDARD ImageDescription : Windows Server 2016 SERVERSTANDARD ImageSize : 13,933,587,250 bytes ImageIndex : 3 ImageName : Windows Server 2016 SERVERDATACENTERCORE ImageDescription : Windows Server 2016 SERVERDATACENTERCORE ImageSize : 7,729,823,684 bytes ImageIndex : 4 ImageName : Windows Server 2016 SERVERDATACENTER ImageDescription : Windows Server 2016 SERVERDATACENTER ImageSize : 13,928,924,779 bytes
Both index 1 (core) and index 2 (desktop) share the same name.
Apr 02 2018 05:20 PM
Hi Jeff, I am on the server team. Thank you for evaluating this Insider build and giving us feedback! I can confirm that yes indeed there is naming issue in this build with the images in install.wim. We have since fixed this, but in the meantime you should be able to mount the correct image by index.
Apr 02 2018 05:25 PM
Hi Jeff, I can confirm this mapping is expected IF you have mounted index 1 image associated with the install.wim. But perhaps we are unsure what you are trying to accomplish. The index numbers should be accurate (there is a bug with the names of the images - not this upgrade mapping). Please try your scripts using index 1 for Server Core Standard, 2 for Server Standard w/Desktop, 3 for Server Core Datacenter, and 4 for Server Datacenter w/Desktop. thanks!