Avatar of obaidoa
obaidoa
 asked on

How to remove orphaned domains from Active Directory

How to remove Domain controller windows server 2003 form active directory ,that already been switched off .

Thanks
Windows Server 2003Active DirectoryDNS

Avatar of undefined
Last Comment
obaidoa

8/22/2022 - Mon
Chris

You need to use NTDSUTIL to run a metadata cleanup. Follow the instructions on the following page:

https://technet.microsoft.com/en-us/library/cc736378%28v=ws.10%29.aspx
Will Szymkowski

To perform regular metadata cleanup as stated you use the NTDSUtil command. Another thing i would suggest is make sure that you check your _msdcs.domain.com folder under your FQDN Primary Zone. Check all of the folders in there to ensure that there are no more remnants of this 2003 Domain Controller in any of the SRV records location.

You will also want to make sure that you check site and services as well to ensure that the computer objects are also removed.

In the past using NTDSUtil i have had occasions where these areas where not cleaned up and i had to manually go in a remove these objects. If you see them after using NTDSUtil you can simply delete them.

Will.
obaidoa

ASKER
Hi Will
thanks for reply . Would it possible to that if you send me some links.
thanks
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER CERTIFIED SOLUTION
Will Szymkowski

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
obaidoa

ASKER
Comprehensive answer