[Guide] Adding Gui to Server Core - 1.22v

Discussion in 'Windows Server' started by LiteOS, Dec 25, 2017.

  1. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,204
    978
    90
    #161 LiteOS, Feb 21, 2018
    Last edited: Feb 21, 2018
    (OP)
    Here the script i use in Powershell
    Code:
    //Adding 10 packages at once, using filler or whole dir /LiteOS
    $tm = f:\tm
    $cmd = New-Object System.Collections.ArrayList
    (dir *.mum ).name | foreach { $cmd.add($psitem) ; if ($cmd.count -eq 10) {$s = $cmd[0] ; $s2 = $cmd[1] ; $s3 = $cmd[2]; $s4 = $cmd[3] ; $s5 = $cmd[4] ; $s6 = $cmd[5] ; $s7 = $cmd[6] ; $s8 = $cmd[7] ; $s9 = $cmd[8] ; $s10 = $cmd[9] ; dism /image:$tm /Add-Package /PackagePath:$s /PackagePath:$s2 /PackagePath:$s3 /PackagePath:$s4 /PackagePath:$s5 /PackagePath:$s6 /PackagePath:$s7 /PackagePath:$s8 /PackagePath:$s9 /PackagePath:$s10 /PreventPending ; $cmd.RemoveRange(0,10)  }
    $cmd | dism /image:$tm /Add-Package /PackagePath:$psitem
    
    
     
  2. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,658
    13,675
    340
    #162 xinso, Feb 21, 2018
    Last edited: Feb 21, 2018
    By dir *.mum, It'll cause errors for uninstallable parent packages, and inappropriate sequences, won't it?
     
  3. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,204
    978
    90
    #163 LiteOS, Feb 21, 2018
    Last edited: Feb 21, 2018
    (OP)
    uninstallable parent - yea but doesnt effect the image
    inappropriate sequences - yea thats bad one mb using filler is must

    we just need good fillers seq to install them all in the right order and then we can update the script to fiting form
     
  4. eddo2018

    eddo2018 MDL Junior Member

    Jan 6, 2018
    68
    31
    0
    Why mess with the dism based installation when you have the 8.8.1 by T-S which works as is?

    Perhaps you need to enable the wlan feature on servers to get the WMC working. Don't ask why, but that's a requirement.
     
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,658
    13,675
    340
    #165 xinso, Feb 21, 2018
    Last edited: Feb 21, 2018
    That's not what he's after.
     
  6. eddo2018

    eddo2018 MDL Junior Member

    Jan 6, 2018
    68
    31
    0
    Indeed that's the problem of dism based WMC installations: they are used to get broken because DISM tricks are used, and windows update messes with them.

    It's way different to install a package meant for W10 1709 on server 1709 than install something supposed to be installed in win 8.1, via dism.

    DISM tricks are very welcome but should be used to fix problems that aren't already solved in a better way.
     
  7. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,658
    13,675
    340
    #167 xinso, Feb 21, 2018
    Last edited: Feb 23, 2018
    No comment.
     
  8. eddo2018

    eddo2018 MDL Junior Member

    Jan 6, 2018
    68
    31
    0
    #168 eddo2018, Feb 21, 2018
    Last edited: Feb 21, 2018
    Whatever the biggest problem I'm facing is still the audio.

    I have everything working, including internet explorer and even the background image on the logon screen

    But I have yet to find how to correctly install (I mean via DISM) the audiocore package.

    I tried copying the missing files manually and adding the audio server and audioendpoint builder services, but audioendpointbuilder won't start (i guess because the driver is not installed), so the audioservice won't start as well. (and obviously WMC won't start because the audio is missing)

    If you have a good idea I'm all ears. ;)
     
  9. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,204
    978
    90
    What the error u getting ?
     
  10. eddo2018

    eddo2018 MDL Junior Member

    Jan 6, 2018
    68
    31
    0
    Code:
    
    Microsoft Windows [Versione 10.0.16299.125]
    (c) 2017 Microsoft Corporation. Tutti i diritti sono riservati.
    
    C:\Users\Administrator>sc start audioendpointbuilder
    [SC] StartService OPERAZIONI NON RIUSCITE 1083:
    
    L'eseguibile che prevede l'esecuzione di questo servizio non implementa il servizio.
    Sorry I don't have the en MUIs installed.

    More or less in english is "the executable of this service doesn't implement the service"
     
  11. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,356
    2,026
    210
    Maybe, but can not find where it was mentioned...
     
  12. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,204
    978
    90
  13. eddo2018

    eddo2018 MDL Junior Member

    Jan 6, 2018
    68
    31
    0
    #174 eddo2018, Feb 22, 2018
    Last edited: Feb 22, 2018
    I think I have a good solution to have everything working, including the metro control panel, the audio service and whatever.

    1) download the esd,language and rsat packs as per xinso's instructions (be sure to download the right 16299 rsat, not the older one !!!)

    2) get Server Acore 1709 and Win 10 1709 Enterprise ISOs (I think is better to use the same version for everything, say 16299.15)

    3) create a vhd(x) and deploy the serverAcor in it (obviously you have to use bcdboot to make it bootable inside of a virtual machine)

    4) unpack the content the \windows\winsxs directory of w10 enterprise somewhere in your HDD (say C:\winsxs)

    5) unpack the content \windows\servicing\packages of w10 enterprise inside the winsxs directory mentioned above

    6) move the content of \winsxs\manifests to \winsxs

    7) unpack the content of the ESDs and LP to the winsxs dir, overwriting everything

    8) use dism to add the packages you need (use the -Package~ ones to get a specific feature and install all the related subpackages)

    say Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~10.0.16299.15.mum

    not Microsoft-Windows-Client-Features-Package00~31bf3856ad364e35~amd64~~10.0.16299.15.mum

    say Microsoft-Windows-Multimedia-RestrictedCodecs-Package~31bf3856ad364e35~amd64~~10.0.16299.15.mum

    not Microsoft-Windows-Multimedia-RestrictedCodecs-avcore-Package~31bf3856ad364e35~amd64~~10.0.16299.15.mum

    Unless you really know what are you doing and you want to cherry-pick from a group of children packages

    don't forget to install the MUIs of the same name of each package you installed

    9) install the rsat cab, the netfx3 cab (if you need it)

    10) then unmount the vhd(x) and boot it inside hyper-V (or inside Virtualbox if you have a vhd), when you are satisfied of your work you can boot it natively, you can capture the image inside a WIM, you can convert the vhd to a vmdk and boot it inside vmware, you can copy its content in a real partition, and so on...
     
  14. eddo2018

    eddo2018 MDL Junior Member

    Jan 6, 2018
    68
    31
    0
  15. maur0

    maur0 MDL Senior Member

    Aug 3, 2012
    273
    123
    10
    #177 maur0, Feb 22, 2018
    Last edited: Feb 22, 2018
    sugestion create windows server 1709 full configured to gui and other packs and create iso using sysprep and upload for users install already ready, what do you think?
     
  16. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Better to provide a How-To since homebrews are not allowed to post here publicily :thinking:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,356
    2,026
    210
    WHICH ESD?
    ones you need, rather broad description...

    sebus
     
  18. eddo2018

    eddo2018 MDL Junior Member

    Jan 6, 2018
    68
    31
    0
    #180 eddo2018, Feb 22, 2018
    Last edited: Feb 22, 2018
    What's important is not the result, is the method (which I think is a world first) a method posted here to be extended, refined and improved, just like I did with Xinso's work
    So to reply also to other users I don't mind to share a premade ISO, that would be forbidden and counterproductive.


    Anyway this is what I installed (x64 and x86 where applicable), not sure everything is needed, not sure if something else should be added (especially in the multimedia area)

    Packages needed (I think)

    Microsoft-Windows-Client-Features-Package
    Microsoft-Windows-Enterprise-Desktop-Shared-Package
    Microsoft-Windows-ShellExperienceHost-Package
    Microsoft-Windows-Client-ShellLauncher-Package
    Microsoft-Windows-Internet-Browser-Package
    Microsoft-Client-Features-Classic-Package
    Microsoft-Windows-Embedded-ShellLauncher-Package

    Optional packages:

    microsoft-windows-netfx3-ondemand-package.cab
    WindowsTH-KB2693643-x64.cab <---- be sure to use 16299 one
    microsoft-windows-internetexplorer-optional-package.cab
    Microsoft-Windows-Shell-Wallpaper-Common-Package
    Microsoft-Windows-Shell-SoundThemes-Package