It appears once again that i am playing the nonstop error game trying to migrate FSMO roles from 2012 to 2016. The site has an existing 2012 DC and I have spun up a new 2016 server to replace it.
I followed this doc https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/deploy/upgrade-domain-controllers
is where i ran into my first issue. Domain could not be contacted or similar. I have been playing with this for 4 hours now and I cant remember all the hoops i have had to jumped through but this is my best recollection. After making sure both servers NIC DNS settings were good AND running
Set-ADComputer -Identity NewServerName -DNSHostName $null
Set-ADComputer -Identity NewServerName -DNSHostName NewServerName.domain.local
I was able to get past this point.
looks correct as per the details provided in the doc.
Now, its time to demote the existing DC, sweet! Since the doc now sends me elsewhere I have a better docs that also goes though the demoting process without chasing URL's.
Starting from "Migrate FSMO Roles to windows server 2016 AD" I checked using
netdom query fsmo
that both the new and old DC showed the new DC as the current owner of all FSMO roles. I moved onto demoting the old DC "Uninstalling AD role from windows server 2012 R2".
Uninstall-ADDSDomainController -DemoteOperationMasterRole -RemoveApplicationPartition
however was a different story. Once again I faced "Unable to contact the server". Yet again i played with DNS and set the old server to point to the new and the new server to point to the old. I believe this was the resolution to move forward.
Back at it again and I received this error "You indicated that this Active Directory domain controller is not the last domain controller for the domain. However, no other domain controller for that domain can be contacted". Again? DNS your killing me. I re-ran the same command with -IgnoreLastDCInDomainMisma
tch switch and, you guessed it "A domain controller could not be contacted for the domain".
I have to get this migration done today and this server is fighting me at every turn.