Remotely connect to Windows 11 PC using a "passwordless" account

Remotely connecting to a Windows PC with a Microsoft "passwordless" is possible and I finally found a simple workaround at https://cmdrkeene.com/remote-desktop-with-microsoft-account-sign-in/

Copying it here is it does not get lost:

On the PC hosting the remote desktop session (running Windows Pro or better), run the following command, replacing the example email address with your Microsoft Account email address that you use to login to the computer.

runas /u:MicrosoftAccount\username@example.com winver

This command runs the “winver” program under the credentials of the user account specified. It sounds (and is) pretty simple, but what it does in the background is caches your Microsoft Account credentials. Since your local user account had no password, it wasn’t eligible for RDP use even if it has appropriate permissions otherwise. After supplying the password and pressing Enter, you’ll know it worked if you see the About Windows dialog box open. Go ahead and close it and the terminal window — you’re all done.

At this point, you should be able to connect to the remote computer using the same account & password you just used to run the above command. to run the above command.

Comments

Popular posts from this blog

FreeIPA cluster with containers

ADSL Router Model CT-5367 user and pass (VIVACOM)

Installing Gentoo with full disk encryption