Use the following procedure to reset the computer account password of the Domain Controller (DC).
Reset the computer account password of the domain controller
-
Open PowerShell as an Administrator, type the following command, and then press ENTER:
Reset-ComputerMachinePassword -
Run the same command again to ensure other Domain Controllers from before the Forest Recovery can't replicate from it.
Warning: This should only be carried out on the sole recovered DC during a forest recovery exercise. Using this command <i>will</i> break replication with other DCs.
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
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
