Find inactive users in AD

By tom wolfe ·
I need to get a list of all inactive user accounts in my Windows Server 2012 Active Directory environment?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Find inactive accounts in AD

by johnwhitman In reply to Find inactive users in AD

You can use dsquery( ) to get a list eg. to find all inactive user accounts for 8 weeks

dsquery user -inactive 8 -limit 0

Otherwise, you can also try this active directory cleanup tool ( to generate the comprehensive report on all inactive users accounts that have not logged on within last x number of days and shows the list of inactive users.

Related Discussions

Related Forums