"Last Login" Reports for Active Directory (2003)


i looking utility allow me run reports against ad domain provide users last login information. know active in ad.

thank in advance

 

hi,

you can use lastlogontimestamp attribute identify unused computer , user accounts. the  lastlogontimestamp attribute replicated across domain controllers each domain.   therefore, can use single query find users or computers have not logged in within time. use functionality, windows server 2003 domain must @ windows server 2003 domain functionality level. 

 

you cannot use lastlogontimestamp attribute in cases. in windows server 2003, lastlogontimestamp not updated in cases.  currently, kerberos , ntlm interactive logons update lastlogontimestamp attribute.  microsoft recommends use attribute when sure domain users regularly use kerberos authentication.

 

windows server 2003 not update lastlogontimestamp attribute in following cases:

- certificate mapping through microsoft internet information services (iis).

- username , password authentication through iis.

- microsoft .net passport mapping through iis.

- service-for-user (s4u) authentication paths.

 

more informatin:
===============

lastlogon

http://msdn.microsoft.com/library/en-us/adschema/adschema/a_lastlogon.asp

 

lastlogontimestamp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/a_lastlogontimestamp.asp


in order conveniently retrieve each user's last logon attribute, may need create script. if encounter problem make script. i'd suggest post script related questions our msdn queue. engineers , communities there more specialized in creating script , assist in more efficient manner.

 

msdn public newsgroup

http://msdn.microsoft.com/newsgroups/default.asp

 

msdn forum:

http://forums.microsoft.com/msdn



i listed following information reference:

 

script center

http://www.microsoft.com/technet/scriptcenter/default.mspx

 

fine vbscript

http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true

 

hope helps.

 



Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file