I have locked myself out of my DC VM.

john drummond 0 Reputation points
2025-06-06T14:39:10.7033333+00:00

I have locked myself out of my DC VM by selecting "Reset password before logging in". I have tried to reset the admin password on the portal and it still tells me I have to change the password when I try to RDP in. HELP

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,070 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Nikhil Duserla 8,180 Reputation points Microsoft External Staff Moderator
    2025-06-06T15:37:50.13+00:00

    Hello @john drummond ,

    If you're unable to log in to your Domain Controller (DC) virtual machine because your password needs to be reset and you’re locked out, here are some steps you can follow to regain access-

    1. Open the Azure portal. 2. Navigate to your virtual machine. 3. In the "Support + troubleshooting" section, select Reset password. 4. Choose the Reset password option, then enter a new password for the administrator account. 5. Click Update to apply and save the changes

    If you have any further queries, do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.