help with removing old domain controller

Here is my situation. Replication is failing somewhere, I'm not sure where to fix it. I can run some dcdiag reports, but I'm not sure which ones to run. I can paste results here.

DC01old is a demoted Win2003 DC that is powered off and gone.
DC02old is a win2003 DC that is still active but I want to demote it

The 3 new DC's (DC01, DC02, DC03) are replicating with DC02old.
DC02old still shows DC01old in the ntds settings. This should not be there, I would assume.

I tried using ntdsutil to do some meta cleanup but it showed nothing to cleanup.

There is the option to right-click DC01old in ntds settings and Delete, but I dont want to screw anything up. For Site3/DC03 I did manually add DC01 and tried to replicate but getting the 'Naming context is in the process of being removed' error. Any ideas?? Thanks.

Sitename            From Server
DC01            DC02old

DC02            DC02old
DC02old            DC01old, DC02, DC03

DC03            DC02old
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike KlineCommented:
Are you running 2008 on your new DCs, if so you can safely delete that old box.  That is how metadata cleanup is done in 2008 and newer



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cb_itAuthor Commented:
Yes, new servers are 2008R2.

Thanks for the link, and quick reply. The article mentions right-click on NTDS settings and hit delete. My old server DC01old isnt on the left hand side as a server, it only shows up as a replication partner when I click on DC02old.

It actually shows DC01old\OADEL:0a7a378d.... blah blah.

Is this safe to delete, I would assume considering this server doesnt exist. But would this be causing my replication to fail? What about that naming context error??
Mike KlineCommented:
Yes you can delete that connection object, do you see any other places where DC01 is listed (DNS, ADUC, sites and services, etc)


Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

cb_itAuthor Commented:
Again, thanks for the quick response, Mike.

I did delete it from ADUC and from DNS, but I did double check and I see the old server in DNS with a Name Server (NS) record. The server is gone so again I would assume this can safely go?

repadmin /showreps says replication failed because of a schema mismatch.
cb_itAuthor Commented:
Anyone have any ideas to help me out, I'm pretty stuck. Replication is still failing. Tons of KCC errors everywhere.

In AD Sites and services I dont see all of domain controllers listed under each NTDS Settings. Some DC's are here, some are there, some not at all. Any help would be greatly appreciated, thanks.
Mike KlineCommented:
Yes delete the server from name servers and any other references you find.  

Did you see this KB for schema mismatch (it is a long one)


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.