"Your last logon was..."

  • Thread starter Thread starter Michael A. Covington
  • Start date Start date
M

Michael A. Covington

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."


--

Michael A. Covington - Artificial Intelligence Ctr - University of Georgia

"In the core C# language it is simply not possible to have an uninitialized
variable, a 'dangling' pointer, or an expression that indexes an array
beyond its bounds. Whole categories of bugs that routinely plague C and C++
programs are thus eliminated." - A. Hejlsberg, The C# Programming Language
 
Michael,

You should be able to do this with a logon script. By default, W2K has also
kixstar (http://www.kixtart.org/) and they have a bunch of scripts including
a newgroup where you can help from other users that might have gone tru the
same issue. However, I implemented the same using ScriptLogin
(http://www.scriptlogic.com/eng/products/ScriptLogic/main.asp) and it does
what you want it to do.

The message I did read like this and it it used everytime a user logs into a
machine, keep in mind that users need to have the logon script specified on
the account tab.
"You have successfully logged on to the DOMAINNAME Network from @Wksta at
@time on @day @Month @MDayNo @Year. I see that your log on account (@UserID)
is a Domain $Priv and has $LocalPriv rights to this computer."

Good Luck!

GX
 
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@TK2MSFTNGP09>

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.
 
Back
Top