简体   繁体   中英

Remove old domain name from Active Directory

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

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.

在此处输入图像描述

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

changed DC domain to ab.de.net

在此处输入图像描述

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

在此处输入图像描述

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.

在此处输入图像描述

You can refer this Document for the detailed explanation.

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

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM