Auditing User Login Duration
Hi, I'm looking for a way (built-in to my Windows Server 2008 Standard SP1 or some third party paid software) to get a list of AD users and their login duration. For example, I want to be able to get a list of AD users and see how much time they've been logged on to my domain via any workstations in my lab. If I can see how much time they've spent logged in to the computers in my lab, I can bill them accordingly (by the hour, billed once per month). If there is a way to get this info into a simple spreadsheet (excel or word document), that would be great. Third-party software is ok too. Thanks so much!
July 10th, 2009 12:42am

Hello rageguy,Here is script to list user properties Set objUser = GetObject _ ("LDAP://cn=Myerken,ou=Management,dc=NA,dc=fabrikam,dc=com") WScript.Echo "User Principal Name: " & objUser.userPrincipalName WScript.Echo "SAM Account Name: " & objUser.sAMAccountName WScript.Echo "User Workstations: " & objUser.userWorkstations Set objDomain = GetObject("LDAP://dc=NA,dc=fabrikam,dc=com") WScript.Echo "Domain controller: " & objDomain.dc for the user logon duration time, you may check if the below article can be helpful.How can I generate a list of last user logon times for a domain?http://windowsitpro.com/article/articleid/15113/how-can-i-generate-a-list-of-last-user-logon-times-for-a-domain.htmluser login and logout time tracker in domainhttp://techrepublic.com.com/5208-6230-0.html?forumID=101&threadID=225351&start=0Hope this helps.Thanks and Regards,ScroprioMCTS: Windows Vista | Exchange Server 2007 MCITP: Enterprise Support Technician | Server & Enterprise Admin
Free Windows Admin Tool Kit Click here and download it now
July 14th, 2009 12:39pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics