廣告樹系修復-重設電腦 account 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

使用下列程序來重設電腦 account DC 的密碼。Use the following procedure to reset the computer account password of the DC.

重設電腦的網域控制站 account 密碼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 命令列工具來重設電腦 account 密碼,例如語法: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