I can't remove decommissioned DC from 2012 server

Rick Mills
Rick Mills used Ask the Experts™
I took over support for a small non-profit.  The old IT company was hosting their domain controller (OldDC).  I installed a new DC (NewDC) on-premise with 2012 Foundation, joined it to the domain and made it a domain controller.  We changed Internet providers about the same time.  The old IT provider could not get the VPN to connect, after changing the Internet provider (that one still stumps me).  OldDC is still a domain controller in my AD, but I can no longer access it.
If I go to ADUC and select to delete OldDC, i get the "you are attempting to delete a Domain Controller without running the removal wizard..." message.  I check the box for Delete this DC anyway and click the Delete button.  Here's the message I get.
Windows cannot delete object
LDAP://NewDC.mydomain.org/CN=OldDC,OU=Domain Controllers,DC=mydomain,DC=org because:
Access is denied

I can't run a DCPROMO /FORCEREMOVAL because that's now incorporated into Server Manager.
I ran NTDSUTIL and when I listed the servers in site, it only lists NewDC.  I tried to select server OldDC, anyway, but it said invalid syntax.

Can anyone offer a suggestion on how to remove this old server?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Solution Architect
Most Valuable Expert 2015
Top Expert 2015
Make sure that the old DC is not protected from accidental deletion. If that does not work then go into adsiedit and remove the DC from there

Also run netdom query dc

If it shows the old dc then you should also see it using ntdsutil and remove the object and perform the meta data cleanup as usual. Make sure that you did not originally make an incorrect command in ntdsutil and missed the old dc entry.

FOXActive Directory/Exchange Engineer
Top Expert 2015

You can try removing it via powershell as well.  Open up powershell (run as administrator)
run this command
Uninstall-ADDSDomainController -ForceRemoval -LocalAdministratorPassword  -Force

ref link:
Rick MillsPresident


Foxluv, wouldn't that remove AD from the server I run the command from?
I need to remove OldDC (which I can't get to any longer) from the AD installed on NewDC.

I believe this is the command I would want to run on OldDC, not NewDC.

I would strongly suggest reading this:


and would check on parameters/limits and (roles and features)/(Availability and limitations)

Does anything within your network exceed limits or limitations?


Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial