Results 1 to 4 of 4

Thread: AD health check and cleanup

  1. #1
    Join Date
    Sep 2004

    AD health check and cleanup

    Hi, Iím running a Windows 2003 SP2 native mode with Single forest and single domain. Now I want to upgrade my domain to Windows 2008 AD by putting a new DC with Windows 2008 R2. Before I do that I would like to see my current AD in a good condition and cleanup any obsolete objects. Also the new Windows 2008 DC will be having a new name.

    So I need some suggestions from you all about what Tools, scripts or commands do I need to run before the upgrade process. Thanks in advance.

  2. #2
    Join Date
    Dec 2005

    Re: AD health check and cleanup

    Whenever I come across such problems the very first thing I do is check the eventlog of all DCs involved and running repadmin as well as dcdiag on the DCs. This is helps us lot. So check the same first and if there are any error messages listed in the event log or with replication errors, then there are several built-in tools available in the Windows Server which will help you out.

    As far as cleaning up and deleting obsolete objects is concerned, you can look at joe's oldcmp at . It will help you to delete stale computer and user objects.

  3. #3
    Join Date
    Sep 2005

    Re: AD health check and cleanup

    Hello Brandy,

    Yes, there are several tools available using which you can check the health of your DC 2003. Tools such as dcdiag /v, netdiag /v and repadmin /showrepl will help you for the same. For using this tools you will need to install the support\tools\suptools.msi
    from the 2003 installation disk. And as techman said above, you should always check the Event Viewer to get the report of your DCís health. Apart from this you can also run:

    dnslint /ad /s "DC ip address"

  4. #4
    Join Date
    Sep 2004

    Re: AD health check and cleanup

    We run the following script every week plus SCOM is online.Obviously you
    need to change the dcName and ip_address

    @echo off

    cd \
    cd "program files\support tools"

    del c:\dcdiag.log
    DCDIAG /V /C /D /E /s:dcName > c:\dcdiag.log
    start c:\dcdiag.log

    repadmin.exe /showrepl dc* /verbose /all /intersite > c:\repl.txt
    start c:\repl.txt

    start notepad.exe C:\WINDOWS\Debug\Netlogon.log

    ntfrsutl ds dcName > c:\sysvol.log
    start c:\sysvol.log

    dnslint /ad /s ip_address /v

Similar Threads

  1. HP Total Care Advisor Health Check CRASH!!
    By missym84 in forum Vista Help
    Replies: 11
    Last Post: 13-03-2010, 04:34 PM
  2. Active Directory Forest Health Check
    By Robbin M in forum Active Directory
    Replies: 3
    Last Post: 19-02-2009, 02:43 AM
  3. HDD's health is only 55% !
    By SledgeHammer in forum Hardware Peripherals
    Replies: 4
    Last Post: 12-02-2009, 10:02 PM
  4. Replies: 2
    Last Post: 04-12-2008, 02:05 PM
  5. A health-check script for Active Directory on Win 2000/2003
    By JackFlash in forum Active Directory
    Replies: 5
    Last Post: 19-02-2007, 01:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts