Re: User Login / Out Monitoring by Kevin
Kevin
Wed Jul 07 18:44:47 CDT 2004
Well, here is a poor man's way of doing it:
1. Go to the Microsoft Windows Resource Kit Free download section and grab
the now.exe and whoami.exe utilities
- now.exe is a command line utility that displays the current date and time
- whoami.exe is a command line utility that displays currently logged in
domain name and user name
2. Then put the two commands together into the default SBS user login script
like this:
now.exe >> userlog.txt
whoami.exe >> userlog.txt
3. And this is what you get in the log file:
Wed Jul 07 19:25:09 2004
KWSUPPORT\Administrator
Wed Jul 07 19:27:18 2004
KWSUPPORT\Administrator
--
Kevin Weilbacher [SBS-MVP]
"The days pass by so quickly now, the nights are seldom long"
"acawthorn@msn.com" <anonymous@discussions.microsoft.com> wrote in message
news:2806c01c46473$071db2e0$a601280a@phx.gbl...
> Hi
>
> Does anyone know if it is possible to do the following.
>
> I run a training centre with a SBS2000 server & 12
> workstations all running win 2000. I have around 150
> different students per week using the system all with
> thier own usernames etc. I would like to be able to
> create a list each week of username, date and time logged
> on.
>
> If windows SBS cannot provide this info,is there any
> software which will do it.
>
> Look forward to hearing from someone.
>
> Alan Cawthorn