[已解决] macOS 上的 Microsoft Remote Desktop app 连接 Windows 10/11 提示“The User Account Didn’t Work”

大概率是微软账号登录问题。

本文是一篇旧文,原文首发地址:https://zblogs.top/microsoft-remote-desktop-app-error-the-user-account-didnt-work/

今天试着在 macOS 上通过 Microsoft Remote Desktop app 连接 最近新买的 Lenovo Yoga 14s 时,发现会一直报错 “The User Account Did Not Work: The user account used to connect to IPv4 (remote pc) did not work. Try again.”

The User Account Did Not Work

故障排查

遇到这个问题后,我从以下几个方面进行了故障排查:

  • Yoga 14s 上的 Windows 11 已启用 Remote Desktop,且相关的服务正常运行中;
  • 两台电脑均同一局域网,连接着同一 WiFi;
  • 没有填错 Yoga 14s 的局域网 IPv4 地址;
  • 没有填错 Yoga 14s 上微软账号登录信息(这里填写微软账号邮箱地址即可);

暂时没有什么头绪,就去 Google 搜了一下这个问题,很快在微软社区找到了一个解决方案。

解决方案

解决方案其实很简单,只需要先登出微软账号,然后再使用账号密码重新登录(注意:不是使用 Windows Hello 面部/指纹识别/PIN/图案密码登录);登录成功后,再次从 macOS 上的 Microsoft Remote Desktop app 远程桌面连接到 Windows 11 电脑即可。

I found a painless way of resolving this was to physically log in to the Windows laptop, using your password (ONLY, and NOT your face or fingerprint or PIN), and then log out (and if possible, then reboot). Thereafter, with the Windows laptop up and running, go onto your Mac, fire up RDP, and use it to connect from Mac to Windows as you would expect to. It should work.

Microsoft Community

造成这个问题的可能原因

根据微软社区上的讨论,这似乎是缓存问题。如果之前是通过生物识别或 PIN(或其他非密码)凭据登录 Windows,则 Windows 笔记本电脑上的 RDP 接收器/服务器将拒绝你使用用户名 /password 的方式通过 RDP 连接。 (就好像 Windows 的 RDP 服务器正在将您的远程身份验证尝试与之前的物理身份验证进行比较,如果它们不匹配则拒绝……)

It seems that there is a caching issue, such that if the last/previous time you directly logged into Windows was via biometric or PIN (or other non-password) credentials, then the RDP receiver/server on the Windows laptop will refuse your username/password connection attempt via RDP. (It’s as if Windows’ RDP server is comparing your remote authentication attempt against the previous physical authentication, and refusing if they don’t match…)

Microsoft Community

现在很多主流的 Windows 笔记本电脑都支持 Windows Hello 人脸或指纹解锁。我回想了一下,发现我的 Yoga 14s 买来之后一直都是使用 Windows Hello 解锁登录的。如果尝试远程桌面连接至这类电脑上时遇到这个报错,可以试着先登出自己的微软账号,然后再使用账号密码的方式重新登录。


Image by pikisuperstar on Freepik

More Reading

Post navigation

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *