Solved

renaming domain controller not working

Posted on 2014-02-28
7
1,770 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
Office 365 Training for Admins

Learn how to provision tenants, synchronize on-premise Active Directory, and implement Single Sign-On with these master level course.  Only from Platform Scholar

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 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