Cleanup Steps After Undo
Cleaning up NTDS Settings
If you use the Undo procedure, the DC will “disappear” from the viewpoint of remaining domain controllers. You may need to clean up the NTDS Settings metadata for the disappearing DC on the remaining domain controllers. For details see the Microsoft Knowledge Base article How To Remove Data in Active Directory After an Unsuccessful Domain Controller Demotion (KB216498).
Resetting the Member Computer Account
If the computer was originally a member of a domain it will suddenly “reappear” as the member it was originally. If the computer “disappeared” many days ago, the domain controllers may have dropped the member computer account due to inactivity. This typically happens after 7-14 days.
To recreate and reset the member computer account use the following procedure:
- On a domain controller click on Control Panel -> Administrative Tools -> Active Directory Users and Computers. Delete the old computer account (if any) under Computers.
- On the restored member computer click on Control Panel -> System. Click on the tab Computer Name. Click the button Change. Select the option to leave the domain. Assign a temporary workgroup name. You will be asked to reboot.
- On the domain controller re-create the computer account under Computers. This has the effect of resetting the password for the computer account.
- On the restored member computer go back to Control Panel -> System. Click on the tab Computer Name. Click the button Change. Join the domain. You will be asked to reboot.
A faster method is to use the console utility
On the primary domain controller open an administrative console and type:
For ComputerName type the name of the restored member computer.
For DomainName type the name of the domain. For User
type the name of the local Administrator account on the
restored computer (typically ComputerName\Administrator).
Type in the computer's local administrator password
when you are prompted. (Do not confuse it with the
domain administrator password.)
Resetting the DC Shared Secret
If the computer was previously a domain controller for another domain or forest, it will suddenly “reappear” in the original domain. If there are other domain controllers in the original domain, and if more than 14 days have elapsed, you may be required to re-establish the shared secret with the other domain controllers. This is because the domain controllers change their shared security secrets every 14 days.
To reset the shared secret you must fix the computer's DC machine
account. Open an administrative console
and use the utility
Run DCDIAG on the restored computer.
For DomainController type the name of the restored
computer. If necessary
add the
or .
