询问者
RDS 相关问题

问题
-
我们安装了 Windows Server 2016 Datacenter版本,单服务器模式(没有加入任何的域,服务器本身也不是域),购买了微软的远程桌面10用户授权(按用户数来购买),且把授权安装成功。最初使用很正常,直到昨天用户登录,提示错误“与此计算机的连接数量是有限的,现在已经使用所有连接。请尝试稍后连接与系统管理员联系”
我以管理方式登录,从“任务管理”查看,发现除了我当前登录账号以外,并没有发现任何其它登录用户账号。但是用户以普通用户账号登录仍然会碰见“用户数量有限的”错误。最后我修改了组策略(gpedit.msc)“Go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.“ 数量到99999后,普通用户账号能远程登录,问题解决。
我的问题如下:
1、远程桌面授权10用户,如何理解?我的理解是允许(最多)10个用户通过远程桌面方式同时登录,就算我系统创建了20用户账号,也没有问题,只是限制同时10用户登录而已。
2、修改组策略,把连接数改成999999有没有问题?通过"RD授权管理器”, 仍然显示10用户数,我的理解只是修改组策略,并不会产生授权问题,即并不违反微软授权协议。
3、有没有什么办法可以看到,目前我使用了多少授权?通过 "RD授权管理器”, 我始终看到的是“可用 10, 已颁发 0”,就算此刻有用户登录,已颁发还是为0 ,我应该从什么地方看这台服务器已经使用了多少授权?
4、远程连接Session是否有timeout设置?我帖子最初提到的,尽管此刻没有用户登录,而普通用户也会碰见“用户数有限”的错误。不知道是不是用户以前登录的session没有释放,造成授权始终占用中,有没有什么设置让用户注销后,释放授权。
全部回复
-
您好,
>单服务器模式(没有加入任何的域,服务器本身也不是域),购买了微软的远程桌面10用户授权(按用户数来购买)
RDS CALs有两种类型,每用户CAL(Per User CALs)和每设备CAL(Per Device CALs)。在非AD域环境中(Workgroup环境),仅支持使用设备模式(Per Device CALs)
因为每用户CAL的信息是存储在AD域环境的用户账户属性中,所以这个类型的RDS CAL仅能在AD与环境中使用。而每设备CAL的信息是存储在系统的注册表键值中,所以这个类型的RDS CAL既可以在AD域环境中使用,也可以在非域环境(工作组)中使用。
如果您是工作组环境且已经购买了每用户CAL,建议:
1. 配置AD域环境,以便于使用每用户CAL。
2. 继续使用工作组环境,并联系CAL供应商的售后,是否可以更换每用户CAL为每设备CAL。
Best Regards,
Eve WangPlease remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已建议为答案 Eve WangMicrosoft contingent staff, Moderator 2018年9月13日 2:07
-
您好,
1>
Please consider the following points while configuring RDS and RDS licensing servers in a workgroup environment:
•We can use ONLY Per Device CALs in a workgroup environment. So, you should install only Per Device CALs on RDS licensing server
•Per User CAL tracking and reporting is not supported in workgroup mode
•RDS Host and RDS licensing server roles can both be installed on the same server
•If you install RDS licensing server on a different server in the workgroup, ensure that the RDS server is able to access RDS licensing server
更多说明可以参考微软的官方KB - Best practices for setting up Remote Desktop Licensing (Terminal Server Licensing) across Active Directory Domains/Forests or Workgroup:
https://support.microsoft.com/en-us/help/2473823/best-practices-for-setting-up-remote-desktop-licensing-terminal-server
RDD CALs有自己的更新及判定机制,如果无法确认当前session中提供的CALs信息将无法更新/判定有效的RDS CALs,从而导致session connection请求被拒绝。
2>
是的。每设备CALs基于设备的数量,与用户账户的多少没有关系。只要授权了该设备,任意账户/用户都可以从该设备进行远程访问。
3>
a. 每用户CAL仅针对用户数量 – 访问远程系统的人员数量,一个用户可以创建多个账户。
b. 可以修改组策略设置用户连接数量。每用户CAL这种类型并不是强制的,有available CAL pool 和 Over-Used CAL pool分发CALs。这就需要我们定期检查RD Licensing Server中,已经分发的CAL数量,并确保Over-Used CAL pool中的分发数量为0。要求管理员确保实际的用户数量小于或者等于已经安装的Per User CALs数量。
文档License your RDS deployment with client access licenses (CALs)(英文)有相关说明:
https://docs.microsoft.com/zh-cn/windows-server/remote/remote-desktop-services/rds-client-access-license
c. 有timeout的设置,如果安装了RD connection Broker, 可以通过RDMS的管理界面,collection的属性中设置。如果没有安装RD CB,在工作组环境中,可以通过本地组策略管理器设置相关的组策略:
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\
Remote Desktop Services Session Host\Session Time Limits
备注,由于每用户cal不支持工作组环境,因此也会导致session登陆失败的问题。
Best Regards,
Eve WangPlease remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已建议为答案 Eve WangMicrosoft contingent staff, Moderator 2018年9月13日 2:06
-
您好!
请问现在情况如何?
如果您需要我们的继续协助,您可以随时在该帖下回复。
Best Regards,
Eve WangPlease remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
您好,
问题是否解决了呢?
如果以上回复有所帮助,请单击“标记为答复”。这将有助于其他遇到类似问题的用户,以用作参考。
Best Regards,
Eve WangPlease remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.