Solved

Remove Failed Domain Controller

Posted on 2004-08-09
19
5,856 Views
Last Modified: 2012-06-27
After a domain controller failed and was 100% gone.
I tried to remove this domain by using the ntdsutil utility, when I received the following error message.  I need to remove this ‘child’ domain so that I can add a new one (that holds the same name as the last).

The error message reads:
DsRemoveDsDomainW error 0x2162(The requested domain could not be deleted because  there exist domain controllers that still host this domain.)

Thanks

0
Comment
Question by:weguardyou
  • 8
  • 5
  • 3
  • +3
19 Comments
 
LVL 9

Expert Comment

by:jdeclue
Comment Utility
If the domain controller is 100% gone, you cannot remove the domain. As it does not exist. DId you have any other DC's.
0
 
LVL 1

Author Comment

by:weguardyou
Comment Utility
Yes. I have the master domain (Primary).
For example:  The master domain is:  master.domain.com, this was child.domain.com.  The child.domain.com is dead, and lost.  But I need to remove it from the master domain so that I can build a trust with a new domain controller that I made, also named ‘child.domain.com’.

0
 
LVL 16

Expert Comment

by:Nyaema
Comment Utility
The error suggests that the domain controllers in master.domain are seeing the domain controllers in child.domain.com

Leave the domains as they are.
Break the trust relationship in master.domain.com
Recreate the trust relationship.
0
 
LVL 1

Author Comment

by:weguardyou
Comment Utility
That is what I am trying to do.  I want to break it (remove it completely).
The thing is this:  The child.domain doesn’t exist any longer.  It’s gone!
The server had major Hard Disk Damaged and is no more.

So what I am doing is attempting to remove the trust from the master.domain so that I can now add the ‘new’ child.domain, that has the same name as the former child

Perhaps there is a way to do it using ‘ADSIEdit ‘then again I am not sure about where to drill down in ADSIEdit to do so.
0
 
LVL 9

Expert Comment

by:jdeclue
Comment Utility
In addition, if the Server itself (named object), still resides in Active Directory, it must be deleted from AD. If the server name is located anywhere in your Active Directory structure, then it still has the ability to contain Active Directory objects (a domain controller stills host a domain, whether it exists physically or not). You have probably already removed the server from AD, but I just wanted to make sure.

J
0
 
LVL 20

Expert Comment

by:Debsyl99
Comment Utility
Hi,
Looks like an adsi edit job - execute with a lot of care, and a good back-up ;)),
Removing Non-Existent Domain with Ntdsutil.exe Generates "DsRemoveDsDomainW Error..." Error Message
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q235416

Hope that helps,

Deb :))
0
 
LVL 1

Author Comment

by:weguardyou
Comment Utility
‘Exchange System Manager’s’ Servers List:

Located Under:  Administrative Groups > Servers

I right click on the object (server I wish to delete) and do so.  When I am presented with this message:

Setup encountered an error while checking prerequisites for the component "Microsoft Exchange Instant Messaging Service":
0X80072030 (8240): There is no such object on the server.

Facility: Exchange System Manager
ID no: c102fc97
Exchange System Manager

So perhaps I didn’t clear out all the info for the old (dead) server.
I am .... allmost lost.
0
 
LVL 4

Expert Comment

by:ashishdaga
Comment Utility
To work around the problem, remove the following references in the Active Directory Database, where Domain Name is the name of the domain:

DC=Domain Name,DC=com,CN=Users > CN=Domain Name$
DC=Domain Name,DC=com,CN=System > CN=Domain Name.root.com (trustedDomain)
CN=Configuration,Domain Name,DC=com,CN=Partitions > CN=Domain Name

Note that these entries can be removed by using Ldp.exe or Adsiedit.
0
 
LVL 1

Author Comment

by:weguardyou
Comment Utility
I preformed all the above steps and all seemed to have gone well… Until I noticed that the “DEAD” domain is still showing in users login options.  I tested with my workstation and I sell the domain name in the drop down box of options of domains to login to.

Perhaps, again this is a replication issue, perhaps not.  Is there anything I may be missing here?

0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 9

Expert Comment

by:jdeclue
Comment Utility
Open Regedit on one of the machines with the old domain in the logon domain.  Goto this key

My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon


Look at the CachePrimaryDomain, DefaultDomainName etc...

Let me know what you see.



0
 
LVL 1

Author Comment

by:weguardyou
Comment Utility
Ok,
0
 
LVL 1

Author Comment

by:weguardyou
Comment Utility
What I see here is my current domain name.
0
 
LVL 9

Expert Comment

by:jdeclue
Comment Utility
How many servers and workstations are in the environment?
0
 
LVL 1

Author Comment

by:weguardyou
Comment Utility
100 +
Note:  I don’t see the old (dead) domain in that listing in the registry.
Just my current domain?
0
 
LVL 1

Expert Comment

by:acidious
Comment Utility
Now you should be able to do a metadata cleanup using the ntdsutil and will remove the orphan domain.

http://support.microsoft.com/default.aspx?scid=kb;en-us;230306

Hope this helps.

Thanks,

Ryan
0
 
LVL 1

Author Comment

by:weguardyou
Comment Utility
Ha'
Been there and have done that also:
I used that tool 1st, and into issues cleared up some of my issues ran again (its gone)
The "orphan domain" no longer shows up using the ntdsutil.
0
 
LVL 9

Expert Comment

by:jdeclue
Comment Utility
It is most likely just the result of Master Browsers and Caches... wait a while
0
 
LVL 1

Expert Comment

by:acidious
Comment Utility
Ok now I'm grasping at straws but here it goes.

Straw #1: I know that Windows 2000 and xp machines caches domain/ site information but I don't know how long. So wait a little bit and see if it goes away.

Straw #2: Did you delete the child information out of DNS?  

Straw #3: I found another KB that may help  http://support.microsoft.com/default.aspx?scid=kb;en-us;247811

Thanks,

Ryan
0
 
LVL 1

Accepted Solution

by:
acidious earned 500 total points
Comment Utility
One more thing Also check Active Directory Sites and service for any stale info.  If so then delete it.

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Hello I read in a discussion about a person who configured a very simple mirror RAID with two hard drives; the system and data were on the same partition. He asked how to repair the system as it was not booting up anymore. In his case running …
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now