Kategoriarkiv: Azure

How to reset the password on an Azure vm from the Azure portal

I lost the password for my account to one of my dev servers on Azure. The Windows Server 2019 instance was standalone with only one account that had administrator rights.

Azure portal reset password for VM
Screenshot from Azure Portal.

In the Azure portal there is a quick way of reseting the password. Here is a short step by step instruction:

  1. From the dashboard go to your Azure VM.
  2. Scroll below and click on the ”Reset password” link.
  3. Type the login name of your user and the new password and click on the ”Update” button.

The ”magic” is the VMAccess extension installed into the VM when it was created. The extension reset the built-in administrator account and reset the Remote Desktop service configuration.

This ”saved my day”.