Solved

renaming domain controller not working

Posted on 2014-02-28
7
1,805 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 
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 37

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
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…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

696 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