I have an issue renaming a domain controller, ill briefly outline what i have done
Needed to get a copy of our domain into a lab environment so took a copy of our DC that was a VM and uploaded it to a standalone esxi host in a lab, cleaned it all up including seized roles, metadata / DNS cleanup etc and is all good, no errors in event logs
Last step was to rename the domain, i followed a guide from MS and this link
Blog to rename domain
Everything was going great, i had renamed the domain and could log back in, ADUC showed the new domain name.
I then followed the guide to use netdom to add the new name to the DC and then make it primary, it just does not seem to work, it says successful but after a reboot the old name is still there,
If i do net dom to add, then make primary
netdom computername dc.olddomain.local /add:dc.newdomain.local
netdom computername dc.olddomain.local /makeprimary:dc.newdomain.
Before rebooting i type
netdom computername dc.olddomain.local /enumerate
I will see the old and the new name listed
However after rebooting the name has not changed in system properties , if i try and enumerate against the new name i get access denied, if i then type the old name it responds but only shows the old name, the new one that was previously listed it gone
Where do i go from here?