VMware Horizon on Windows Server Core 2019

I recently have a customer requesting to install VMware Horizon on a Windows 2019 Core server. Most of customers prefer to have the “Desktop Experience” but for security reason some other prefer to limit to shell only interface.

Before installing VMware Horizon, ensure that all updates are applied to Windows 2019 Core (I had some strange behavior before doing that, like impossible to have the Flex Admin console or get “Login failed” on the new HTML 5 consoles)

The first main concern is getting signed certificate ready so Horizon will use it instead of its self signed certificate.

After copying the certificate in a local folder :

1 ) From the Administrator command prompt, type “powershell” to execute PowerShell command

2 ) Type :

$mypwd = get-Credential -Username 'Enter Password Below' -Message 'Enter Password Below'
Import-PfxCertificate -FilePath C:\temp\mycert.pfx -CertStoreLocation Cert:\LocalMachine\My -Password $mypwd.Password -Exportable

Now the certificate is imported we need to change it’s Friendly name :

Set-Location Cert:
cd .\\LocalMachine\My\

The “Get-Children” will show you all certificates , in the following exemple I imported the signed certificate after installing Horizon so I had to rename the Friendly name of the self-signed certificate as well.

To change the Friendly name, type :

$cert = gci <thumbprint>
$cert.FriendlyName = "vdm"

To check if it’s correct :

gci <thumbprint> | fl Thumbprint,FriendlyName

Type “exit” to quit PowerShell

Now you can install Horizon the same way as if it’s on Windows with Desktop Experience:

You may also like...

2 Responses

  1. Michael says:

    Is this a VMware supported setup ? Documentation is not clear about this.

    • eric says:

      Well I don’t see anything internally that said Core is not supported. VMware support OS version not if it’s Core or Desktop experience version.

Leave a Reply

Your email address will not be published. Required fields are marked *