![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Re: Last Logon and Logoff for a specific user "cmoore01" <cmoore01@xxxxxx> wrote in message news:A0E18C03-3BAA-4B47-9547-9957659C5F35@xxxxxx Quote: > Need a "best way" to log or monitor a user's last logon and logoff times. > Not sure if a scheduled job that runs every night to retrieve the > attributes > of LastLogon and LastLogff and write them to a file, or if a logon and > logoff > batch file that wrote to a file would work best. Biggest issue is that I > do > not control the domain controllers and cannot load PS on them. My file > server does have PS loaded and I am currently using PS for some other > scheduled jobs. > > If scheduled job, example of scripts to run appreciated. If lonon/logoff > batch files, examples also. Very new to scripting, but learning. > > Any and all help Much Appreciated http://www.rlmueller.net/Last%20Logon.htm The lastLogoff attribute in AD is not used. If you prefer to use logon and logoff scripts, I have a VBScript example here: http://www.rlmueller.net/Logon5.htm You can code a similar logoff script. -- Richard Mueller MVP Directory Services Hilltop Lab - http://www.rlmueller.net -- |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Problem with WMI User Logoff | VB Script | |||
| Detailed Status Messages - Logon, Logoff, and Shutdown | Tutorials | |||
| logon and logoff need | Vista account administration | |||
| need to have a web based time sheet appear at logon and logoff | Vista security | |||
| Logoff a local user | PowerShell | |||