无法重设虚拟机密码 [英] Unable to reset VM password

查看:265
本文介绍了无法重设虚拟机密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试更改或更新密码时,出现以下错误:

When I try to change or update the password, getting below error:

VM报告了处理扩展名"enablevmaccess"时失败.错误消息:"VMAccess Extension不支持域控制器."

VM has reported a failure when processing extension 'enablevmaccess'. Error message: "VMAccess Extension does not support Domain Controller."

通过Powershell尝试,但无法执行此操作,出现以下错误:

Tried through Powershell, but unable to do so, getting below error:

推荐答案

VMAccess扩展将仅重置密码LOCAL管理员帐户.这意味着它不适用于域控制器.

The VMAccess extension will only reset the password for the LOCAL admin account. Which means it will not work for a Domain Controller. 

如果要更改域控制器的密码,则需要从另一台加入域的计算机上进行更改,在该计算机上您可以访问Active Directory并在此进行更改.因此,如果您除了DC之外还使用Azure Active Directory,则可以执行 从Azure Active Directory下的门户下载它.否则,我建议登录到辅助DC或加入域的VM,并使用当前域管理员凭据提升权限,然后进行更改. 

If you want change the password for a domain controller you need to do so from another domain joined machine where you can access the Active Directory and change it from there. So if you are using Azure Active Directory in addition to your DCs you can do it from the portal under Azure Active Directory. otherwise, I suggest logging into a secondary DC or a domain joined VM and elevate with the current domain admin credentials and then changing. 


这篇关于无法重设虚拟机密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆