question

ComputerGladiator avatar image
0 Votes"
ComputerGladiator asked ComputerGladiator answered

The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license

Hello, I am probably missing something simple but cannot find the problem. I have a 2019 Standard server joined to a domain and 20 CALs. I have set the Licensing mode and configured an RDP group with members. Setup the GPO. This message occurs even when logging in as admin. I was able to connect before. Any suggestions welcome. Thanks

remote-desktop-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CarlFan-MSFT avatar image
0 Votes"
CarlFan-MSFT answered
  1. If you have RDS deployment, did you create a session collection and make your RDSH server part of the collection?

  2. In Server Manager -- RDS -- Overview -- Deployment Overview -- Tasks -- Edit Deployment Properties -- RD Licensing tab, did you set the Licensing mode and add the FQDN of your RD Licensing server?

https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/troubleshoot/rdp-error-no-licenses-available#configure-the-rd-licensing-service
3.Did you configure the licensing mode and licensing server name using group policy? For example, you could use gpedit.msc and configure the below settings:

Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Licensing

Use the specified Remote Desktop license server Enabled

Set the Remote Desktop licensing mode Enabled
If the issue still insists, please try to modify the registry about MSLicensing and GracePeriod just like in the link below.
https://windowsreport.com/remote-session-was-disconnected/
Hope this helps and please help to accept as Answer if the response is useful.
Best Regards,
Carl

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ComputerGladiator avatar image
0 Votes"
ComputerGladiator answered

Hi, creating a session collection was the solution. I am not sure why this was the solution since I have several 2019 RDP server working for a few years and each do not have Session Collection configured.
Thank you CarlFan-MSFT

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.