AD 林恢复-重置 DC 上的计算机帐户AD Forest Recovery - Resetting the computer account on the DC

适用于: Windows Server 2016、Windows Server 2012 和 2012 R2、Windows Server 2008 和 2008 R2Applies To: Windows Server 2016, Windows Server 2012 and 2012 R2, Windows Server 2008 and 2008 R2

使用以下过程来重置 DC 的计算机帐户密码。Use the following procedure to reset the computer account password of the DC.

重置域控制器的计算机帐户密码To reset the computer account password of the domain controller

  1. 在命令提示符下,键入以下命令,然后按 Enter:At a command prompt, type the following command, and then press ENTER:

    netdom help resetpwd
    
  2. 使用此命令为使用 Netdom 命令行工具来重置计算机帐户密码提供的语法,例如:Use the syntax that this command provides for using the Netdom command-line tool to reset the computer account password, for example:

    netdom resetpwd /server:domain controller name /userD:administrator /passwordd:*
    

    其中 域控制器名称 是你要恢复的本地 DC。Where domain controller name is the local DC that you are recovering.

    备注

    你应运行此命令两次。You should run this command twice.

后续步骤Next Steps