Monday, February 2, 2009

Removing domains or child domains those are not hosting by functional Domain Controllers in your AD structure + Error 0x2162


Picture2

Picture1
Removing domains or child domains those are not hosting by functional Domain Controllers in your AD structure.
Follow these steps on server that is holding Domain Namig Master FSMO role.
run -- cmd

ntdsutil (Enter)

metadata cleanup (Enter)

connections (Enter)

connect to server servername (Enter) "Servername is name of server that is holding Domain Naming Master FSMO role.

quit (Enter)

select operation target (Enter)
list domains (Enter)
select domain numara (Enter) "Choose the domain number that you want to remove"

remove selected domain (Enter)
After applying last step press yes in warning and your domain will be removed.

If you are facing with " error 0x2162(The requested domain could not be deleted because there exist domain controllers that still host this domain.)" error in the last step you should remove unfunctional domain controllers manually.

Open Active Directory Sites and Services Console.
Expand unfunctional DC(Picture1).Right Click to that unfunctional DC NTDS settings and click Delete. In the warning screen select the third option(picture2) and click Delete
and lastly right click the unfuncyional server name and choose Delete.
Repeat the last step in ntdsutil again "remove selected domain" and your unfunctional domain will be removed.

No comments:

Post a Comment

 
span.fullpost {display:inline;}