Forum Discussion
Jeff Sparrow
Mar 26, 2018Copper Contributor
Server 2019 - No Desktop version for unattended?
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 Desk...
Jeff Sparrow
Mar 27, 2018Copper Contributor
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..
Jeff Sparrow
Mar 27, 2018Copper Contributor
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.
- BrentforApr 03, 2018
Microsoft
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.