Install RDS CALs On Windows Server

In this web log post we will discuss on Installing and Configuring a Remote Desktop License Server (RDS CALs) on Windows server 2019. We can besides use same steps if we have windows 2016 or 2012. The steps are about identical on each windows server editions. There is no detectable changes in the Steps we follow for any of these Windows Server Editions .

Applies To

  • Windows server 2019
  • Windows Server 2016
  • Windows Server 2012

By default only two concurrent active rdp sessions are allowed on a windows server editions like 2012,2016 or 2019. If we need more than two users simultaneously log into the server we need to have Remote Desktop Licensing (RD Licensing), formerly Terminal Services Licensing (TS 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 .
If we enable RDS CALs, each drug user and device that connects to a Remote Desktop Session host needs a customer access license ( CAL ). The RDS CALs is installed as a server Manager Role. There is a default licensing applied on initiation and activation with a deck menstruation of 180 Days during which no purchased RDS CAL license needed. After that we need to choose either of below Licencing mannequin and indigence to Purchase it from the Microsoft store or from a seller .
RDS Per Device CALs    :     RDS CALs are physically assigned to each device.
RDS Per User CALs        :     RDS CALs are assigned to a user with or without Active Directory.

RDS CAL Version Compatibility

We can ’ metric ton use RDS CALs of a Windows server 2012 to access late versions of Windows Server 2016 or 2019, but we can use by and by versions of RDS CALs to access earlier versions of Windows Server editions .

RDS CAL Licence Purchase

Before proceeding with the install first we have RDS CAL Licence in bridge player. There are two methods available for RDS CAL Licence implementation .

  1. Purchase the Microsoft Windows client access Licence ( Remote Desktop service- User/Device CAL) from Microsoft store. After purchase we will get a product licence key and this Key is used during installation of services in the server.
  2. Use The Microsoft Services Provider License Agreement (SPLA) SALs. With the SPLA, service providers and ISVs can license eligible Microsoft products on a monthly basis. This Licence structure is mainly used on a VPS/Dedicated environment Provided by a Hosting Provider. For that we have to pay a monthly fee to the Hosting Provider.

Windows Server 2019 Users Only

If we are I mplementing “RDS User CAL” in a Windows Server 2019 servers, Setup either of under things before Proceed with the Install of Remote Desktop Service .

  1.  Add the new RDS CAL server to the Terminal Server License Servers domain group of existing Active Directory Domain
  2.  Install Active Directory Services ( ADDS) in the RDS CAL server.

early fresh we will get error like below screenshot while users logging in and stays for 60 Min .
There is a problem with your Remote Desktop license, and your session will be disconnected in 60 minutes. Contact your system administrator to fix this problem.
rds user cal
The Requirement besides Described in Microsoft Page, Below is the especial section screenshot where it mention .
rds cal user1
We only need to Activate Active Directory Services ( ADDS ) if we settings up a RDS User CAL on Windows Server 2019. not necessary for RDS Device CAL implementation on a Windows server 2019. So lease grow started .

Installing the Server Roles

We can install Remote Desktop Licensing Role using Server Manager
unfold “ Server Manager ” > > Click “ Add Roles and Features ”
rds cal1
Click “ Next ” in the Before You Begin Section .
rds cal2
Select “ Role based or Feature based Installation ” and Click Next .
rds cal3
Choose option “ Select a waiter from the server pool ”. Choose Our server from the Server pool and Click Next .
rds cal4
Scroll down and choice “ Remote Desktop Services ” then click Next
rds cal5
Click Next by Leaving Default Selection in Features Section .
rds cal6
Click Next on Remote Desktop Services section .
rds cal7
Select the “ Remote Desktop Licensing ” and “ Remote Desktop Session Host ”
rds cal8
A Pop Up Window Will Appear. Click Add Features for Each of them
rds cal9
rds cal10
Click Next and Select the “ Restart the destination waiter automatically if required ” then click Install
rds cal11
The server will reboot automatically during install work and ultimately we will get below screen door when the facility succeeded. once finished click Close .
rds cal12
This concluded Installation of Remote Desktop Licensing Role Using Server Manager .

Install the Server Roles Using Powershell Command

We can besides install the the RDS Licensing service and “ Remote Desktop Licensing ” and “ Remote Desktop Session Host ” using PowerShell Commands alternatively of Using above graphic Server Manager method. Below is that three commands we need to use .

Copy to Clipboard

If needed ( and possible ), restart the server using Below PowerShell command after the server role install .

Copy to Clipboard

After the server boot. We can Check if the “ Remote Desktop Session Host ”, RDS Licensing serve and “ Remote Desktop Licensing ” is available using Below Powershell command .

Copy to Clipboard

The command Output can view from below screenshot. You will besides get similar results when issues those commands .
rds cal13

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 install “ Remote Desktop Licensing Manager ” from below windows server section .
Go to Windows Start > > Control Panel > > System and Security > > Administrative Tools > > Remote Desktop Services > > Double snap “ Remote Desktop Licensing Manager ”
rds cal14
A pop-up book window will appear and that is the “ RD Licencing Manager ”. Expand the Server section by clicking the plus picture .
rds cal15 Right cluck our server list then chatter Activate Server
rds cal16
Click Next on Welcome to the Activate Server Wizard .
rds cal17
Choose the “ Connection Method ” as “ Automatic joining ” and cluck Next
rds cal18
Enter our company Information and click Next
rds cal19
[ Optional ] Enter extra data and pawl Next
Or Leave it as Blank in the Optional Information fields and Click Next
rds cal20
This Completes the Activate RDS License Server steps. nowadays Lets Proceed with the Install RDS Licence section.

Installing RDS CALs

In the Activate Server Wizard itself, Check the corner to “ Start Install Licenses Wizard immediately then click Next ”
rds cal21
unintentionally If we didn ’ t clicked the “ starting signal Install Licenses Wizard ” in the previous mistreat, we can access the Install RDS CAL Licence ace by right clicking our “ server mention ” in the “ RD Licensing Manager ” then click “ Install Licenses ”
rds cal22
Click Next on Welcome to the Install Licenses Wizard .
rds cal23
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 normally use Ones. We only Need to Choose either of them as per our personal choice and Licence Type we are presently holding .

  1. Choose Licence program as “Licence Pack (Retail Purchase)”, if we purchased RDS Licence directly from Microsoft.
  2. Choose Licence program as ” Service Provider License Agreement” if you are in a VPS/Dedicated servers provided by a Hosting Provider and they already have a data centor Licence and our VPS Operating System licence comes under it.

If we Choose Licence program as “Licence Pack (Retail Purchase)” and Click Next

rds cal24
Enter the Licence Code and Click Next .
rds cal25

If we Choose Licence program as ” Service Provider License Agreement” and Click Next.

rds cal26
Enter Our Licence Agreement Number and Click Next .
rds cal27

  • Now Select “product version” as per your Windows Operating System Edition. In our case It Windows Server 2019
  • Select Licence Type as ” RDS Per User CAL” or “RDS Per Device CAL” According to the Licence type given by our Provider. In our case we choose “RDS Per User CAL”
  • Choose the Quantity as per our requirement. Say if you need to have 5 users simultaneously log into the server. Type 5 and Click Next

rds cal28
Click Finish to complete the RDS license install .
rds cal29

Review RDS CAL Licence Install

correct click our “ server appoint ” in the “ RD Licensing Manager ” then click “ Review Configuration ”
rds cal30
In Our character we got two yellow warn. This happened because we enabled RDS User CAL on a ADDS Environment. If you don ’ t have any Warnings, you are dear to Go foster. Lets see How to Fix this warn before Proceed further .

  • Click the “Add to Group” next to ” The Licence server or the network service account is not a member of the Terminal Server Licence Servers group In Active Directory Domain Services. This Licence server 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 this Licence Server.
  • Click “Register as SCP” next to This licence server is not registered as a service connection point (SCP) in Active Directory Domain Services. The licence server will not appear in the list of known licence servers in the Remote Desktop Secession Host Server Configuration tool.

rds cal31
now we can see the message as You must restart the Remote Desktop Licensing service. Until the service is restarted this Licence server will not able able to issues RDS Per drug user CALs to users in the world, and you will not able able to track or report the custom of RDS Per User CALs on this license server .
In decree to fix this warn. Go to the windows services section and restart the windows service named ” Remote Desktop Licensing service ” and Click Ok .
rds cal32
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 .
rds cal33
We can besides see The New license keystone we good added from the “ Licence coach ” itself and a k tick appears future to our Windows server name .
rds cal34

How To 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 pawl “ Remote Desktop Licensing Diagnoser ”
rds cal35
In Our case we go below warnings .

  • Licenses are not available for this Remote Desktop Session Host server, and RD Licensing Diagnoser has identified licensing problems for the RD Session Host server.
  • The licensing mode for the Remote Desktop Session Host Server is not configured.
  • The Remote Desktop Session Host server is within its grace period, but the RD session Host server has not been configured with any licence server.

rds cal36
normally this error will get on RD Licence server, when we haven ’ thymine configured the right group policy for Licencing Server. So lets see how it can be done .

Enable Group Policy for RDS licensing Server.

For settings up Group Policy in a RDS Licence server, Open Windows RUN, and record gpedit.msc, chink Ok
Go to section Local computer Policy > > Computer Configuration\Administrative Templates\Windows Components\Remote DesktopServices\Remote Desktop Session Host\Licensing

  • Double click on “Use the specified RD license servers” >> click Enable, then Enter Our server name shows up in the Remote Desktop Licence Manager and click on Apply

rds cal37
now Double snap on “ Set the Remote Desktop license manner ” > > snap enable, then choose “ Per User ” or “ Per Device ” as per your license and Apply
rds cal38
now restart Remote Desktop Licensing service from the Windows services part and click the Refresh release available in the correctly side from the RD Licensing Diagnoser. We can see the diagnoser showed the message as ” RD Licensing Diagnoser did not identify any license problems for the Remote Desktop Session Host server. extra information like, Licence mode and Number of Licenses will besides appear in the lapp window. rds cal39
This will conclude the Group Policy for RDS license Server and RDS CAL Server is fix to Use for Users .

How to Rebuild the RDS Licence

Some times we may come across situation like, we need to add more users to the RDS CAL User type Licence, Need to Change the User type CAL into Device CAL or The Installed Licence has become corrupted. In such cases, we can correct those issues by rebuilding the current RDS Licence .
For that Right click our “ server name ” in the “ RD Licensing Manager ” then click “ Manage Licenses ”
rds cal40
Click Next on the Welcome to the Manage licenses Wizard .
rds cal41
Choose the choice “ Rebuild the license server database ” and select the reason as ” The certificate for the license server has become corrupt ”. Click Next
rds cal42
Confirm the deletion of licenses presently installed on this license server and pawl Next
rds cal43
This will delete the current Licence installed in the server and will prompt the Licence install mistreat again. Complete those and finalise the rebuild. This completes the Rebuild and Install of New RDS CAL Licence in the waiter .

How to Remove RDS CALs from a RD License Server

Some times we want to transfer our RDS CAL license put from one Remote Desktop license server to another, in such cases we can remove install CAL licenses pack from the stream license waiter using two methods .

  1. Using PowerShell commands.

Use the pursuit cmdlet, and list all the install RDS CAL packages on the server .

Copy to Clipboard

Find the KeyPackID value for the RDS CAL box that you want to remove and run the command. We can get the KeyPackID prize from the Remote Desktop Licence Manager Itself .

Copy to Clipboard

rds cal44
         2.  By Removing the RDS CAL database file.
To do this, stop the Remote Desktop Licensing avail from the Windows Services section

Rename the file C:\Windows\System32\lserver\TLSLic.edb to C:\Windows\System32\lserver\TLSLic.edb_bak and start the “ distant background service ” again. That will delete all the RDS CAL licenses in the server and we need to reactivate them for further custom .
This web log article covered most of the common options in the RDS CAL server. We hope this become instructive for those having like needs. Leave your thoughts at the under remark box .

Share This Story, Choose Your Platform!

source :
Category : Tech

About admin

I am the owner of the website, my purpose is to bring all the most useful information to users.

Check Also


Manage participants in a zoom meeting webinar

Call the people who attend the meet as follows Alternate host host Who scheduled the …

Leave a Reply

Your email address will not be published.