Cannot reset password VMAccess errors

Radu Chitu 1 Reputation point
2020-10-02T13:02:29.293+00:00

Hi, I cannot reset password for user in VM:

System says: This uses the VMAccess extension to reset the built-in administrator account and reset the Remote Desktop service configuration. Once you have logged in to the VM, you should reset the password for that user.

No VM extension exist anymore in VM.

Thanks,

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

4 answers

Sort by: Most helpful
  1. Andreas Baumgarten 110.9K Reputation points MVP
    2020-10-02T17:21:22.547+00:00

    Have you already tried the "Reset Password" feature in Azure Portal?

    29961-resetpw.jpg

    Maybe this is helpful.

    Regards
    Andreas Baumgarten

    (Please don't forget to Accept as answer if the reply is helpful)

    0 comments No comments

  2. Weily 86 Reputation points
    2020-10-03T07:37:45.317+00:00

    Reset by using the Azure portal
    Select your Windows VM and then select Reset password under Support + Troubleshooting. The Reset password window is displayed.
    Select Reset password, enter a username and a password, and then select Update.
    Try connecting to your VM again.

    0 comments No comments

  3. Radu Chitu 1 Reputation point
    2020-10-03T11:35:45.093+00:00

    Yes, already tryed this. THis is the error message I receive every time:

    VM has reported a failure when processing extension 'enablevmaccess'. Error message: "Cannot update Remote Desktop Connection settings for Administrator account. Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.

    --- End of inner exception stack trace ---
    at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args)
    at Microsoft.WindowsAzure.GuestAgent.Plugins.WindowsUser.SetPassword(SecureString password)
    at Microsoft.WindowsAzure.GuestAgent.Plugins.RemoteAccessAccountManager.AddOrUpdateRemoteUserAccount(String userName, SecureString password)
    at Microsoft.WindowsAzure.GuestAgent.Plugins.JsonExtensions.VMAccess.VMAccessExtension.OnEnable()"

    LE: I also uninstalled the VMAccess extension, but VM keeps installing back

    0 comments No comments

  4. Andreas Baumgarten 110.9K Reputation points MVP
    2020-10-03T16:11:21.63+00:00

    Related to the error message the password you tried doesn't work:

    The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.

    You should try a different password.

    Maybe this is helpful.

    Regards
    Andreas Baumgarten

    (Please don't forget to Accept as answer if the reply is helpful)

    0 comments No comments

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.