Windows Server 2019设置远程桌面多用户连接的实现
<div id="navCategory"><h5 class="catalogue">目录</h5><ul class="first_class_ul"><li>Windows Server 修改远程桌面端口的实现<ul class="second_class_ul"><li>一、简述</li><li>二、云服务器安全组设置</li><li>三、服务器设置</li><ul class="third_class_ul"><li>3.1 修改注册表</li><li>3.2 重启远程桌面服务</li></ul><li>四、 本地PC连接</li><ul class="third_class_ul"></ul></ul></li></ul></div><p>首先使用winver指令查看当前操作系统的版本</p><p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A250517.png" /></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A250140.png" /></p>
<p>打开本地组策略编辑器,用于管理和编辑计算机相关配置</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A250I3.png" /></p>
<p>按照下图路径,双击&quot;远程桌面服务"</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A250N1.png" /></p>
<p>双击"远程桌面会话主机"</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A251L6.png" /></p>
<p>双击"连接"</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A251Q0.png" /></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A251V2.png" /></p>
<p>设置最大远程连接数,点击"确定"</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A251441.png" /></p>
<p>再点击"将远程桌面服务用户限制到单独的远程桌面服务会话"</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A251250.png" /></p>
<p>设置为"已禁用"即可</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A252510.png" /></p>
<p>这样的话,就可以多用户访问同一个服务器了</p>
<p class="maodian"></p><h2>Windows Server 修改远程桌面端口的实现</h2>
<p class="maodian"></p><h3>一、简述</h3>
<p>学校为了网络安全,屏蔽了windows默认远程桌面端口3389,只能修改3389为其他端口以正常使用远程桌面功能,这里我为了方便使用,修改为8082端口</p>
<p class="maodian"></p><h3>二、云服务器安全组设置</h3>
<p>云服务器需要在安全组配置内把端口放开,否则无效,注意走的是TCP协议,入站规则需要开通自己需要修改的端口</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A252422.jpg" /></p>
<p class="maodian"></p><h3>三、服务器设置</h3>
<p>远程连接服务器后,需要执行以下步骤</p>
<p class="maodian"></p><h4>3.1 修改注册表</h4>
<p>搜索注册表,如下图所示</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A252505.jpg" /></p>
<p><strong>找到后,按照下列图示步骤找到远程桌面端口号并进行修改,注意是修改两个注册表数值,需要统一,这里我设置为8082,避免使用熟知端口</strong></p>
<p><strong>路径1:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp</strong></p>
<p><strong>路径2:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp</strong></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A252593.jpg" /></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A253100.jpg" /></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A253A3.jpg" /></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A2531b.jpg" /></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A2543U.jpg" /></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A254328.jpg" /></p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A2543J.jpg" /></p>
<p class="maodian"></p><h4>3.2 重启远程桌面服务</h4>
<p>修改注册表完成后,需要重启Remote Desktop Services这一服务,点击重启后,当前远程桌面连接将会被关闭</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A255417.jpg" /></p>
<p class="maodian"></p><h3>四、 本地PC连接</h3>
<p>Win+R启动运行,输入mstsc,在原有远程桌面IP地址后面加上刚才修改好的端口后,即可成功连接</p>
<p style="text-align:center"><img style="max-width:100%!important;height:auto!important;"alt="" src="https://zhuji.jb51.net/uploads/allimg/20250801/2-250P11A255G7.jpg" /></p>
<p>到此这篇关于Windows Server 2019设置远程桌面多用户连接的实现的文章就介绍到这了,更多相关Win2019远程桌面多用户连接内容请搜索琼殿技术社区以前的文章或继续浏览下面的相关文章希望大家以后多多支持琼殿技术社区!</p>
頁:
[1]