AD Forest Recovery - Resetting the computer account on the DC

Applies To: Windows Server 2016, Windows Server 2012 and 2012 R2, Windows Server 2008 and 2008 R2

Use the following procedure to reset the computer account password of the DC.

To reset the computer account password of the domain controller

  1. At a command prompt, type the following command, and then press ENTER:

    netdom help resetpwd
    
  2. 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:*
    

    Where domain controller name is the local DC that you are recovering.

    Note

    You should run this command twice.

Next Steps