The example is this: there are two trees in a forest, mm.com and cc.com, respectively, DC www.mm.com and Vdc.cc.com, Cc.com domain controller crashes, do not want to recover, to completely remove this domain, because vdc.cc.com has been formatted or due to some reason is not working properly, we have to manually delete the forest cc.com this domain (tree), otherwise the Network Neighborhood directory, Active Directory domain and trust relationship, Active Directory Sites and Services, as well as the addition of security labels for folders or files, are cc.com this domain exists. Delete steps as follows: Login with Admin account www.mm.com, open the Command line window: C:>ntdsutil ntdsutil:? ? -Print This Help information authoritative restore-authoritative restore DIT database domain management-prepare new domain Create files-manage NTDS database files Help-print this Help information IPDeny List-Manage LDAP IP deny list LDAP policies-Manage LDAP protocol policy Metadata Cleanup-clean objects for unused servers popups%s-with " On or off enable or disable pop-up Quit-Exit utility Roles-Manage NTDS role owner token security Account Management-Manage Security accounts database-replication SID cleanup Sem Antic Database Analysis-grammar checker Ntdsutil:metadata cleanup Metadata cleanup:? ? -Print this Help information connections-connect to a specific domain controller help-Print this helpful information Quit-Return to the previous menu remove selected domain-deletes the DS object for the selected domain Remove selected naming context-for named contexts Delete DS Object Remove selected server-Remove DS object Select Operation target from the selected server- ChooseOptional sites, servers, domains, roles, and naming contexts metadata cleanup:connections server connections:? ? -Print this Help information clear creds-Clears previous connection credentials connect to domain%s-connects to DNS domain name connect to server%s-connects to server, DNS name, or IP address Help-Print this helpful info-Show connection information Quit-Return to previous menu set creds%s%s-Set connection credentials to domain, user, password 0 password use "NULL" Server C Onnections:connect to server www bind to www ... Connect to the WWW server connections:q metadata cleanup with the credentials of this logged-on user:? ? -Print this Help information connections-connect to a specific domain controller help-Print this helpful information Quit-Return to the previous menu remove selected domain-deletes the DS object for the selected domain Remove selected naming context-for named contexts Delete DS Object Remove selected server-Remove DS object Select Operation target from the selected server- Selected sites, servers, domains, roles, and naming contexts metadata cleanup:select operation target Select operation target:? ? -Print this Help information connections-connect to a specific domain controller help-Print this helpful information list current selections-list the currently site/domain/server/naming Context list domain S-List all domain list domains in site containing cross-references-list naming C in the selected siteOntexts-List Understanding naming Context list roles for connected server-list connected servers known roles list servers for domain in site-lists the servers in the selected domain and site List servers in site-Lists the server list sites in the selected site-list sites in the Enterprise Quit-Return to previous menu Select domain%d-make%d fields the selected domain Se Lect Naming Context%d-make naming contexts%d the selected naming context Select Server%d-make%d servers the selected server Select Site%d-set%d sites as selected site SE Lect Operation target:list Sites found 1 sites 0-cn=default-first-site-name,cn=sites,cn=configuration,dc=mm,dc=com s Elect Operation Target:select site 0-cn=default-first-site-name,cn=sites,cn=configuration,dc=mm,dc=com no current domain No current server current naming context select operation Target:list domains in site found 2 domain 0-dc=mm,dc=com 1-dc=cc,d C=com Select operation target:select Domain 1 site-cn=default-first-site-name,cn=sites,cn=configuration,dc=m m,dc=com domain-dc=cc,dc=com does not have the current naming context for the current server select operation target:? ? -Print this Help information connections-connect to a specific domain controller help-print this helpful information List selections-Lists the current site/domain/server/Naming Context list domains-Lists all domain list domains in site that contains cross-references-list the domains in the selected site Lis T naming contexts-List Understanding naming Context list roles for connected server-lists the known roles of connected servers list servers for domain in site-lists the Select domain and server list servers in Site-list server list sites in the selected site-list site Quit in enterprise-return to previous menu Select domain%d-set%d Select Naming Context%d for selected domains-make naming contexts%d the selected naming context Select Server%d-to set%d servers as selected servers Select site%d-to set%d sites as The selected site Select operation target:list servers for domain in site finds 1 servers 0-cn=vdc,cn=servers,cn=default-first-sit E-name,cn=site, dc=com Select operation Target:select Server 0 site-cn=default-first-site-name,cn=sites,cn=confi guration,dc=mm,dc=com domain-dc=cc,dc=com server-Cn=vdc,cn=servers,cn=default-first-site-name,cn=sites,c DC=mm,DC=com DSA Object-Cn=ntds settings,cn=vdc,cn=servers,cn=default-first-site-name, cn=sites,cn=configuration,dc=mm,dc=com when Pre-named Context Select OperatIon target:q metadata cleanup:? ? -Print this Help information connections-connect to a specific domain controller help-Print this helpful information Quit-Return to the previous menu remove selected domain-deletes the DS object for the selected domain Remove selected naming context-for named contexts Delete DS Object Remove selected server-Remove DS object Select Operation target from the selected server- Selected sites, servers, domains, roles and naming contexts metadata cleanup:remove selected server "Cn=vdc,cn=servers,cn=default-first-site-name, Cn=sites,cn=confi c=com "deleted, from server" www "metadata cleanup:remove selected domain" dc=cc,dc=com "removed, from server" www "met Adata cleanup:q ntdsutil:q disconnected from www. C:> then restarts, discovering that the Active Directory domain and the trust, the cc.com in the Network Neighborhood have disappeared, and that the VDC still exists in the Active Directory site and service, which can be manually removed, very simply, Cc.com also exists in the security tagging of folders and files, the solution is to click Mm.com attributes in the Active Directory domain and trust, and delete the cc.com.