Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Delete an orphan DC

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-09-2009
Member
 
Join Date: Jan 2009
Posts: 145
Delete an orphan DC

Hello I had 2 DCs running server 2008R2 and now on of the DCs has been completely formatted and re-installed and is using a different domain. The problem is that I want to use the new domain on the other DC as well but I cannot demote the old domain since it cannot contact the other DC which he still thinks that exists.

How can I demote the old domain so that I can run dcpromo again for the new domain without doing a format preferably.

Thank you

Reply With Quote
  #2  
Old 20-09-2009
Member
 
Join Date: Oct 2005
Posts: 725
Re: Delete an orphan DC

It seems that you have not perfectly demote the DC that you formatted. You can try to perform a Metadata Cleanup to get rid of the old DCs reference from the AD database. After that follow the instruction in the link below with using ntdsutil to clean it up. After you have completed the Metadata Cleaup procedure, you should seize any FSMO roles the formatted DC used to hold, to the existing one. After that is done, you can also delete its reference from AD Sites and Services.

http://support.microsoft.com/kb/216498

http://support.microsoft.com/kb/255504
Reply With Quote
  #3  
Old 20-09-2009
Member
 
Join Date: Sep 2005
Posts: 1,427
Re: Delete an orphan DC

I think that after you have deleted the DC computer object in Active Directory Users and Computers, it should get rid of any references to it from AD.
Reply With Quote
  #4  
Old 20-09-2009
Member
 
Join Date: Jan 2009
Posts: 145
From ADUC I cannot find any delete option, can you specify exactly.

found it but it tells me that the object cannot be deleted because the snap in is connected to the domain controller that is being deleted.
Reply With Quote
  #5  
Old 25-05-2011
Member
 
Join Date: Jan 2009
Posts: 145
Hi. I see this is an old thread, but I am having a similair problem. But unfortunately the fix suggested above does not work for me.

I apologize in advance for loaing this thread, but hope it is ok.

Situation:
I got one domain, with a few DCs in. I recently installed a new DC and added it to the domain. It appears in "Domain Controllers" in ADUC. This new DC I am talking about is a Virtual Machine. I had to reconfigure my datastore on the host, upon doing that I had to delete the current datastore to reconfigure the block size.

I therefore deleted the virtual machine, without demoting it first. I realize this was really stupid.
Of course it is easy, even for myself to say that was stupid, I could just have moved it to another host, or even demoted it first... but I didn't know this.

So the problem:
When I try to delete it under ADUC/Domain Controllers, I get "Warning! You are attempting to delete a Domain Controller from ADDS without using AD Installation Wizard (DCPromo). To properly remove the Domain Controller from AD DS domain, you should run DCPromo on the domain Controller that you want to delete", I am pretty sure this is a standard message, but I just want to include it here so you guys have the full story.

The delete button is there, but I can not click it, however if I enable "This Domain Controller is permanently offline and can no longer be demoted using ADDS Inst Wiz (DCPROMO) I can click delete. So far that was suprisingly easy I thought. Then I am asked if I am sure, of course I am, otherwise I would not do it... I click "Yes" and get the following error which I have not been able to get past:

DCserver1 is the mother of all mothers in my domain.
DCserver2 is the server and DC i want to remove/demote from my AD.

"Windows cannot delete object LDAP://DCserver1.mydomain/CN=theDCserver2,OU=Domain Controllers,DC=mydomain,DC=no because: The specifed module could not be found."

I now click "ok" and can not get further. Any help would be really much appriciated.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Delete an orphan DC"
Thread Thread Starter Forum Replies Last Post
Internet Explorer 9 wont delete cookies when set to delete all history on exit Ritesh Singh Technology & Internet 5 06-05-2012 09:19 AM
Check Links reports orphan files that do exist Jayden Windows Software 3 30-07-2009 06:36 PM
Missing Orphan file in Windows XP PacMan Windows Software 3 14-07-2009 01:20 PM
How To Delete Files Which Windows Wont Delete? Hardik Windows Software 2 06-03-2007 12:45 PM
Removing orphan DC / Domains Moiz Active Directory 1 14-02-2007 10:59 PM


All times are GMT +5.5. The time now is 05:27 PM.