remove old computers from active directory 2008

Posted on 2009-12-30
Last Modified: 2012-05-08
I have active directory 2008.  I'm sure I have lots of computers in there that are old and should be cleaned up.  Is there a tool that can do this based on the last time a computer was logged onto or some other way?  I can't see how to filter that in AD.

Question by:AllanHale
    1 Comment
    LVL 57

    Accepted Solution

    old computer by MVP Joe Richards is my favorite tool for this
    What we do where I am is disable after 120 days and delete after 180 days.
    oldcmp -report
    That is a good starter report to show you all machines > 90 days.  joe has a great help section too.
    He also has a -users switch if  you want to look for old/stale users.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    I'm sure that every Windows systems administrator has written, or at least used, a batch or VBS login script at some point in their career, whether it is to map network drives, install printers, or set some user preferences.  No more! With Window…
    Synchronize a new Active Directory domain with an existing Office 365 tenant
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now