Batch file ok?
A simple way to perform this would be to run the NET USER command on any user that you would like to know. You could also use ADSI scripting to produce the output a little cleaner. . Output a list of the names by exporting them from AD. Then you can use a simply FOR statement to reset the accounts. Let's say your text file is names.txt. Create a batch file called CheckUser.bat. Put in the batch file the following:
Main Topics
Browse All Topics





by: netcmhPosted on 2009-11-02 at 11:56:15ID: 25723061
Right click Saved Queries. Go to New->Query, then Define query button, then from the drop down menu "Days since last logon" select number of days since last logon, options are 30, 60, 90 days etc