使用 Azure VM 时,为什么我在尝试使用 VMAccessAgent 重置管理员密码时收到 "Cannot Find Certificate with thumbprint"?
When using an Azure VM, why am I getting "Cannot Find Certificate with thumbprint" when trying to reset admin password with VMAccessAgent?
我正在尝试更改 Azure VM 的管理员密码。我无法远程登录到 VM。
我尝试过的:
- VM 的 Azure 门户中的密码重置工具
- 通过 Azure 云中的 Powershell 设置 AzVMAccessExtension Shell
以下两个 return:
Failed to reset password
VM has reported a failure when processing extension 'VMAccessAgent'. Error message: "Parsing Extension protected settings failed. Exception : Cannot find certificate with thumbprint '[Thumbprint Snipped]' to decrypt protected settings."
有人在Azure VM中遇到过这种情况吗?如果是这样,如何补救此错误并重置管理员密码或向帐户添加管理员用户?
为了回答这个问题,以防万一有人在寻找答案时偶然发现它,我不得不执行 Azure 文档中概述的离线密码重置方法:
Reset local Windows password for Azure VM offline
如果你缓慢而有条不紊地进行并没有那么痛苦,但由于 VM 实例上的配置错误似乎超出了我的控制范围,这是唯一的办法。虽然是的,这可能更适合 ServerFault,但我会把它留在这里以帮助遇到类似情况的任何人。
我正在尝试更改 Azure VM 的管理员密码。我无法远程登录到 VM。 我尝试过的:
- VM 的 Azure 门户中的密码重置工具
- 通过 Azure 云中的 Powershell 设置 AzVMAccessExtension Shell
以下两个 return:
Failed to reset password VM has reported a failure when processing extension 'VMAccessAgent'. Error message: "Parsing Extension protected settings failed. Exception : Cannot find certificate with thumbprint '[Thumbprint Snipped]' to decrypt protected settings."
有人在Azure VM中遇到过这种情况吗?如果是这样,如何补救此错误并重置管理员密码或向帐户添加管理员用户?
为了回答这个问题,以防万一有人在寻找答案时偶然发现它,我不得不执行 Azure 文档中概述的离线密码重置方法:
Reset local Windows password for Azure VM offline
如果你缓慢而有条不紊地进行并没有那么痛苦,但由于 VM 实例上的配置错误似乎超出了我的控制范围,这是唯一的办法。虽然是的,这可能更适合 ServerFault,但我会把它留在这里以帮助遇到类似情况的任何人。