Reply To: How To List Inactive Computer Accounts In Active Directory

IT Support Forum Forums Active Directory Users And Computers How To List Inactive Computer Accounts In Active Directory Reply To: How To List Inactive Computer Accounts In Active Directory

#1895
Webmaster
Keymaster

You can also do this command to list the stale computer accounts:

dsquery computer -inactive 4

That tells you all the computers that are inactive in the last 4 weeks. I think this is a better way to list the stale computer accounts as it can pick out computers that are inactive on the domain, which means you don’t have to wait for the computers domain password to expire before the computer can be identified as inactive / stale.