Help needed to get last login info of currently logged user



Hi all,
I have one requirement in which i have to show last login information
of the administrator after each successful login into system. the
Information to be displayed could be in the form of banner.

I have to Last login date time, Number of unsuccessful login attempts
made by current user before successful login, Location of workstation
when the current user have last logged in.

Now, Here i have tried lot of VBscripts. for Lastlogin datetime I have
used LastLogin variable but the date time i have got shows current
session login time. Suppose the Adminstator has logged in yesterday
and administrator logges in today then lastlogin should show
yesterday's login datetime not the current session. I have tried to
use lastlogoff property but seems it is not updated.

BadPwsCount property is also does not return any value.

I am not using Active Directory or LDAP on Windows 2000 Server.

Please help me out with this problem.
Any help will be appriciated.

Thanks In Advance

Alpesh

.



Relevant Pages

  • Help Needed in getting Number of Unsuccessful attmepts by user
    ... I have a requiremen in which immediately after successful login ... adminstraor gets the messages which gives him Number of Unsuccessful ... attempts made by administrator before he has successfully logged in. ...
    (microsoft.public.windows.server.security)
  • Re: Strange results from userls
    ... last successful login on the account. ... all accounts that were subject to unsuccessful ... successful login and last unsuccessful login. ... Agreeing with the results from lastlogin. ...
    (comp.unix.sco.misc)
  • Re: Possible compromise ?
    ... the bottom of lastlogin is the oldest. ... Every login gets logged to wtmp, but wtmp gets rotated by newsyslog. ... into the system with the time and date, tty line and remote host of ... int fd, n; ...
    (FreeBSD-Security)
  • Re: winnt provider and lastlogin using vbscript
    ... provider and the lastlogin attribute. ... However, during the login ... During the user login process, ... logon event, ...
    (microsoft.public.scripting.vbscript)
  • Re: Help needed to get last login info of currently logged user
    ... I have one requirement in which i have to show last login information ... of the administrator after each successful login into system. ... used LastLogin variable but the date time i have got shows current ...
    (microsoft.public.win2000.general)