Pages

Sunday, June 10, 2012

Clean Up Server Metadata Windows Server 2008


1. Clean up server metadata by using Active Directory Users and Computers

  • Click Start > Administrative Tools > Active Directory Users and Computers
  • Right click Active Directory Users and Computers, then click Change Domain Controller
  • Click the name of the Domain Controller from which you want to remove the metadata, and then click OK
  • Expand the domain of the domain controller that was forcibly removed, then click Domain Controllers
  • In the right panel, right click the computer object whose metadata you want to clean up. Click Delete
  • In the Active Directory Domain Services dialog box, click Yes
  • In the Domain Controller dialog box, select "This Domain Controller is permanently offline and can no longer be demoted using the Active Directory Domain Services Installation Wizard (DCPROMO)", then click Delete
  • If the Domain Controller is a Global Catalog server, in the Delete Domain Controller dialog box, click Yes
  • If the Domain Controller currently holds one or more operations master roles, click OK to move the roles to the Domain Controller that is shown

2. Clean up server metadata by using Active Directory Sites and Services

  • Click Start > Administrative Tools > Active Directory Sites and Services
  • Expand Sites > Domain Controller that was forcibly remove > Servers
  • Right click NTDS Settings object, click Delete
  • In Active Directory Domain Services dialog box, click Yes
  • In the Deleting Domain Controller dialog box, select "This Domain Controller is permanently offline and can no longer be demoted using the Active Directory Domain Services Installation Wizard (DCPROMO)", click Delete
  • If the Domain Controller is a Global Catalog server, in the Delete Domain Controller dialog box, click Yes
  • If the Domain Controller currently holds one or more operations master roles, click OK to move the roles to the Domain Controller that is shown
  • Right click the Domain Controller that was forcibly remove, then click Delete
  • In Active Directory Domain Services dialog box, click Yes

3. Clean up server metadata by using Ntdsutil

  • Click Start, right click Command Prompt, click Run as administrator, and then click Yes
  • At the Command Prompt type "ntdsutil", then press Enter
  • At the ntdsutil: prompt, type "metadata cleanup", then press Enter
  • At the metadata cleanup: prompt, type "remove selected server <ServerName>" or  "remove selected server <ServerName1> on <ServerName2>", then press Enter
  • In Server Remove Configuration Dialog, review the information and warning, and then click Yes
  • At the metadata cleanup: and ntdsutil: prompt, type "quit", then press Enter



No comments:

Post a Comment