active directory users

Is their a process for finding out which active directory users have not had any activity for let's say 1 year?  I know I have many users in AD that are old and can be deleted.  How about a backup of AD before I start doing anything?
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.

Lee W, MVPTechnology and Business Process AdvisorCommented:
In a command prompt on the DC, run:

dsquery user -inactive 52

Open in new window

Save the list.  Disable the users first.  If they don't complain in 3 months, delete.

(The number 52 is the number of weeks)

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
E ATech LeadCommented:
Step 1: Use Dsquery Command
Dsquery user –inactive X –limit 0

Step 2: Export the List of Inactive Users
Dsquery user –inactive X > C:\Folderyouwantthereportsin\inactive users.csv

Managing Inactive Active Directory Accounts Using PowerShell:

Hope this helps!
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
Windows Server 2008

From novice to tech pro — start learning today.