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 26, 2018Copper Contributor
Cant get it to work by name at all. Perhaps index will work. Trying now.
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..