Cleanup Active Directory

I would like to clean up some of the objects in Active Directory that are no longer being used.  Mostly the objects consist of workstations and users.  Is there a tool that I can use to identify which of these objects have not accessed the network in x amount of time so I can review them and decide if they can be removed?
NytroZAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Yes, there is a free tool to clean up your Active Directory domain by identifying unused user and computer accounts. This application will search your Active Directory domain for user/computer accounts that match your search criteria, then you can perform a number of actions.

Get the tools from the microsft TechNet site below

http://gallery.technet.microsoft.com/ActiveDirectory-cleanup-b2482cc3

Regards
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mike KlineCommented:
A few tools that I recommend

http://www.joeware.net/freetools/tools/oldcmp/

old computer by MVP Joe Richards, has a lot of safety features and works for both users and computers

adtidy

http://www.cjwdev.co.uk/Software/ADTidy/Info.html

Free GUI based tool that can help ID and disable old accounts.

We disable after 90 days and delete after 180

Thanks

Mike
0
SandeshdubeySenior Server EngineerCommented:
You can also use dsquery command to find inactive computers/users.
http://www.techrepublic.com/blog/datacenter/identify-stale-active-directory-computer-accounts-with-dsquery/4148

As an example, the following command will find all computers in Active Directory that have not been logged into during the past 8 weeks:
dsquery computer -inactive 8
dsquery user -inactive 8

similar thread see this multiple options.
http://social.technet.microsoft.com/Forums/windowsserver/en-US/e64b0946-ac72-42df-bf83-ea0555b726bc/dsquery-command-to-find-inactive-domain-users-and-excluded-disabled-users

http://portal.sivarajan.com/2011/03/computer-cleanup-script-batch-file.html

Hope this helps
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.