Network Windows Windows Server

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


Remote connection issue is not a new problem for someone who connects regularly to an office network or to a site network. Some of these issues are simply caused as a result of hitches on the network, wrong network configuration, or system issues. But in this guide, I will be discussing on remote connection issue caused as a result of the license. This article shows you the steps on how to fix this issue “The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license”. Please see how to setup and configure Remote Desktop Services via Standard Deployment on Windows Server.

Remote Desktop License is also known as Client Access Licenses (CALS), this license can be purchased from Microsoft and configured on the server with the connection issue.

These are some related guides on fixing issues on your computer How to fix the issue “The Security Database on the Server does not have a Computer Account for this Workstation Trust Relationship” on Windows Server, and how to Quickly Fix Windows Search Bar Not Working

Reason for the remote session disconnection

The image below is the error displayed when you have a connection issue as a result of the license server.

Error Message

Resolve “There are no Remote Desktop License Servers available to provide a license”

Follow the steps below to fix this issue. Open the Server Manager and click on RD Licensing Diagnoser

Entering RD Licensing Diagnoser Page

When the RD Licensing Diagnoser opens you will see the below image and see that licenses are not available.

RD Licensing Diagnoser Page

Now click on RD Licensing Manager to install the license you have purchased.

Entering RD Licensing Manager

Right-click the server and select Install Licenses

Installing the License

You need to know the type of license you purchased whether its

Select your License program

In this guide, we will be using License Pack (Retail Purchase) as our License program.

License Program

Add the License key and click next

Adding License Key

After the License is successfully installed click on Finish.

License installed successfully

Now let’s review the configuration by opening the RD Licensing Manager and selecting Review Configuration.

Reviewing Configuration

Add the License Server as a Member of the Terminal Server License

It’s possible you will have some issues like the issue of The license server is not a member of the Terminal Server License.

Terminal Server License Group Error

Click Add to Group and Continue

Adding to Group

Enter the Domain user name and password and click Ok

Entering Domain Login Details

If the domain username and password are correct. Then the license server will be added to the Terminal Server License Servers Group in Active Directory.

License server added successfully

If you refresh the RD License Manager all configurations will be fine.

RD License Manager

Fix the RD Licensing Diagnoser Error

But if you check the RD Licensing Diagnoser you might still see some errors like the below image.

RD License Diagnoser

To fix the above error, In the search button of your taskbar enter edit group policy

Edit Group Policy Screen

Click on Use the specified Remote Desktop license servers. Here are some exciting articles: What to do when your Remote Desktop Licensing Manager Server Crashed, and how to fix “Failed to create a scheduled task: There is no disconnected command associated with the runspace“.

Select Enabled and enter the License server you want to use which is the name of the physical server and click Ok.

Using the specified Remote Desktop license server

Click on Set the Remote Desktop licensing mode. Please see How to disconnect a Remote Desktop User, and RDS client access licenses: How to install a new Per User Remote Desktop Services license.

Select Enabled and Specify the licensing mode for the RD Session Host server either Per device or Per User and click Ok.

Setting the Remote Desktop Licensing mode

If you check the RD Licensing Diagnoser again the number of licenses available for clients should display and no error or warnings would display.

You can now go ahead and remote desktop to the server and the connection will be successful because the license configuration has been implemented successfully.

RD Licensing Diagnoser

I hope you found this blog post on how to fix the issue “The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license” very interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x