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
There are three 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. First, you need to know how to open RD Licensing Diagnoser.
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.
Method 1. 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.
Method 2. Modify the deadline of the Registry Editor
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.
Option 3. 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 R2, 2016, 2019, 2022, 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.
AnyViewer: Best RDP alternative for Windows Server computers
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 R2, 2016, 2019, 2022. Why it is the best RDP alternative for Windows Server computers?
- It is easy to set up. You only need two steps to prepare your AnyViewer for remote control, signing up for it and logging into it. No more tedious setup process anymore.
- It provides you with the easiest way to establish unattended remote access to remote computers.
- It is developed by a strong technical team, providing you with a stable and fast connection.
- It is secured by Elliptic Curve Cryptography (ECC) encryption, protecting your data from leakage during a remote connection.
Step 1. Download, install and launch AnyViewer on both computers.
Step 2. Go to Log in, and then click Sign up. (If you already have signed up on its official website, you can log in directly.)
Step 3. Fill in the signup information.
Step 4. Then you can see you successfully logged in to AnyViewer. Your device will automatically be assigned to the account you've logged in to.
Step 5. Log in to the same AnyViewer account on the two devices, then click Remote control to achieve unattended remote access.
- You can also upgrade your account to a Professional or Enterprise plan to enjoy more rights:
- Faster file transfer speed. Transfer speed for a free account is 500 KB/s, and for a paid account is up to 10 MB/s.
- More devices can be assigned to the same account for unattended remote access.
- More Currently connected devices are displayed for connection history.
- Connect in privacy mode to protect privacy.
- Initial more concurrent connections to one computer.
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.