在Azure中重置域控制器的密码 [英] Resetting password of the Domain Controller in Azure

查看:104
本文介绍了在Azure中重置域控制器的密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用

I am trying to reset the password of my domain controller using custom script extension.

net user 'username@domain.com' 'xX@123456'

脚本已成功部署,但是我无法使用新密码登录.

在详细信息状态中,我看到以下内容-

Script is deployed successfully but I am not able to login using the new password.

In the details status, I see following things -

[
        {
            "code": "ComponentStatus/StdOut/succeeded",
            "level": "Info",
            "displayStatus": "Provisioning succeeded",
            "message": ""
        },
        {
            "code": "ComponentStatus/StdErr/succeeded",
            "level": "Info",
            "displayStatus": "Provisioning succeeded",
            "message": "The syntax of this command is:\\n\\nNET USER\\n[username [password | *] [options]] [/DOMAIN]\\n         username {password | *} /ADD [options] [/DOMAIN]\\n         username [/DELETE] [/DOMAIN]\\n         username [/TIMES:{times | ALL}]\\n         username [/ACTIVE: {YES | NO}]\\n\\nThere is no such global user or group: username@domain.com.\\n\\nMore help is available by typing NET HELPMSG 3783.\\n\\nThere is no such global user or group: username@domain.com.\\n\\nMore help is available by typing NET HELPMSG 3783.\\n"
        }
]

我不确定以下消息是什么意思-

此命令的语法是:\ n \ nNET USER \ n [用户名[密码| *] [选项]] [/DOMAIN] \ n用户名{密码| *}/ADD [选项] [/DOMAIN] \ n用户名[/DELETE] [/DOMAIN] \ n 
用户名[/TIMES:{times | ALL}] \ n用户名[/ACTIVE:{YES | NO}] \ n \ n没有这样的全局用户或组:username@domain.com.\ n \ n更多 可以通过键入NET HELPMSG 3783获得帮助.\ n \ n没有这样的全局用户或组:username@domain.com.\ n \ n可以通过键入NET HELPMSG 3783获得更多帮助.\ n

I am not sure what following message means -

The syntax of this command is:\n\nNET USER\n[username [password | *] [options]] [/DOMAIN]\n username {password | *} /ADD [options] [/DOMAIN]\n username [/DELETE] [/DOMAIN]\n 
username [/TIMES:{times | ALL}]\n username [/ACTIVE: {YES | NO}]\n\nThere is no such global user or group: username@domain.com.\n\nMore help is available by typing NET HELPMSG 3783.\n\nThere is no such global user or group: username@domain.com.\n\nMore help is available by typing NET HELPMSG 3783.\n

atish

推荐答案

您可以按照此链接中的说明进行操作-

You can follow the instructions from this link - https://www.petri.com/reset-expired-domain-admin-password-in-azure-vm and see if that helps.

免责声明::此回复包含对第三方万维网站点的引用. Microsoft为方便您而提供此信息. Microsoft不控制这些站点,也未测试找到的任何软件或信息 在这些站点上;因此,Microsoft无法对在此找到的任何软件或信息的质量,安全性或适用性做出任何陈述.
使用Internet上发现的任何软件都存在固有的危险,Microsoft提醒您在从Internet上检索任何软件之前,请确保您完全了解风险.

Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieing any software from the Internet.

--------------------------------------------------- -------------------------------------------------- ----------------------------------
如果此答案有帮助,请单击"标记为答案",然后单击投票.要提供有关您的论坛体验的其他反馈,请单击 这里 

-----------------------------------------------------------------------------------------------------------------------------------
If this answer was helpful, click "Mark as Answer" and Up-Vote. To provide additional feedback on your forum experience, click here 


这篇关于在Azure中重置域控制器的密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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