How to setup RDS CALs in Windows Server : Step by step guide
By default only two concurrent active rdp sessions are allowed on a windows server editions like 2012,2016,2019 or 2022. If we need more than two users simultaneously log into the server we need to have Remote Desktop Licensing (RD Licensing), which manages the Remote Desktop Services client access licenses (RDS CALs) for users to connect to a Remote Desktop Session Host (RD Session Host) server.
In this blog post we will discuss on Installing and Configuring a Remote Desktop License Server (RDS CALs) on Windows server 2022. We can also use same steps if we have windows 2016 or 2019. The steps are almost identical on each windows server editions. There is no noticeable changes in the Steps we follow for any of these Windows Server Editions.
If we enable RDS CALs, each user and device that connects to a Remote Desktop Session host needs a client access license (CAL). The RDS CALs is installed as a server Manager Role. There is a default licensing applied on installation and activation with a grace period of 180 Days during which no purchased RDS CAL license needed. After that we need to choose either of below Licencing model and need to Purchase it from the Microsoft store or from a vendor.
I - RDS CAL Licence Purchase
To buy Windows RDS CALs, you can follow these steps:
in this documentation I will use RDS Per User CALs for my setup.
II - Installing the Server Roles
We can install Remote Desktop Licensing Role using Server Manager
Click “Next” in the Before You Begin Section.
Select “Role based or Feature based Installation” and Click Next.
Choose option “Select a server from the server pool”.
Choose Our server from the Server pool and Click Next.
Scroll down and select “Remote Desktop Services” then click Next
Click Next by Leaving Default Selection in Features Section.
Click Next on Remote Desktop Services Section.
Select the “Remote Desktop Licensing” and “Remote Desktop Session Host”.
A Pop Up Window Will Appear. Click Add Features for Each of them
Click Next and Select the “Restart the destination server automatically if required” then click Install
The server will reboot automatically during install process and finally we will get below screen when the installation succeeded. Once finished click Close.
This concluded Installation of Remote Desktop Licensing Role Using Server Manager.
III - Activating the RDS License Server
Now lets Proceed with Activate Licensing Server. For that we need to launch the Remote Desktop Licensing Manager. We can launch the installed “Remote Desktop Licensing Manager” from below windows server section.
Go to Windows Start >> Control Panel >> System and Security >> Administrative Tools >> Remote Desktop Services >> Double click “Remote Desktop Licensing Manager”
A pop-up window will appear and that is the “RD Licencing Manager”. Expand the Server section by clicking the plus icon.
Right click our server name then click Activate Server
Click Next on Welcome to the Activate Server Wizard.
Choose the “Connection Method” as “Automatic connection” and click Next
Enter our Company Information and click Next
[Optional] Enter additional information and click Next
Or Leave it as Blank in the Optional Information fields and Click Next
This Completes the Activate RDS License Server steps. Now Lets Proceed with the Install RDS Licence section.
IV - Installing RDS CALs
领英推荐
In the Activate Server Wizard itself, Check the box to “Start Install Licenses Wizard now then click Next”
Accidentally If we didn’t clicked the “start Install Licenses Wizard” in the previous step, we can access the Install RDS CAL Licence wizard by right clicking our “server name” in the “RD Licensing Manager” then click “Install Licenses”
Click Next on Welcome to the Install Licenses Wizard.
Now In this section we need to Pick the type of license Program that we use. There are few Options available, in that we are discussing two Licence Program methods. Those two are the most commonly used Ones. We only Need to Choose either of them as per our Personal choice and Licence Type we are currently holding.
In my case i Choose Licence program as “Licence Pack (Retail Purchase)” and Click Next
Enter the Licence Code and Click Next.
Click Finish to complete the RDS license install.
V - Review RDS CAL Licence Install
Right click our “server name” in the “RD Licensing Manager” then click “Review Configuration”
In Our case we got two yellow warning. This happened because we enabled RDS User CAL on a ADDS Environment. If you don’t have any Warnings, you are good to Go further. Lets see How to Fix this warning before Proceed further.
So here is after clicking on both “Add to Group” and “Register as SCP” buttons.
Again, Right click our “server name” in the “RD Licensing Manager” then click “Review Configuration”. This time we can see no warnings appears and our RDS CAL Licence Install is successful.
We can also see The New license key we just added from the “Licence manager” itself and a green tick appears next to our Windows server name.
VI - Diagnose Remote Desktop Licence
Use the “Remote Desktop License Diagnoser” for checking any issues with the RDS CAL Licence Server.
For that Go to : Windows Start >> Control Panel >> System and Security >> Administrative Tools >> Remote Desktop Services >> Double click “Remote Desktop Licensing Diagnoser”
In Our case we go below warnings.
Normally this error will get on RD Licence server, when we haven’t configured the correct group policy for Licencing Server. So lets see how it can be done.
VII - Enable Group Policies for RDS licensing Server.
For settings up Group Policy in a RDS Licence server, Open Windows RUN, and enter gpedit.msc, click Ok
Go to section :
Local computer Policy\Computer Configuration\Administrative Templates\Windows Components\Remote DesktopServices\Remote Desktop Session Host\Licensing
Now Double click on “Set the Remote Desktop licensing mode” >> click enable, then select “Per User” or “Per Device” as per your Licence and Apply.
Now restart Remote Desktop Licensing service from the Windows services section then click the Refresh button available in the right side from the RD Licensing Diagnoser :
We can see the diagnoser showed the message as ”RD Licensing Diagnoser did not identify any licensing problems for the Remote Desktop Session Host server".
Additional information like, Licence mode and Number of Licenses will also appear in the same window.
This will conclude the Group Policy for RDS licensing Server and RDS CAL Server is ready to Use for Users.
Thanks
Aymen EL JAZIRI
System Administrator