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

Computer Gladiator 446 Reputation points
2021-04-24T12:47:29.973+00:00

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

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
0 comments No comments
{count} votes

Accepted answer
  1. Carl Fan 6,881 Reputation points
    2021-04-26T07:21:44.177+00:00
    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://learn.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

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Computer Gladiator 446 Reputation points
    2021-04-28T21:38:15.663+00:00

    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

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.