Ayuda memoria para limpiar la METADATA del AD a mano!
(NTDsutil)
Administrative credentials
- To complete this procedure, you must be a member of the Enterprise Admins group.
Open a command prompt.
Type the following command, and then press ENTER:
ntdsutil
At the ntdsutil: prompt, type:
metadata cleanup
Perform metadata cleanup as follows:
- If you are performing metadata cleanup by using the version of Ntdsutil.exe that is included with Windows Server 2003 SP1, at the metadata cleanup: prompt, type:
remove selected server ServerName
Or
remove selected server ServerName1 on ServerName2Value Definition ServerName, ServerName1
The distinguished name of the domain controller whose metadata you want to remove, in the form cn=ServerName,cn=Servers,cn=SiteName, cn=Sites,cn=Configuration,dc=ForestRootDomain
ServerName2
The DNS name of the domain controller to which you want to connect and from which you want to remove server metadata
- If you are performing metadata cleanup by using the version of Ntdsutil.exe that is included with Windows Server 2003 with no service pack, perform metadata cleanup as follows:
- At the metadata cleanup: prompt, type:
connection - At the server connections: prompt, type:
connect to server Server - At the server connections: prompt, type:
quit - At the metadata cleanup: prompt, type:
select operation target - At the select operation target: prompt, type:
list sites
A numbered list of sites appears. - At the select operation target: prompt, type:
select site SiteNumber - At the select operation target: prompt, type:
list domains in site
A numbered list of domains in the selected site appears. - At the select operation target: prompt, type:
select domain DomainNumber - At the select operation target: prompt, type:
list servers in site
A numbered list of servers in a domain and site appears. - At the select operation target: prompt, type:
select server ServerNumber - At the select operation target: prompt, type:
quit - At the metadata cleanup: prompt, type:
remove selected serverValue Description Server
The DNS name of a domain controller that you want to connect to
SiteNumber
The number associated with the site of the server that you want to clean up that appears in the list
DomainNumber
The number associated with the domain of the server that you want to clean up that appears in the list
ServerNumber
The number associated with the server that you want to clean up that appears in the list
- If you are performing metadata cleanup by using the version of Ntdsutil.exe that is included with Windows Server 2003 SP1, at the metadata cleanup: prompt, type:
At this point, Active Directory confirms that the domain controller was removed successfully. If you receive an error message that indicates that the object cannot be found, Active Directory might have already removed the domain controller.
At the metadata cleanup: and ntdsutil: prompts, type quit.