Active Directory Forest Recovery - Reset the computer account on the DC legacy
Applies to: Windows Server 2022, Windows Server 2019, 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.
Reset the computer account password of the domain controller
At a command prompt, type the following command, and then press ENTER:
netdom help resetpwd
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're recovering.
Note
You should run this command twice.
Next steps
- AD Forest Recovery - Prerequisites
- AD Forest Recovery - Devise a custom forest recovery plan
- AD Forest Recovery - Steps to restore the forest
- AD Forest Recovery - Identify the problem
- AD Forest Recovery - Determine how to recover
- AD Forest Recovery - Perform initial recovery
- AD Forest Recovery - Procedures
- AD Forest Recovery - Frequently Asked Questions (FAQ)
- AD Forest Recovery - Recover a single domain within a multidomain forest
- AD Forest Recovery - Redeploy remaining DCs
- AD Forest Recovery - Virtualization
- AD Forest Recovery - Cleanup