Remove old domain name from Active Directory

1.2k Views Asked by At

I have setup Active Directory on Windows Server 2019 with forest name as abc.def.net but we got to know that we need to change this domain name to ab.de.net.

Although I managed to make changes but now users are able to login using both the domains. I want users to only login using the second domain name - ab.de.net.

In fact if there is any way I can delete the old domain, please let me know.

Regards, Pushp

1

There are 1 best solutions below

1
RahulKumarShaw On

I have reproduced your scenario in my environment and I am able disconnect and delete the old domain.

Earlier my DC was connected with contoso.local domain.You can see in below picture.

enter image description here

Now I have added a new zone ab.de.net using DNS Manage->ForwardLookupzone

changed DC domain to ab.de.net

enter image description here

Now My DC users is shown up for both the domain.

enter image description here

Now Open cmd and type rendom /clean. This is to remove references of the old domain name from AD.

Next, type rendom /end. This is to unfreeze the forest configuration and allow further changes.

Once I have run the above commands it has removed the reference of my old domain.

enter image description here

You can refer this Document for the detailed explanation.

OR you can directly delete the Old Domain from here as well.

enter image description here