首先在 Server Roles 中选择 Remote Desktop Services, 然后在 Role Services 中安装 Remote Desktop Session Host
安装完成后需要重启机器
然后在 Run 中输入 gpedit.msc
到 Computer Configuration->Administrative Templates->Windows Components->Remote Desktop Services->Remote Desktop Session Host->Connections
其中有 2 个 Setting 相关
Limit number of connections
是否限制最大连接数量, 建议限制一下, 以防过多连接 (如果 Not Configured 或者 Disabled 则会允许用户无限连接, 最大 999999)
Restrict Remote Desktop Services users to a single Remote Desktop Services session
是否限制使用同一用户多次连接
简单设置下, 我这里设置如下:
Limit number of connections 的值为 5
Restrict Remote Desktop Services users to a single Remote Desktop Services session 为 Disabled
设置完成后, 需要在 Run 中输入 gpupdate 更新当前 Policy, 否则会按照原来的设置
来源: https://www.cnblogs.com/zhesong/p/wsrd.html