RDP with Microsoft Account and Two-Factor authentication

Gurmeet Singh 1 Reputation point
2022-08-30T14:12:04.713+00:00

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,988 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 16,431 Reputation points Microsoft Vendor
    2022-09-06T07:41:42.247+00:00

    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.

    Reference:
    https://learn.microsoft.com/en-us/answers/questions/369584/windows-10-home-to-pro-upgrade-need-to-update-pers.html

    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
    Karlie

    0 comments No comments