[英]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
.我已经在 Windows Server 2019 上设置了 Active Directory,森林名称为
abc.def.net
但我们知道我们需要将此域名更改为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
.我希望用户只使用第二个域名 -
ab.de.net
。
In fact if there is any way I can delete the old domain, please let me know.事实上,如果有什么方法可以删除旧域,请告诉我。
Regards, Pushp问候, 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.早些时候,我的 DC 与
contoso.local domain
连接。您可以在下图中看到。
Now I have added a new zone ab.de.net
using DNS Manage->ForwardLookupzone现在我使用 DNS Manage->ForwardLookupzone 添加了一个新区域
ab.de.net
changed DC domain to ab.de.net
将 DC 域更改为
ab.de.net
Now My DC users is shown up for both the domain.现在,两个域都显示了我的 DC 用户。
Now Open cmd and type rendom /clean
.现在打开 cmd 并输入
rendom /clean
。 This is to remove references of the old domain name from AD.这是为了从 AD 中删除旧域名的引用。
Next, type rendom /end
.接下来,输入
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.或者,您也可以从此处直接删除旧域。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.