I personally log everyone's login location to a share and then use an
intranet app to find the user's most recent login location or view the
user's whole login history. You don't have to bother with the intranet side
of things, but you could log everyone's login and then just look at the text
files to view logons.
for /f "tokens=5" %%t in ('echo.^|time') do set CurTime=%%t
REM Thank you Jerry Schulman
for /f "tokens=6" %%d in ('echo.^|date') do set CurDate=%%d
REM Thank you Jerry Schulman
echo %USERNAME% logged onto %COMPUTERNAME% at %CurTime% on
%CurDate%>>\\server\share$\%username%.log
echo %USERNAME% logged onto %COMPUTERNAME% at %CurTime% on
%CurDate%>>\\server\share$\%COMPUTERNAME%.log
Of course, with the permissions necessary, people can go in and delete the
files or mess with them if they want. But, aside from that, you'll have a
share that has logon histories for computers and users. You could separate
computers and users into different directories of course.
Ray at work