Hello Anna Ba,
Thank you for posting on the Microsoft Community Forum.
Based on the error message you provided, it seems that there might be an issue with the Remote Desktop Licensing server. This error message usually occurs when the Remote Desktop Licensing server is not available or there are no Remote Desktop Client Access Licenses (CALs) available.
To resolve this issue, you can try the following steps:
- Check if the Remote Desktop Licensing server is available and running.
- Check if the Remote Desktop CALs are installed and available on the Remote Desktop Licensing server.
- If the Remote Desktop Licensing server is not available, you can try the following steps to check its availability.
Step 1: Depending on whether you want to configure Group Policy centrally from your domain or locally on each session host:
- Open the Group Policy Management Console (GPMC) and create or edit a policy that targets your session hosts.
- Open the Local Group Policy Editor on the session host.
Step 2: Go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing.
Step 3: In the policy list, right-click Use the specified Remote Desktop license servers, and then select Properties.
Step 4: Select Enabled, and then enter the name of the license server under License servers to use. If you have more than one license server, use commas to separate their names.
Step 5: Select OK.
Step 6: In the policy list, right-click Set the Remote Desktop licensing mode, and then select Properties.
Step 7: Select Enabled.
Step 8: Under Specify the licensing mode for the Remote Desktop Session Host server, select Per Device or Per User, as appropriate for your deployment.
After configuration, please check the registry.
(1) Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
LicensingMode, the value 4 for per user cal,the value 2 for per device cal
(2) Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licensing Core
LicensingMode the value 4 for per user cal,the value 2 for per device cal
(3) Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TermService\Parameters\LicenseServers ,
add string value: SpecifiedLicenseServers , value data is the FQDN OR IP address of license server
(4) Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsNT\Terminal Services,
Add string value LicenseServers to specify a License Server, value data is the FQDN OR IP address of license server
You can also refer to the following link.
License Remote Desktop session hosts | Microsoft Learn
- If the Remote Desktop CALs are not available, you can try installing them on the Remote Desktop Licensing server or contacting your network administrator for assistance.
Hope this helps! Let me know if you have any other questions.
Kind regards
Bblythe Xiao