Monday, 15 June 2015

virtual machine - Azure VM password reset -


I have 2 blue virtual machines in 1 network and domain. My domain user / administrator password has expired And I've forgotten the built-in login / password for these VMs.

I tried, tried 30 times (both VM), reset users / reset passwords using AzureVimaXExtension. Correct new (long and difficult) password

  PS script: $ vmName = "$ serviceName =" "$ newAdminUserName =" "$ newAdminPassword =" "$ vmc = Get-AzureVM- service name $ license -name $ vmName $ vmc | Set-AzureVMAccessExtension - Username $ newAdminUserName- Password $ newAdminPassword $ vmc | Update-ezurium restart-azurum-sarsenem $ sovenam -name $ vmName  

still can not log in.

I also tried to run the remote power shell script "Enabled - PSSession", to change the RDP policy, but the entry was denied.

Any suggestions?

Thank you!

I had this problem several times earlier and what worked for me that the old local administrator account Instead of trying to reset, create a new user.


No comments:

Post a Comment