MrLonely
V2EX  ›  问与答

Windows 11 的远程桌面无法使用

  •  
  •   MrLonely · Jan 23, 2023 · 2234 views
    This topic created in 1204 days ago, the information mentioned may be changed or developed.

    使用环境是这样的,一个 x86 架构的,5G Cellular 的 Windows 11 笔记本,使用 T-Mobile 的 SIM 卡联网。不管是设备的物理所在地还是网络流量都是纯北美环境,不涉及到墙的问题。

    通过 WireGuard 接入公有云上的虚拟局域网,因为我的 RDP 端口没有放在公网上。

    这个时候如果使用系统自带的 remote desktop connection 去连接远程桌面,就可以成功连接。

    但如果想要用 Microsoft Store 下载的那个橙色图标的 remote desktop 连接,就出现 error code 0x516.

    错误提示里写着说:You have been disconnected because another connection was made to the remote PC

    但是这个机器只有我一个人在用,我知道不可能是另外一个人。同时我也反复确认过不是我自己发起了多个连接请求互相挤下线。

    这时候我觉得有可能是 VPN 的原因,可能是应用商店下载的 UWP 应用不走 WireGuard 导致的。然后经过搜索去做了 CheckNetIsolation.exe 的更改,并且也能够检查到更改是成功了的。

    但是依然返回相同的结果。

    理论上来讲,remote desktop connection 能连接说明中间的网络是通的。但不知道还能有什么原因导致 remote desktop 这个 app 独自无法连接。

    2 replies    2023-01-24 11:35:39 +08:00
    ilylx2008
        1
    ilylx2008  
       Jan 23, 2023
    注销重新连
    baobao1270
        2
    baobao1270  
       Jan 24, 2023
    建议检查一下 windows 的日志查看器,看看有没有 RDP 或者网卡相关的错误。
    然后 App Store/Google Play/Microsoft Store 版的 RD Client 有玄学 bug ,建议组策略禁用部分加密方式,以及网卡设置里关闭 large frame 和 large send offload
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1002 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:17 · PVG 06:17 · LAX 15:17 · JFK 18:17
    ♥ Do have faith in what you're doing.