My 2008 R2 server was very quickly showing signs of dying. I had purchased a Windows Server 2016 to replace it but when I noticed the old one was dying I put it into action. I followed the migration instructions and everything went well. However, I then made the mistake of trying to rename the new server the name of the old server. Now, I appear to be stuck. I was able to change the IP and DNS so that it reads the name I want it to read (DC01) but when I try to remote into it it says:" An attempt was made to login, but the network logon service was not started. "
I had changed the operation manager for RID, PDC and Infrastructure and it had taken, but after I changed the name it now reads "Error." in each field. I've tried changing the name back to the original name (DOMCON02) but it gives me the error: "The following error occurred attempting to rename the computer to DOMCON02 - The specified domain either does not exist or could not be contacted. "
I've tried removing the Active Directory feature from the new server but it gives me the error: The Active Directory domain controller needs to be demoted before the AD DS role can be removed.
I tried demoting the server and it says: "The wizard cannot access the list of domains in the forest. The error is: The interface is unknown."
I've tried re-promoting the server to a domain controller and it says: Error determining whether the target server is already a domain controller: The domain controller promotion completed, but the server is not advertising as a domain controller.
And lastly, When looking in Active Directory under Domain Controllers, I see the server in there, but it's under the old pre-change name, and it won't let me change it.
All this because I changed the name!
If anyone could help me figure out how to clean up this mess I would be very grateful.