Solved

renaming domain controller not working

Posted on 2014-02-28
7
1,715 Views
Last Modified: 2014-03-19
Hi All

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.local

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?

Thanks
0
Comment
Question by:ncomper
7 Comments
 
LVL 18

Expert Comment

by:Sarang Tinguria
ID: 39894635
Please go through below link and verify if you have performed all steps correctly
http://www.petri.co.il/rename-windows-server-2008-domain-controllers.htm
0
 
LVL 1

Expert Comment

by:Colin
ID: 39894640
You can't rename a domain controller. The only way you can do that is to demote it from being a domain controller, rename it and then promote it again.

If you do manage to do it then it is not a proper Microsoft supported operation and you will always have strange errors for the life of the server.
0
 
LVL 5

Author Comment

by:ncomper
ID: 39894845
Hi Colin

Apologies i I should have pointed out i am not actually changing the DC's host name, rather the full computername as the domain has changed.

e.g renaming from dc01.myolddomain.local to dc01.mynewdomain.local

This is a supported operation from windows 2003 DFL upwards

Thanks
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 1

Assisted Solution

by:Colin
Colin earned 250 total points
ID: 39899239
Oh ok. So essentially you are dis-joining from the domain and then joining to a new domain anyway.

Have you cleaned up active directory and DNS after joining to the new domain? You can use ADSI edit to look for references to the old domain.
0
 
LVL 36

Accepted Solution

by:
Mahesh earned 250 total points
ID: 39902975
Did you forgot to remove old computer name after reboot ?

NETDOM computername your_DC_new_Name /remove:old_FQDN_of_DC

Reprinted from above link

Also you need to repair FRS references as well

Update the FRS or DFS Replication Member Object

Mahesh
0
 
LVL 5

Author Comment

by:ncomper
ID: 39936532
Hi

I got to the bottom of it in the end, at this stage i still couldnt see the GPO's as following the document you fixed that after, however i changed the order and fixed them first, i then see a gpo that was setting the dns suffix so i changed that and its worked fine, i now have a nice clean and healthy renamed domain

Thanks for the help
0
 
LVL 1

Expert Comment

by:Colin
ID: 39940262
Excellent, well done.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question