Win10 remote desktop connection Windows server 2012R2 error resolution method

I have been troubled by an error recently. remote desktop conntion a server2012 R2, the prompt is as shown below, The remote session was disconnected because there was an internal error in the remote computer's licensing protocal.
Win10 remote desktop connection Windows server 2012R2 error resolution method

I searched a lot of cases on the Internet,

Most of them are deleting the key value of the license in the registry of the client. I tried it to no avail. Later, I found Microsoft's sales technical support. Here is my method.
The main thing is to re-install the certificate in the RD license manager, but you need to enter the 7-digit agreement number when installing, which will be sent to you when your company purchases the license. This will take effect. We actually only bought 2 user licenses, but I don't know why the problem is solved now. You can log in to multiple users. Before, one user could not log in. In fact, when you check the certificate, it shows that it has expired. Just reissue.
Win10 remote desktop connection Windows server 2012R2 error resolution methodWin10 remote desktop connection Windows server 2012R2 error resolution method



The case is shared as follows. In order to prevent the link from disappearing in the future, the article inside is copied. If there is any infringement, please contact me to delete it, and only share the technology.
https://www.cnblogs.com/taomylife/p/10540894.html

As a Linux system operation and maintenance siege lion, due to the historical background of Windows desktop operation and maintenance, the springboard mechanism of several Windows Servers in use by the department naturally became my "side business".

Last time the user Tucao could only log in to 2 accounts remotely at the same time, which was very upsetting. So I reinstalled the system to 2012R2, installed the Remote Desktop suite, and activated the "Remote Desktop Service Client Access License" in Microsoft to support multi-person online, which was also highly praised by brother departments.

Yesterday, the user complained again, saying that the remote desktop is not available, and the connection error is reported as follows:

The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.Please contact the server administrator...

Remote Desktop Error Resolution: No Remote Desktop License Servers Available

If it is a Chinese system, the error is as follows:

Because there is no remote desktop authorization server to provide a license, the remote session is interrupted. Please contact the server administrator.

Remote desktop error resolution: No Remote Desktop License Servers Available So, I tested it with the Administrator account and found that the administrator also reported this error!

Here is a little trick: At this time, the administrator can't remotely connect. You can use the following command to force a remote connection:

mstsc /admin

I searched a lot of information in foreign blog forums and finally got it!

Search for keywords in the first half of the error message. The methods given on the Internet are to delete the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing

After deleting, it was found that there was no use for Luan, and the error was still reported.

So replaced the search keywords with:

No Remote Desktop License Servers Available

I clicked on a tutorial (original address) and found that it was deleting another key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod

According to the article, first set the registry key write permissions: Remote Desktop error resolution: No Remote Desktop License Servers Available

Cannot be deleted without setting: Remote Desktop error resolution: No Remote Desktop License Servers Available

Directly setting according to the article description is not enough: Remote Desktop error resolution: No Remote Desktop License Servers Available

According to my previous experience in desktop operation and maintenance, I must first modify the owner of the key value as shown in the figure to Administrator:
Remote Desktop Error Resolution: No Remote Desktop License Servers Available

After confirming, add "full control permission" again:

Remote Desktop Error Resolution: No Remote Desktop License Servers Available

After adding permissions, you can delete successfully:

Remote Desktop Error Resolution: No Remote Desktop License Servers Available

After restarting the system, remote login is normal!

When writing this article, I searched for keywords again, from the comments of this article below:

http://kwsupport.com/2014/03/windows-2012-no-remote-desktop-license-servers-available/

Learned that Microsoft has released a fix:

https://support.microsoft.com/kb/2916846

However, there is no environmental test at hand, and I will try again when the other two have problems next time.

Guess you like

Origin blog.51cto.com/jlsgs/2555634