This web page requires JavaScript to be enabled.

JavaScript is an object-oriented computer programming language commonly used to create interactive effects within web browsers.

How to enable JavaScript?

Remote Desktop on Windows 11 with Microsoft Account MFA

Posts November 2, 2021 Nam Le 3

This is the guide to use Remote Desktop on Windows 11 Pro with Microsoft Account logged in and enabled MFA.

Remote Dektop - NREADY.NET

On Windows 11 Pro (also Windows 10 Pro), If the user has signed in to Microsoft Account and enabled MFA, so the Local Account password is swept out once switching to Microsoft Account and we cannot using the Local Account password anymore.

So how can we use the Remote Desktop to remote to that computer? Tried the Local password or Microsoft Account password but cannot to connect?

The fact that, It’s still worked but seem there are some issues with this new OS, so we have to do some tricks.

Let’s say:

  • namle-zenbook: the remote computer
  • namle-az: the Local Account username on the remote computer
  • le***@li**.com: the Microsoft Account username on the remote computer
  1. Enable Remote Desktop on the Computer that you want to remote.

Remote Dektop - NREADY.NET

  1. On that remote computer, Run the following command in the Run…
    runas /u:MicrosoftAccount\[email protected] cmd.exe

Runas - NREADY.NET

  1. A Command Prompt will be shown, type your current Microsoft Account password and enter.

Remote Dektop - NREADY.NET

Now, you can connect to that computer via Remote Desktop.

We can use both Local Account user (ex: namle-az) and Microsoft Account username (ex: le***@li**.com), with password is the current Microsoft Account password.

Remote Dektop - NREADY.NET


Nam Le,
Personal experiment, https://nready.net


Last modified on January 28th, 2022 at 11:32 pm

Nam Le
lequocnam



3 responds

  1. TheIcemanCometh says:

    Thank you for this. I’d been racking my brain for more than an hour trying to get in this way, and this article solved it. Thanks again!

  2. There is a much easier way.
    Login to windows 11 locally with your Microsoft account, open a non-administrative CMD
    Issue the command whoami
    it will return a username in the format machine\name
    use that in the RDP username dialog box,

  3. Neil Yoder says:

    Mine works with this username format, but not with the result from ‘whoami’ command:

    azuread\[email address]

Leave a Reply

Your email address will not be published.