雲計算之路-試用Azure:竟然無法重置虛擬機的管理員密碼


在忘記管理員密碼的情況下,可以遠程重置服務器的管理員密碼是雲計算服務的一個優勢,這是使用自己的物理服務器無法實現的。

但是,在使用Azure的時候,我們找遍Azure管理控制台也沒找到可以重置虛擬機(Virtual Machine)管理員密碼的地方。

Google一下發現原來Azure根本沒有提供這個功能:

As of now there is no way Subscription owner to reset the password externally or outside the Azure VM.

A:The virtual machines on Windows Azure allow to connect from RDP. But how can I reset the administrator password if the password has been lost?

Q:There is no way to do this now, but you can get the data off of the drive if you need to. Please see the Microsoft answer here.

來看看其他雲計算服務商的情況:

1、亞馬遜AWS的EC2虛擬機是可以重置管理員密碼的,操作方法如下(來自EC2 Windows password recover):

I ran across this scenario and found a solution using the unique setup of EC2 on another site: http://www.smattie.com/2012/01/23/video-remotely-reset-windows-password-via-ec2-config-service/

The video is long, so to summarize the steps:

  1. Create a new scratch EC2 instance running 2003 server, and log into it.
  2. Shut down your lost instance (the one you can't log into) from the AWS console.
  3. On the EC2 console, go to Elastic Block Store/Volumes and find your C: disk volume, and Detach it.
  4. On that same volume, attach it to your scratch EC2 instance. You can see it appear in Disk Manager and you'll get a new D: drive letter.
  5. Go to D:\Program Files\Amazon\Ec2ConfigService\Settings\ and edit config.xml with notepad
  6. The first setting in the file is for the Ec2SetPassword plugin; change the State field from Disabled to Enabled. Save & close.
  7. On the AWS console, Detach the volume from the scratch instance (don't worry, it safely detaches from Windows)
  8. Attach the volume to your original lost instance, as /dev/sda1
  9. Start the instance. After a few minutes, run the Get Windows Password function which will have the newly generated password.

2、阿里雲直接可以在管理控制台重置雲服務器的管理員密碼,操作時需要進行手機或郵箱驗證。

建議Azure能夠增加這個功能,並希望這個功能成為雲計算服務的標配。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM