Re: "Your last logon was..."

From: Michael Bednarek (mb)
Date: 03/25/04


Date: Thu, 25 Mar 2004 22:52:56 +1000

On Sat, 20 Mar 2004 17:04:39 -0500, "Michael A. Covington"
<look@www.covingtoninnovations.com.for.address> wrote in
microsoft.public.win2000.security:

>What can I put into a logon script in order to pop up a message box
>something like this?
>
>"Welcome to XYZSERVER. Your last logon was March 12, 2004, at 4:45 p.m.
>from 128.192.12.99."

Cannot easily be done in NT; I believe it's very easy in Netware.

For some previous discussion, see:
<http://groups.google.com/groups?threadm=utqQzULoCHA.2224%40TK2MSFTNGP09>

Summary:
1) Cannot be done at all in NT4.
2) In NT5, each DC stores its own set of login times for a user.
3) There is no easy way to retrieve the previous login time under NT5.
4) You have to develop your own mechanism of recording and retrieving
   login times.

-- 
Michael Bednarek   http://mbednarek.com/   "POST NO BILLS"