Forum Discussion

Jeff Sparrow's avatar
Jeff Sparrow
Copper Contributor
Mar 26, 2018

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 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.
  • 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!

  • Jeff Sparrow's avatar
    Jeff Sparrow
    Copper Contributor

    Cant get it to work by name at all.  Perhaps index will work.  Trying now.

    • Jeff Sparrow's avatar
      Jeff Sparrow
      Copper 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's avatar
        Jeff Sparrow
        Copper 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.

         

Resources