Saturday, December 15, 2007

Carburetor For 1979 Ford 351m

: Removing orphaned objects

Good, now we learn how to clean the Active Directory objects orphans. A common case is when a domain controller fails, or when trying to remove it but it is not possible. So it is in those moments where we remove objects manually. I emphasize that this procedure applies to domain controllers on Windows Server 2003 SP1 onwards. You can perform this procedure on Windows 2000/2003, but I recommend you review the following Microsoft article: http://support.microsoft.com/kb/216498/en-us .

Steps:
  1. First we must ensure that FSMO roles are hosted on domain controllers working in production. Something very common is that domain controllers have roles suffer from HW or SW failures. We must therefore seize the FSMO roles. Remember that a domain needs to have 3 and a forest FSMO roles have 2 FSMO roles. Eg A single domain has 05 FSMO roles, it is a forest. Ie the parent domain peru.local has 5 FSMO roles but only 03 lima.peru.local child domain roles. You can see the procedure or seize Seize FSMO roles: http://exchangepro.blogspot.com/2007/12/transferencia-y-apoderamiento-de-roles.html . Using

  2. utility netdom query fsmo can see which domain controller holds the FSMO roles.

  3. We access
  4. Start, Run, type cmd or command line .

  5. ntdsutil write.

  6. ntdsutil: metadata cleanup

  7. metadata cleanup: connections

  8. server connections: connect to server xxxxxx (where xx is the domain controller where you'll switch to clean the AD).

  9. server connections: q

  10. metadata cleanup: select operation target

  11. select operation target: list domains (List domains).

  12. select operation target: select domain% , where% is the number that identifies the domain where the domain controller to be removed.

  13. select operation target: list sites (List of sites).

  14. select operation target: select site% where % Is the number that identifies the site where the domain controller to be removed.

  15. select operation target: list servers in site (List of domain controllers in the site previously selected.)

  16. select operation target: select server% , where% is the number that identifies the domain controller to remove

  17. select operation target: q

  18. metadata cleanup: remove selected server . We must accept the message that informs us that will remove a DC.

  19. Login to Active Directory Sites and Services and expand servers and remove the domain controller manually. Using the server right click and select Delete .

  20. We entered the adsiedit.msc (We have installed the Support Tools), and stir the following records:

  21. * OU = Domain Controllers, DC = exchangePro, DC = local
    * CN = Default-First-Site-Name, CN = Sites, CN = Configuration, DC = exchangePro, DC = local
    * CN = Domain System Volume (SYSVOL share), CN = File Replication Service, CN = System, DC = exchangePro, DC = local

  22. We enter the DNS console housing management. Eliminate all records associated with that server, type NS and A (Host). EYE : We consider that within the DNS zones are registered other servers to resolve DNS queries. Otherwise there will be problems with name resolution service.

If we are removing the last domain controller or the last domain controller of a child, we must do the following: We entered the

  1. Adsiedit.msc and found that there is no record of the domain controller manually removed . Expand
  2. container: CN Domain, expand DC = yourdomain , DC = local , Expand System , select Domain Trust right click and Delete .
Finally, we recommend you access the following articles from Microsoft.
http://support.microsoft.com/kb/555846/en-us http://support.microsoft.com/kb/216498/en-us

Greetings!

Video:

0 comments:

Post a Comment