For both Per Device and Per User CALs issuance to work, the RD Session Host and RD Licensing server in any one of the following three configurations:
- Both in the same workgroup
- Both in the same domain
- Both in the trusted (Two-way trust) Active Directory Domains or Forest
Firewall Ports Required
- Ports: ICMP, TCP 135, TCP 139, TCP 445, UDP 137-138, TCP 49152 - 65535
Install and Configure TS License Role (dedicated server)
1
2
add-windowsfeature RDS-Licensing
add-windowsfeature RDS-Licensing-UI
Activate Licensing server
- Select Tools –> Remote Desktop Services –> Remote Desktop Licensing Manager–> Server –> Activate Server
- Select “ Automatic Connection “ Connection Method. ( May need to change to different method if activation fails)
- Complete the Installation “DO NOT START INSTALL LICENSES WIZARD” now
- Right Click on Server and select “Review Configurations”
- Make sure both option are green ( if not change scope to Domain)
Install Licenses
- From Remote Desktop Licensing Manager , Right Click on the Server and Select “ Install Licenses”
- Select Licensing Program and Number of CALs and Complete the wizard
Configure RD Session Host server
- This is the server which require more than 2 concurrent user logins
1 2 3
add-windowsfeature RDS-Connection-Broker add-windowsfeature RDS-RD-Server add-windowsfeature RSAT-RDS-Licensing-diagnosis-ui
- Reboot the server.
Configure License server
1
2
3
4
5
6
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.ChangeMode(4)
$obj.SetSpecifiedLicenseServerList("SSALS001.argon.local")
# Mode 4 is Per User License and Mode 2 is per device License
# Verify Changes
$obj.GetSpecifiedLicenseServerList()