Connect Azure RDP, “The logon attempt failed”

孤人 提交于 2019-12-05 14:25:23

Since Windows 10, you need the domain is automatically set to MicrosoftAccount followed by your email address as username. MicrosoftAccount\My@UserName.com

Instead, the username is like UserName.com\My. This worked for me.

I've tried to login and failed using windows 8.1 Pro to an azure vm. The message I got repeatedly was "Login Attempt Failed". So my specific problem wasn't that i couldn't connect to the machine but that it couldn't authenticate...even though my my Administrator username and password were correct.

The way I logged into the machine was to provide the host name then the username:

Host\Username

My Azure account did not have a domain controller setup.

It was simply looking for it's local host machine name.

This link helped: https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-log-on-windows-server/

What worked for me was changing the RDP login screen to use a different account, and use the "local account" which is the name of the VM and the username, like so:

TheVMName\TheAdminUsername

Where TheVMName is the name of your VM, and TheAdminUserName is the admin user name you used for that machine. I was able to find/confirm the latter on the Reset Password screen under the SUPPORT + TROUBLESHOOTING section on the left.

I have no idea why, but the solution is simple (works every time, at least for me): I was copy-pasting the passwords from a KeePass, as i use this to generate and maintain the huge amount of credentials i use one way or another.

SOLUTION: instead of copy-paste, type the password

The drawback is that i have to use simpler passwords for this access

May be following can help:

  1. In this screen please select the option "Use a different account":

  1. Further type in "Domain\Username"

TIPS:

- The "Domain" can be found on the "Overview" page for your VM in Azure. It's appearing as: Public IP Address: [SomeIPValue].

- If you do not remember or have "Username" & "Password".The local admin "Username" & "Password" can be set to get access under: Azure -> Your VM page -> Support + Troubleshooting -> Reset Password.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!