Question Locked
0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to get a list of all inactive user accounts in my Windows Server 2012 Active Directory environment?
2 replies
by tom wolfe Accepted solution
Clarification dummy post @ 1410258276
by johnwhitman Accepted solution
You can use dsquery( http://technet.microsoft.com/en-us/library/cc732952(WS.10).aspx ) 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 (http://www.lepide.com/active-directory-cleaner/) 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.
This discussion is closed to new replies.
Trending Security posts
Sort by Trending
0 helpful
2 replies
0 helpful
0 replies
0 helpful
7 replies
Discussion Locked
LiteLLM SQL Injection Vulnerability (CVE-2026-42208)
0 helpful
0 replies
Discussion Locked
How do you go about MCP Security?
0 helpful
8 replies