1. Run Ntdsutil on the primary domain controller
:
(If you do not have this command on 2003, you will need to manually install the \support\tools\suptools in the 2003 system disk.) MSI package)
2, Input:
Metadata cleanup Clean the objects of unused servers:
All commands are available through the "?" Ask, according to the note prompt action:
3, Input
connections Select Connect domain controller target:
4, input
connect to domain dcxr.com is to enter the domain name to be connected:
5, enter Select
operation target selected domain:
Enter
list domains to list all domains:
6. Enter
Select domain 0 to select domain controller to be deleted:
7, input
list sites list the site in the domain:
8. Enter
Select site 0 Select the site where the domain controller you want to delete is located:
9. Enter
list servers in site to list the servers that exist in this site:
10. Enter Select
server 1 to select the domain controller to remove:
11. Input Remove
selected server deletes the server you just selected in database mode, and then click OK to continue:
14. View DNS related area information, ad directory and computer and AD site and service information, etc.:
The finishing steps are as follows:
Ntdsutil:metadata cleanup clean up objects for unused servers
Metadata Cleanup:connections Select Connection domain controller target
Server connections:connect to domain dcxr.com Enter the domain name that you want to connect to
Metadata cleanup:select operation target selected domain
Select operation target:list Domains List all domains
Select operation Target:select domain 0 to choose domains to be deleted
Select operation target:list sites lists the site in the domain
Select Operation Target:select Site 0 Choose the site where the domain controller you want to delete is located
Select operation target:list Servers in site lists the servers that exist in this site
Select Operation Target:select Server 1 Choose to remove a domain controller
Select Operation Target:quit
Metadata Cleanup:remove selected server deletes the server you just selected in database mode
This concludes the operation for Server 2003 forced demotion, which allows us to forcibly remove residual information from domain controls that cannot be contacted in order to achieve our degraded requirements.