云计算之路-试用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能够增加这个功能,并希望这个功能成为云计算服务的标配。

posted @ 2013-09-05 11:20  博客园团队  阅读(5520)  评论(12编辑  收藏  举报