now especially we do IT this line of need to remember the password is simply too much, the major bank Savings card, credit card password, QQ , password, email password, Weibo account password, as well as the company's business system password some long time without the possibility will forget, can only reset!!
forget the server's administrator password, it is very common, nearly half a year has 3 a client said Azure on the virtual machine password forgot, let me help to deal with it, write down the reset Azure the method of virtual machine password!
first of all, it is customary to pilot out publishsettings file, login account
then use GET-AZUREVM
get to the virtual machine in the subscription, this time I reset VM01 The password for this virtual machine
650) this.width=650; "Width=" 942 "height=" title= "1.png" style= "Width:720px;height:385px;float:none;" alt= " Wkiol1ycd1kwejubaaswxx_uiny114.jpg "src=" Http://s3.51cto.com/wyfs02/M00/74/65/wKioL1Ycd1KwEjubAASWxx_uiNY114.jpg "/>
enter the following command to get to the specified VMS
$VM 1 = get-azurevm-servicename "xxxx"-name "xxxx"
650) this.width=650; "title=" 2.png "style=" Float:none; "alt=" wkiom1ycdztbtq92aaces0xxyke533.jpg "src=" http:/ S3.51cto.com/wyfs02/m01/74/68/wkiom1ycdztbtq92aaces0xxyke533.jpg "/>
enter the following command to check VMS whether the agent is installed, if the agent output is installed, the results are displayed "true"
Enter the command $vm1. Vm. Provisionguestagent View output is "true"
650) this.width=650; "title=" 3.png "style=" Float:none; "alt=" wkiol1ycd1lc0q3caaauilh8gho599.jpg "src=" http:/ S3.51cto.com/wyfs02/m00/74/65/wkiol1ycd1lc0q3caaauilh8gho599.jpg "/>
Finally, enter the following command to change the password for the specified virtual machine
SET-AZUREVMACCESSEXTENSION-VM $VM UserName "Adminaccountname" – Password "NewPassword" | UPDATE-AZUREVM
650) this.width=650; "Width=" 910 "height=" 142 "title=" 4.png "style=" Width:689px;height:105px;float:none; "alt=" Wkiol1ycd1kcusn8aafossgoq9s496.jpg "src=" Http://s3.51cto.com/wyfs02/M01/74/65/wKioL1Ycd1KCuSN8AAFossgOQ9s496.jpg "/>
Finally, you can log in to the virtual machine with a new password!
This article is from the "Arvin Technology blog" blog, make sure to keep this source http://arvinwang.blog.51cto.com/345018/1702454
Azure Technology 07-Virtual machines-Reset virtual machine passwords