Error message when you log on Windows Server 2012 Server Remote Desktop: "the remote session was interrupted because no license was available for the Remote Desktop license server. Please contact the server administrator。 "You can use it now"mstsc/admin/v: Destination IP"To force the login to the server, but only for administrator status. According to some method on the Internet, remove the following key from the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing.Does not resolve the problem, and then a new error message appears, such as the second diagram: "The remote session is disconnected because access is denied causing the creation of the license store to fail." Run the Remote Desktop client with elevated privileges. "Microsoft's official explanation is (source this link http://blog.163.com/smile_big/blog/static/35710579201311982024/):
Microsoft's official explanation:
Reason:
This issue occurs because the Windows store application does not have sufficient permissions to access the MSLicensing registry key or the subkey store . Therefore, when an application connects to a remote server, the Remote Desktop ActiveX interface cannot access the registry in-process COM objects and stops the connection process.
Solution:
Warning: If you modify the registry incorrectly by using Registry Editor or other methods, serious problems may occur. These issues may require you to reinstall your operating system. Microsoft cannot guarantee that these issues will be resolved. You are responsible for modifying the registry at your own risk.
Google gets the Final solution:The solution is to delete the reg_binary in
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\rcm\graceperiod
Only leaving the default.and reboot.From http://anilgprabhu.blogspot.com/2014/05/reset-trial-terminal-license-on-windows.html If you delete the registryREG_BinaryWhen prompted:Unable to delete all specified valuesGenerally due to insufficient permissions, the following actions can be successfully resolved:
Security-Advanced-owner-edit-changed to administroter-OK;
Advanced-Permissions-Change permissions-edit-Tick at "Full Control"-OK;
Analysis: "The remote session was interrupted because no Remote Desktop licensing server can provide a license." Please contact the server administrator. ", the root cause is that the default maximum Telnet link, such as Server 2012 or Server 2008, is 2, more than this number needs to be authorized using license server, which is said to be charged, but the official gives the 120-day grace Period to configure License server. If license server is still not available after 120 days, the first error will occur. And this grace period information is recorded in the registry above, so just delete the entries in the registry (you need to modify this registry key permission owner to administrators, add Modify permission to Administrators), restart the server. It has also been mentioned that you can modify the system time for the future, then delete the registry, and then change the system time back, so that you can get a longer grace period. This method applies to server2012 and should also be applied to 2008, but 2003 has not been tested. See the official Microsoft documentation for a glance: https://technet.microsoft.com/en-us/library/cc725933.aspx of course, in addition to the opportunistic way to modify the registry, you can also deploy license Server (Server 2008) or deploying License server and Remote Desktop Gateway (server2012), 2012 compared to 2008 has a larger change, configuration is more cumbersome, Interested can refer to the following link: http://www.wackytechtips.com/installing-and-configuring-remote-desktop-services-rds-on-windows-server-2012/3/
WORKAROUND: The remote session was interrupted because no license was available for the Remote Desktop license server.