One fine day when I tried connecting to my Azure Virtual Machine in a cloud, I was welcomed with this error message.
Tip: If you press Ctrl + C on the message window, it will copy text on the clipboard and if you paste, it comes like below. Neat and Clean!
[Window Title]
Remote Desktop Connection
[Content]
You must change your password before logging on the first time. Please update your password or contact your system administrator or technical support.
[OK] [Help]
I clearly remember that I have not done anything with the user account. Also, the machine was NOT joined to any domain.
WORKAROUND/SOLUTION
I knew that I need to change the password but how to get to the prompt to change the password as this is an Azure Virtual Machine.
The easiest way to reset the password is to use Azure Portal. Open Azure Portal, Go to “Virtual Machines”, go under click “Reset password” under “Support + Troubleshooting”
As the message says, we can also provide a new account and the password. After providing details, hit “Update” and wait for it to finish. It shows below the screen.
Once done, you should be able to login to VM using the new account (if a new account is provided during reset) or an existing account (for which you have given new password)
Hope this would help someone who runs into error on Azure Virtual Machine.
Reference: Pinal Dave (https://blog.sqlauthority.com)
2 Comments. Leave new
Hi Pinal,
I installed Failover Cluster on my test server to test Basic Availability Group on SQL Server 2016 standard edition. Windows server is 2012 R2. I get warning when I click on Failover Cluster Manager on Tool option in Server manager. Warning “To manage a failover cluster you must be logged in with a domain user account. A domain user is required because you need access to active directory Domain Services and all servers in hte cluster, including remote servers.”
Clicking Ok warning disappears, but when I go to check validation and click on ‘Validate Configuration’ option in Failover Cluster manager, nothing happens. Ideally it should open validation wizard.
How can I validate Failover Cluster I just recently installed.
Kind Regards
B Raj
This procedure worked for me when I suddenly got the dreaded “You must change your password” error when trying to login to an Azure VM. Thanks!