Windows 2019 – Feature on Demand Server Core App Compatibility option

Hello World,

In one of our previous post about Windows 2019, we have seen how easy it was to install and deploy a Windows 2019 core Edition.  Microsoft seems to put a lot of effort in convincing customers to deploy core servers instead of having servers running a Graphical interface.  Technically, it kind of make sense to minimize the footprint of an Operating system as this will minimize surface attack and simplify patching process… However, in practice, we have noticed that a lot of sysadmins are simply not comfortable with the command line and a lot of them still rely on GUI. 

Overview 

Server Core edition are great solution if you want to reduce footprint of the operating system and if you want to simplify patching process and improve security.  However, lack of Graphical interface makes  adoption difficult among “traditional” windows system admins.  The sysadmin can indeed perform remote management of a core server using Server Manager or even the new Web based management interface called Windows Admin Center.  As long as an admin does not need to locally login into the core server, there is not too much complains.  The problem is when there is a need to connect locally on the box and that the known admin tools are simply not available.   This is where the sysadmin feels really uncomfortable in managing the Server Core. 

In Windows 2012 edition, there was the possibility to install a minimal GUI interface on top of a core Server edition in order to provide some basic admin tools that could be used by sysadmins when logged on locally on the server.  This option (in feature and roles) does not exists anymore in Windows 2019. However, you can re-introduce this capability as a Feature on Demand which simply means that you have to download and install some additional software in order to get access to some GUI based tools and applications.  

The App Compatbility software Feature on Demand basically will install some additional binaries onto  your core server in order to be able to access some GUI-based programs without installing a full Desktop interface.

 

Obtain the Feature on Demand App Compatibility package

Microsoft has made available an iso file that can be downloaded from the evaluation center.  The package can be downloaded freely from Microsoft  Evaluation center web site.  So, let’s try to grab this iso.  We will need to go to the following location https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2019

You will arrive on a page similar to this one.   Expanding the Windows 2019 Product family, you will see that there is almost not visible link called FOD that can be used to download the iso file we need.

Click on Picture for Better Resolution

Mount the iso file into your operating system 

When downloaded, based on your infrastructure, you can either attach the iso into your VM hosting the Server Core Edition or you can copy the iso file inside the operating system and use powershell to mount the iso into your session. In our setup, we are using VM so we can easily mount the iso file into the virtual machine and make it available within the operation system. 

Note :  

To mount the iso using powershell, you will need to execute the following command  

Mount-DiskImage -ImagePath <%location of the iso file%>

Perform the installation  

Open the command prompt on your core Server, and execute the following command 

DISM /Online /Add-Capability /CapabilityName:"ServerCore.AppCompatibility~~~~0.0.1.0" /Source:drive_letter_of_mounted_ISO: /LimitAccess

In the screenshot, you can see that my DVD drive is set to D: 

Click on Picture for Better Resolution

Wait for the installation to complete

 

Click on Picture for Better Resolution

When the installation is completed, you will be asked to reboot your computer.  Press Y in order to reboot and complete the installation

Click on Picture for Better Resolution

After the reboot, you should see that indeed some updates are being applied to your system

Click on Picture for Better Resolution

Testing the mini GUI capabilities  

When completed, you can login locally on your system and you can try to launch the file explorer by simply typing the explorer.exe command in the command prompt.  Now, you can browse your for files and folders on your Core Server edition. 

Click on Picture for Better Resolution

Adding FOD App Compability packages offers you the possibility to run mmc.exe console as well. As an example, we have opened the Eventviewer console 

Click on Picture for Better Resolution

We have also tried to open the Local users and group console and as you can see this is working perfectly 

Click on Picture for Better Resolution

You can also start the PowerShell ISE interface from a Powershell Console by issuing the following command 

ise

The Powershell ISE should open and you can start scripting.  As we test, we have run a powershell script displaying a gui interface and this wored on our Server Core Edition with FOD package installed.  This means that if you have custom developed tools (GUI Based) written in Powershell, you might be able to run them on the Core Server (which is really cool) 

Click on Picture for Better Resolution

 

 

Finally, in the Microsoft Documentation (see here) about FOD, it seems possible to add the Internet Explorer 11 packages by issuing the following command  

Dism /online /add-package:drive_letter_of_mounted_iso:"Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~.cab"

Usually, Browser on Core editions are not needed.  However, since the new web based management interface (Windows Admin Center) exists, it might be interesting to have a browser in order to manage locally the Core Edition through a web browser.  Because Internet Explorer 11 is not supported for Windows Admin center, you should install another browser and give it a try.   In our scenario, we have installed Firefox and we have installed the Windows admin center locally and we are able to perform basic management activities through a web based interface 🙂

Click on Picture for Better Resolution

 

Final Notes 

Microsoft seems to be pushing customers to deploy Core Editions of their operating systems. First, more and more products seems to be capable of running on Core Server Edition.  One of the recent example would be Exchange 2019 which is officially supported when installed on a Core edition.  Microsoft wants to have more and more applications running on top of the Core Edition.  However, some applications such as Sharepoint or even simply the remote desktop services features is not supported on a Core Edition.   The Windows Admin Center new web management capability seems also a move to push traditional sysadmin to deploy Core Edition and perform remote administration through pleasing interfaces. 

FOD Application Compability might seems a new thing but remember that Windows 2012 R2 had already something similar but was rarely used because a lot of people were deploying operating system with Full GUI capability.  Windows 2019 might be the Operating system that will invert this trend and we might see more and more deployment of Windows Server Core Edition…. as all these small software additions (i.e. WAC and FOD) can help sysadmins to adopt with less resistance Core Server…..

Hope you enjoyed this post. There is more to come on Windows 2019 Topic.. 

Stay tuned  

Till next time 

See ya 

Reference  : https://docs.microsoft.com/en-us/windows-server/get-started-19/install-fod-19

Leave a Reply