修改 Win10 远程桌面连接数

张开发
2026/4/11 16:50:38 15 分钟阅读

分享文章

修改 Win10 远程桌面连接数
修改 Win10 远程桌面连接数一、基础设置允许远程、添加用户二、组策略解除单会话限制必须三、注册表允许并发会话必须1. 允许多会话同一用户不互踢2. 并发连接数可选四、 使用 RDPWrap 突破限制验证修复五、完成后效果六、常见问题参考资料Win10 专业版默认只允许 1 个远程桌面会话第二个登录会踢掉前一个。要真正支持多用户同时远程必须组策略 注册表 破解用 RDPWrap三步一起做。下面是完整流程专业版通用。一、基础设置允许远程、添加用户开启远程桌面按 Win 然后输入远程桌面设置打开要是被限制什么的直接试试命令net start TermService创建多个用户每个用户独立桌面WinR →lusrmgr.msc→ 用户 → 新用户建好后加入Remote Desktop Users组二、组策略解除单会话限制必须WinR →gpedit.msc打开组策略路径计算机配置 → 管理模板 → Windows组件 → 远程桌面服务 → 远程桌面会话主机 → 连接限制连接的数量已启用→最大连接数填 20将远程桌面服务用户限制到单独的远程桌面会话已禁用核心允许多会话允许用户通过使用远程桌面服务进行远程连接已启用然后管理员 CMD 执行gpupdate /force三、注册表允许并发会话必须WinR →regedit1. 允许多会话同一用户不互踢HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal ServerfSingleSessionPerUser→改为 0默认 12. 并发连接数可选HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Licensing Core新建 DWORDEnableConcurrentSessions1新建 DWORDMaxConcurrentSessions2/5你要的并发数四、 使用 RDPWrap 突破限制上面三步做完还是只能单用户——因为系统文件 termsrv.dll 硬锁 1 会话。RDP Wrapper Library简称 RDPWrap是一款开源工具用于在 Windows 上突破远程桌面RDP的原生限制核心是不修改系统文件、支持多用户并发、兼容家庭版。下载RDPWrapGitHub 搜 RDPWrap最新 v1.6.8以管理员运行install.bat运行结果RDP Wrapper Library v1.6.2 Installer v2.5 Copyright(C)StasM Corp. 2017 [*] Notice to user: - By using all or any portion of this software, you are agreeing to be bound by all the terms and conditions of the license agreement. - To read the license agreement, run the installer with -l parameter. - If you do not agree to any terms of the license agreement, do not use the software. [*] Installing... [*] Terminal Services version: 10.0.19041.4474 [-] This version of Terminal Services is not supported. Try running update.bat or RDPWInst -w to download latest INI file. If it doesnt help, send your termsrv.dll to project developerforsupport.[]TermService found(pid1272).[*]No shared services found.[*]Extracting files...[]Folder created: C:\Program Files\RDP Wrapper\[*]Downloading latest INI file...[]Latest INIfile-C:\Program Files\RDP Wrapper\rdpwrap.ini[]Extracted rdpw64 -C:\Program Files\RDP Wrapper\rdpwrap.dll[]Extracted rfxvmt64 -C:\windows\System32\rfxvmt.dll[*]Configuringservicelibrary...[*]Checking dependencies...[*]Checking CertPropSvc...[*]Checking SessionEnv...[*]Terminating service...[*]Starting TermService...[-]StartService error(code1056).[*]Configuring registry...[*]Configuring firewall... 确定。[]Successfully installed. ______________________________________________________________ You can check RDP functionality with RDPCheck program. Also you can configure advanced settings with RDPConf program. 请按任意键继续...验证打开RDPConf.exe全部显示绿色Listening就成功修复如果显示 如下图not supported则需要更新一下C:\Program Files\RDP Wrapper\rdpwrap.ini先去github 下载 rdpwrap.ini 解压后在 rdpwrap.ini 所有目录创建一个批处理并执行即可。net stop TermService copy /y rdpwrap.iniC:\Program Files\RDP Wrapper\rdpwrap.ininet start TermService注意不要一句一句复制去执行此批处理的工作流程是先停掉远程桌面服务再赋值 rdpwrap.ini 再开启。如果你不在远程电脑边上net stop TermService我们就直接断开了。五、完成后效果2个不同用户 →同时远程、各自独立桌面、互不影响同一用户多次登录 → 也能多会话看你注册表/组策略六、常见问题第二个用户一登就踢第一个→ 没做RDPWrap 破解只改组策略没用连不上、提示授权→ 组策略没关单会话 / 注册表没改 / RDPWrap 没装好Windows 更新后失效→ 更新会还原 termsrv.dll → 重新装 RDPWrap 或替换 DLL参考资料https://github.com/stascorp/rdpwraphttps://github.com/sebaxakerhtc/rdpwrap.ini

更多文章