On Windows Server 2019, more than two concurrent RDP connections require Remote Desktop Session Host (RDSH) plus a properly configured Remote Desktop Licensing server with valid RDS CALs. The two-connection limit is the default “Remote Desktop for Administration” mode; simply raising the connection limit in Group Policy does not bypass licensing.
To allow more than two concurrent sessions during the grace period and after CALs are installed, verify these items:
- Verify the grace period and licensing configuration
- Check the current grace period:
- Command Prompt:
wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !="") CALL GetGracePeriodDays - Or PowerShell:
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting $obj.GetGracePeriodDays()
- Command Prompt:
- Verify which license servers and licensing mode the RDSH sees:
If no license server or wrong mode is configured, the server may still enforce the two-session behavior.$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting $obj.GetSpecifiedLicenseServerList() $obj.LicensingType
- Configure the RD Session Host to use the RD Licensing server and mode
If the deployment consists of only RD Session Host and RD Licensing roles, configure licensing via Group Policy (domain GPO or local policy on the server):
- Open gpedit.msc (or GPMC for a domain GPO) on the session host.
- Navigate to: Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Licensing.
- Configure the license server:
- Open Use the specified Remote Desktop license servers.
- Set to Enabled.
- Enter the RD Licensing server name(s) in License servers to use.
- Configure the licensing mode:
- Open Set the Remote Desktop licensing mode.
- Set to Enabled.
- Choose Per Device or Per User according to the intended CAL type.
- Apply the policy and run
gpupdate /force, or restart the server. - Ensure the licensing registry values are correct (if using direct registry configuration)
On the RDSH, confirm the licensing mode and license server list in the registry:
- Licensing mode (Per User = 4):
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licensing Core" /v LicensingMode /t REG_DWORD /d 4 - Specified license servers:
reg add "HKLM\SYSTEM\CurrentControlSet\Services\TermService\Parameters\LicenseServers" /v SpecifiedLicenseServers /t REG_MULTI_SZ /d "<FQDN / IP License server>" - Restart the server after changing these values.
- Verify connectivity between RDSH and RD Licensing server
If the RD Session Host cannot contact the RD Licensing server, licensing will fail and connections can be blocked even during or after the grace period.
- Test RPC port 135 connectivity from the RDSH to the license server:
telnet <FQDN / IP License Server> 135 - Ensure required RDS ports are open on any firewalls between the RDSH and the licensing server.
- Confirm CALs and roles
- Ensure the RD Licensing server is installed, activated, and has RDS CALs installed.
- If the RD Session Host role was added only for testing and more than two concurrent users are not required, removing the RD Session Host role will revert to the default two administrative connections:
(Use with caution; this removes the RDSH role.)dism /ONLINE /Disable-feature /FeatureName:Remote-Desktop-Services
If all of the above are correctly configured and the grace period is still active, the server should allow more than two concurrent RDS sessions. Once the grace period expires, valid RDS CALs on the licensing server are required.
References:
- Remote Desktop license server isn't available when you connect to an Azure VM
- RDS Licensing troubleshooting guidance
- Remote Desktop licensing mode is not configured warning when you connect to an RD Session Host
- Cannot connect to RDS because no RD Licensing servers are available
- License Remote Desktop session hosts
- Policy CSP - ADMX_TerminalServer