Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


remove old computers from active directory 2008

Posted on 2009-12-30
Medium Priority
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

Mike Kline earned 2000 total points
ID: 26146745
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
Let's recap what we learned from yesterday's Skyport Systems webinar.
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

577 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