远程桌面报错解决:No Remote Desktop License Servers Available

摘 要

用户发来反馈,使用部门Windows跳板机报错:The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.Please contact the server administrator,最后发现是微软RDP远程桌面套件的一个BUG,可经过安装微软补丁或修改注册表来解决,本文简单记录分享下解决过程…windows

 

做为一名 Linux 系统运维攻城狮,因为有过 Windows 桌面运维历史背景,部门在用的几台 Windows Server 跳板机理所固然的成了个人“副业”。服务器

上次用户吐槽只能同时远程登陆 2 个账号,很不爽。因而就把系统重装成了 2012R2,而且安装了 Remote Desktop 套件,并在微软激活了“远程桌面服务客户端访问许可证”,支持多人在线,倒也受到兄弟部门的一致好评。session

昨天,用户又来吐槽了,说远程桌面不可用,链接以下报错:运维

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

远程桌面报错解决:No Remote Desktop License Servers Available

如果中文系统,则报错以下:测试

因为没有远程桌面受权服务器能够提供许可证,远程会话被中断。请跟服务器管理员联系。3d

远程桌面报错解决:No Remote Desktop License Servers Available因而,使用 Administrator 账号测试了一把,发现管理员也报这个错误!server

这里分享一个小技巧:此时管理员也没法远程了,可使用 以下命令强制远程链接:blog

mstsc /admin教程

在国外博客论坛搜了很多资料,终于搞定了!

搜报错信息前半句关键词,网上给出的方法都是要删除以下注册表键值:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing

删除后,发现没什么 Luan 用,报错依旧。

因而把搜索关键词换成了:

No Remote Desktop License Servers Available

点开了一篇教程(原文地址),发现是删除另外一个键值:

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

按照文章说的,先设置下注册表键值写权限:远程桌面报错解决:No Remote Desktop License Servers Available

不设置是没法删除的:远程桌面报错解决:No Remote Desktop License Servers Available

按照文章描述直接设置也是不行的:远程桌面报错解决:No Remote Desktop License Servers Available

根据我以前作桌面运维时积累的经验,得先如图修改键值的全部者为 Administrator:
远程桌面报错解决:No Remote Desktop License Servers Available

确认后,再添加“彻底控制权限”便可:

远程桌面报错解决:No Remote Desktop License Servers Available

加完权限后,便可删除成功:

远程桌面报错解决:No Remote Desktop License Servers Available

重启系统后,远程登陆就正常了!

在写这篇文章的时候,顺手又搜了下关键词,从下面这篇文章的评论中:

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

得知微软已经发布过修复补丁了:

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

不过手头如今没有环境测试,等下次另外 2 台出问题的时候,再尝试一下。

相关文章
相关标签/搜索