简体   繁体   English

无法重置Azure VM的远程桌面密码

[英]Can't reset my Azure VM's remote desktop password

A client of our has lost their RDP password for an Azure virtual machine and I'm trying to recover it. 我们的客户已经丢失了Azure虚拟机的RDP密码,我正在尝试恢复它。 I've run through the steps outlined in this article: 我已经完成了本文中概述的步骤:

http://blogs.technet.com/b/keithmayer/archive/2014/06/26/microsoft-azure-virtual-machines-reset-forgotten-admin-password-with-windows-powershell.aspx http://blogs.technet.com/b/keithmayer/archive/2014/06/26/microsoft-azure-virtual-machines-reset-forgotten-admin-password-with-windows-powershell.aspx

but still cannot connect to the machine. 但仍然无法连接到机器。 All I get is a message saying " Your credentials did not work ". 我得到的只是一条消息“ 你的凭据不起作用 ”。

It's my understanding that I've just set the credentials, so why is there a problem? 我的理解是我刚刚设置了凭据,为什么会出现问题?

The password I'm using is 10 characters, and contains a mixture of upper case, numbers, letters and symbols. 我使用的密码是10个字符,包含大写,数字,字母和符号的混合。 So I don't think it's a strong password issue. 所以我认为这不是一个强大的密码问题。

I've also tried using the AzureVMAccessExtension. 我也尝试过使用AzureVMAccessExtension。 I followed the steps outlined in that to reset the admin password as well as tried creating a new account. 我按照其中列出的步骤重置管理员密码,并尝试创建新帐户。 Neither of these has worked. 这些都没有奏效。 I get the same error as above. 我得到与上面相同的错误。

I can't scrap the VM since it has software running on it in production. 我无法废弃虚拟机,因为它在生产中运行了软件。 So to detach and reattach to a new VM is not an option. 因此,分离和重新连接到新VM不是一种选择。

Does anyone have any suggestions on how to get access to this VM or why the powershell scripts are not working for me? 有没有人对如何访问此VM有任何建议,或者为什么powershell脚本不适合我?

With the new preview portal, you can gain access to Azure VM by using the new Password Reset feature (life-saver when you forgot your VM password). 使用新的预览门户,您可以使用新的密码重置功能(忘记VM密码时可以节省生命)来访问Azure VM。 It will create a new admin user to the existing VM. 它将为现有VM创建新的管理员用户。

Navigate to Browse All (Left Side Menu)-> Virtual Machines (Classic) -> Click on the Target Virtual machine -> Select "All Settings" -> Password Reset 导航到全部浏览(左侧菜单) - >虚拟机(经典) - >单击目标虚拟机 - >选择“所有设置” - >密码重置

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM