Installing Remote Desktop License Server On Windows Server 2016
Installing Remote Desktop License Server On Windows Server 2016
m Microsoft, Windows Server, Windows Server 2016 Microsoft, Server 2016, Windows Server
In this blog post we will look at how to install and activate a Remote Desktop License Server on Windows Server 2016. We will also review the two different types of
CALs, and how to install CALs on the RD License Server. Finally, we will look at how to designate specific License Servers to RD Session Host Servers, through
PowerShell and Group Policy.
If you don’t have Remote Desktop Services Client Access Licenses (RDS CALs), your users will not be able to connect to a remote desktop session host server, after the
initial grace period of 120-days expires. To install Remote Desktop Services CALs, you first need to install Remote Desktop Licensing. This is a role service of the
Remote Desktop Services role on Windows Server 2016. You can use RD Licensing to install, issue, and track the availability and usage of licenses.
If you have Windows Server 2016 session host servers, then the RD Licensing role service must be installed on a Windows Server 2016 machine, because 2016 RDS
CALs can only be installed on a Server 2016 RD license server.
Citrix XenApp also relies on a RD license server. Because what XenApp essentially does, is to extend the capabilities of the Microsoft Remote Desktop session host
server. Each time a user connects to a XenApp session, he is also connecting to a Remote Desktop Session. So you will need licenses for both XenApp and RDS.
Keep in mind, the license server we set up in this blog post, will only be used to issue licenses to session host servers that will host shared desktops and deliver
applications in a Citrix XenApp environment. Such a deployment will only have RD session host servers and license server(s). There will be no Remote Desktop
Connection Broker.
Navigation
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 1/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
Before you start, you should add the designated license server to the Terminal Server License Servers group in Active Directory. Otherwise, you will not be able to
issue RDS Per User CALs to users in the domain, and you will not be able to track or report the usage of RDS Per User CALs on the License Server.
1.1 Start the Add Roles and Features Wizard in Server Manager
1.2 Click Next
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 2/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 3/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 4/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 5/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 6/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
1.8 Select Remote Desktop Licensing (click Add Features when prompted), click Next
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 7/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 8/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 9/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 10/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 11/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
2.2 Right click the server name, and select Activate Server
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 12/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 13/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
2.4 Select desired connection method. I’m selecting Automatic connection, which connects to the Microsoft clearinghouse over the internet, by using https. If your license
server does not have access to the internet, you can also choose to activate it through the web browser (of another computer, which is connected to the internet) or over
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 14/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 15/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
2.5 You will be requested to provide some information about yourself. These four fields are required, so enter information for each field
2.6 These fields are optional. Click next when you are ready
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 16/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
2.10 If you right-click the server name, and select Review Configuration, you can review the configuration of the RD license server.
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 17/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
3. Types of CALs
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 18/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
Each user and device that connects to a Remote Desktop Session host needs a client access license (CAL). There are two types of Client Access Licenses available in
this type of setup.
4. Install CALs
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 19/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 20/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
4.2 The connection method you used during activation is retained (to change it, use the properties dialog box of the license server). Click Next
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 21/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 22/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
4.4 The next few steps will depend on the license program you selected in the previous step. These are the steps for Enterprise Agreement
4.5 Enter Agreement number, click Next
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 23/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
4.6 Select Product Version, license type and quantity of licenses to install onto the license server. Then click Next and follow the wizard to complete the license
installation process.
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 24/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
5. Specify Licensing Mode and License server for RD Session Host Servers
The Remote Desktop Session Host Configuration Tool was removed in Windows Server 2012 R2, and isn’t present in Server 2016 either. So you will have to specify
licensing mode and licensing server through other means. Since we are not dealing with a full-blown deployment of Remote Desktop Services here, but rather just
session host servers that we will use for the purpose of hosting shared desktops and deliver applications on Citrix XenApp, we can not define the licensing server in
Server Manager. Rather, we will have to use either PowerShell or Group Policy.
Run the following three cmdlets in PowerShell on the session host server
$obj.ChangeMode(4)
$obj.SetSpecifiedLicenseServerList("server03.shabaztech.com")
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 25/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
In cmdlet number two, the value of 4 specified that the licensing mode will be Per User. If you want to use Per Device licensing mode, then you will have to enter 2
instead.
Finally, run this cmdlet to verify that the specified license server was set correctly.
$obj.GetSpecifiedLicenseServerList()
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 26/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
The settings can be found in the following location, and they are self-explanatory.
Computer Configuration → Policies → Admin Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Licensing
Computer Configuration → Policies → Admin Templates →Windows Components → Remote Desktop Services → RD Licensing
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 27/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
With this setting you can control which RD Session Host servers are issued RDS CALs by the license server. It must be configured in a GPO that is applied to the license
server.
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 28/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
You can use RD Licensing Diagnoser to check licensing configuration details for a session host server. You can also use it to help identify possible licensing problems.
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 29/30
31/07/2019 Installing Remote Desktop License Server on Windows Server 2016 - ShabazTech
Upper portion gives information about licensing configuration details on the session host server.
Middle portion gives diagnostic information and suggested resolutions for any problems.
Lower portion gives information on which license servers the session host is configured with.
1 Comment
Excellent
https://shabaztech.com/installing-remote-desktop-license-server-on-windows-server-2016/ 30/30