The remote session was disconnected License Servers
A user said that he was facing the problem of “The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license” when using Windows Server 2012. The problem made him unable to use the Remote Desktop anymore.
When connecting to a remote session in Windows Server 2012, 2016, 2019, you may encounter the remote session was disconnected no License Servers to provide a license problem. The following shows you the causes and solutions to this problem.
Reasons for no Remote Desktop Licenses Servers available
- The Remote Desktop Server does not authorize the Remote Desktop to configure the Remote Desktop Licensing.
- The system-default Registry Editor only allows a 120-day GracePeriod.
- The licensing model and server name are not configured using Group Policy.
Solutions to no Remote Desktop Licenses Servers available
If there’s no Remote Desktop License Server available, you can open RD Licensing Diagnoser on Windows Server 2012, 2016, 2019 to check whether there is a problem with the Remote Desktop licensing configuration.
How to open RD Licensing Diagnoser?
Navigate here: Control Panel > System and Security > Administrative tools > Remote Desktop Services > Remote Desktop Licensing Manager. If it is a Remote Desktop licensing or deadline problem, it will be displayed after the diagnosis by RD.
If the problem lies in licensing, then you need to reconfigure the RD licensing service. If the problem lies in the deadline, then you need to modify the time limit of the Registry Editor.
Configure the Remote Desktop Licensing
If the problem lies in licensing, then you need to reconfigure the Remote Desktop Licensing.
Step 1. Open the Server Manager, right-click Add Roles and Features in the Manage.
Step 2. Click Roles Services, choose to install the Remote Desktop Licensing, and fill in your personal information after the installation is complete.
Step 3. After installing the Remote Desktop Licensing, return to the Administrative tools, select the management tool, Remote Desktop Services.
Step 4. Open Remote Desktop Licensing Manager.
Step 5. Right-click the Server and select Activate Server.
Step 6. Click Next in the Activate Server Wizard to complete the installation of licensing. Then you have troubleshot the licensing problem.
Modify the deadline of the Registry Editor
Note: The following methods can only be used when you use RDS Server 2016 in a test environment. If you want to use RDS Server in a production environment, please continue to purchase RD CAL.
If the licensing configuration seems to be correct and the RD Licensing Diagnoser does not find any errors, it may be that the deadline of the Registry Editor has been limited. Before modifying the Registry, back it up in advance to prevent unrecoverable situations.
Step 1. Press WIN + R, and enter “regedit” to open the Registry Editor.
Step 2. Navigate here: HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Terminal Server > RCM > Licensing Core > GracePeriod. Then right-click it.
Step 3. In the Permission for GracePeriod window, select Administrator, tick Full control, and then click OK.
Step 4. After allowing Full Control for Administrators, right-click GracePeriod, click Delete, and click Yes on the Confirm Key Delete page. Then restart the system to make the registry take effect.
Use Group Policy to configure the licensing model and server name
Step 1. Press WIN + R, and enter “gpedit.msc” to open the Local Group Policy Editor. On the left pane, navigate here: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services.
Step 2. Find Remote Desktop Session Host and open it.
Step 3. On the right pane, find Licensing and open it.
Step 4. Find Use the specified Remote Desktop license servers and double-click to open it.
Step 5. Switch Not configured to Enabled, enter the corresponding server name in the License servers to use, and click OK to complete the configuration.
When you encounter the remote session was disconnected License Servers problem using Windows Server 2012, 2016, 2019, the above-mentioned methods can help you solve it. When using the built-in Windows program Remote Desktop Connection, you should avoid problems such as license agreement errors, which may lead to serious consequences of server failure.
Realize remote control quickly and safely
Thus, we need a simple and fast method to avoid problems like the remote session was disconnected License Servers. At this time, we can choose a third-party remote control software, such as AnyViewer. It is perfectly compatible with multiple Windows versions, including Windows Server 2012, 2016, 2019.
Let’s take a look at its operation steps. First, download AnyViewer on both the client computer and the host computer.
Set up AnyViewer
Step 1. Install and run AnyViewer on both computers.
Step 2. On the host computer, click on Setting and then Recipient. Tick the third option. Then set the security code you want in the box. Then click OK to finish the set-up process.
Remote control over AnyViewer
You’ve already configured it for remote access. On the client computer, enter the device ID of the host computer. After entering the device ID, you’ll be given two options:
Option 1: You can send a control request; then the host computer will receive a pop-up request. People sitting in front of the host computer could either allow it or deny it.
Option 2: You could also input a security code of your home PC to achieve remote connection directly. You can either input a permanent security code or a temporary security code.
A permanent security code is set by you in advance. A temporary security code is automatically generated and will change every time. Both security codes allow you to establish a connection directly.
This article shows you three possible reasons why you encounter the problem of “The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license” when using Windows Server 2012, 2016, 2019. You can solve the problem by configuring Remote Desktop Licensing, modifying the deadline of the Registry Editor, or using the Group Policy to configure the license mode and server name, or you can directly use AnyViewer to realize remote control quickly and safely.
For the three solutions listed above, some operations may be troublesome for you and require a certain degree of computer operation ability, because improper operations may cause other problems. And users also reflected that they often encounter problems like your credential did not work, user account did not work, and clipboard did not work when using RDP, making it more difficult to use it. Compared to those solutions, AnyViewer is easy to operate. It allows you to work freely anytime and anywhere, saving you time and improving your work efficiency.