Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine Userid Created Date 1

Status
Not open for further replies.

sneeland

MIS
Jan 27, 2004
49
US
Is there a way, via either a freeware tool or other programatic way, to list from ActiveDirectory a Userid, the Last Logon date, and the date that account was created? We're trying to deleop something to find inactive userids and need the Create date to determine the inactivity period for userids that have never logged on.

Thanks!!!

Steve
 
Spent half the day checking out all the quality tools on this site. This one is a home run!

Thanks to Mark and Mr. Damiel Petri

 
Is there a way to generate this listing of all userids defined in the domain to a (.csv or .txt ???) output file, similar to how you can run ADDUSERS.EXE and dump the user list to a file. I'm using the old SomarSoft utility DUMPSEC.EXE to list all userids with the description field, last logon date, expired status, and a bunch more info. I really need that create date included for each userid in the file too.

Any ideas? I'm still flipping thru stuff to find an answer.

Thanks all!
 
VBScript is the easiest way to do it.

I hope you find this post helpful.

Regards,

Mark
 
I'm getting a book tomorrow and harvesting samples from different sites. Here we go....

 
dsquery user -inactive 5

this will give you users who haven't logged on in 5 weeks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top