RDP with Microsoft Account and Two-Factor authentication

Gurmeet Singh 1 Reputation point

I have Windows 11 Pro (with all the latest updates) and Microsoft Account with enabled two-factor authentication. When I work with the computer locally, all logins work fine. But I can't login via RDP (from another Windows 11 computer with the standard RDP client). It requests login and password but tells me that they are wrong.

I tried for login email and MicrosoftAccount\email and pwd - FYI

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,058 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 13,796 Reputation points Microsoft Vendor

    Hello @Gurmeet Singh

    Use runas /u:MicrosoftAccount\[my account] cmd.exe from admin prompt on RDP host machine to force the machine to re-sync of credentials.
    Replacing [my account] with the actual account name of the Microsoft Account.


    Otherwise, you can switch from a Microsoft account to a local account and switch back to a Microsoft account. Or create a new local account on the source computer. See reference:
    How to fix remote login problem with Microsoft account on Windows 11

    Best regards

    0 comments No comments