【踩坑】Microsoft Remote Desktop 远程登录 Windows7 报错:Your session ended

前言

Microsoft Remote Desktop远程登录Windows7报错:Your session ended because of an error. If this keeps happening, contact your network administrator for assistance.

报错原因

  • Windows客户端计算机上的最大未完成连接限制有问题

解决问题

  • 通过运行打开注册表编辑器
1
regedit
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

  • 修改MaxOutstandingConnections的值为16进制的10000

  • 如果没有则创建名为MaxOutstandingConnectionsDWORD键值为16进制的10000

完成

参考文献

Microsoft Remote Desktop 论坛