IMPORTANT: take enough time, or repadmin /SyncAll /AdeP, for replications to avoid from any possible errors
Pre-req
- Every DC in the forest MUST be contacted and updated
- In case one of the DCs were down or not automatically rebooted during steps below, the DC MUST be removed
- Identify a number of computer objects
- After the renaming work is completed, replication would cause excessive traffic in your network
- Check if computer objects' primary DNS suffix settings
- It might have been managed by GPO or individually.
- Check if CAs are running on DCs
- Functional level must be higher than Windows Server 2003
- See if your environment is free from Exchange, SCCM, or other applications. Certain versions are not supported.
- Please do read "How Domain Rename Works" - link below.
Things to know
Cited from https://technet.microsoft.com/pt-br/library/cc738208(v=ws.10).aspxDomain Controller States
Rendom records four states of completion for each domain controller in the state file:
- Initial: Each domain controller that is reachable during the domain rename procedure starts out from the Initial state.
- Prepared: When the domain rename instructions that are written by Rendom have been verified by a domain controller independently, it advances to the Prepared state.
- Final: From the Prepared state, a domain controller advances to one of two Final states. The domain rename process stops when every domain controller in the forest has reached either of the following states:
- Done: This state signifies that the domain rename is complete at that domain controller.
- Error: This state implies that some irrecoverable error has occurred, and further progress on the domain rename is deemed to be impossible at that domain controller.
DC01
- Create a new DNS zone
- Wait for/force the replication and check its completion
Control
- Install Remote Server Admin Tools
- Run random /list
- Generates a state file which contains a list of all the DCs in the forest
- Open Domainlist.xml file and change the DNSname and NetBiosName.
- Run rendom /upload
- Run rendom /prepare
- Run rendom /execute
- Automatic reboot on DCs
DC01
- Check the domain name changed
- DC renaming
DC02
- DC renaming
DC1 and DC2
- Reboot
DC1 or DC2
- GPMC fix
DC1, DC2, Control, all other DC-joined computers
- Reboot DC1 and DC2 twice
- Wait for replications
- Keep these DCs turned on and proceed to below
- Reboot more than twice
Control
- Unfreeze DC activities
- If any errors, make sure the replication is completed
DC1 and DC2
- Force replication
All other servers/computers
- Login test
DC
1. Once you are confident that the renaming work is all done with no errors, do "rendom /clean" to remove the old domain names.