Network Windows Windows Server

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

RemoteDesktopLinceseServer

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.

image-194
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

image-195
Entering RD Licensing Diagnoser Page

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

image-197
RD Licensing Diagnoser Page

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

image-198
Entering RD Licensing Manager

Right-click the server and select Install Licenses

image-199
Installing the License

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

image-200
Select your License program

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

image-201
License Program

Add the License key and click next

image-202
Adding License Key

After the License is successfully installed click on Finish.

image-203
License installed successfully

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

image-204
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.

image-205
Terminal Server License Group Error

Click Add to Group and Continue

image-206
Adding to Group

Enter the Domain user name and password and click Ok

image-207
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.

image-208
License server added successfully

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

image-209
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.

image-210
RD License Diagnoser

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

image-214
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.

image-213
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.

image-212
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.

image-215
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.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x