Re: Count Domain User Logon
Tech-Archive recommends: Fix windows errors by optimizing your registry
Richard's script gives you the lastLogon date for all users in the domain.
It is located here:
--
http://www.rlmueller.net/Programs/LastLogon.txt
You can't really count the logons though. Well, you probably can, but I
wouldn't want to write the code to do it. There are many different logon
events, not all of which are interactive. Differentiating between
interactive logon and kerb ticket, etc. is tough.
--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net |
http://forums.msresource.net
.
Relevant Pages
- Re: Users last logon info from logon script
... I put this line in the users logon script: ... If I run the script manually, it shows the last logon time. ... I guess it is because Windows update the lastlogon attribute once a user ... Then, for each Domain Controller, ADO is used to search the ... (microsoft.public.security) - Re: Log file!
... Here is an example VBScript program to retrieve the lastLogon values for all ... logon and logoff info, you can assign Logon and Logoff scripts using Group ... This script appends a line to a log file in a shared location. ... (microsoft.public.windows.server.active_directory) - Re: "Last logon time" & "Last time the account was authenticated b
... I do have a script that extracts last logon details ... the updated Last logon time. ... corresponds to the value of the lastLogon attribute. ... (microsoft.public.windows.server.active_directory) - Re: List users that last logon was 180 days ago
... domain, where the users never have done logon, and another script that ... the users that theis last logon was 180 days ago ... ' Output latest lastLogon date for each user. ... If (dtmDate = #1/1/1601#) Then ... (microsoft.public.windows.server.scripting) - Re: WMI in ASP fails on 2003 (err 80041003); works fine on 2000
... > Strike the comment about the interactive logon. ... I still don't see the need for delegation. ... >>> tested it on two servers with no problems. ... >>> interactive logon - thus WMI to remote machine should be a single hop) ... (microsoft.public.win32.programmer.wmi) |
|