https://blog.csdn.net/qq_54780911/article/details/123907031
接下来需要一个叫rdpwrap的工具,可以去github下载
https://www.bogotobogo.com/Powershell/How_to_Enable_Multiple_RDP_Sessions_in_Windows_2012.php
–笔记
rdpwrap 按照图片设置,每个用户限制在一个session
gpedit.msc配置 远程桌面链接也是限制 用户限制在一个session
这样同一用户登陆就会把另一个相同用户挤下来,不至于出差错 这种结果是好的,如果不限制一个session同一用户多次生成多个session有时候浏览器都启动不了。
Go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.
Set Restrict Remote Desktop Services user to a single Remote Desktop Services session to enable.
Double click Limit number of connections and set the RD Maximum Connections allowed to 999999.