Re: winnt provider and lastlogin using vbscript
- From: "Richard Mueller [MVP]" <rlmueller-nospam@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 30 Jul 2008 11:24:59 -0500
<awrightus@xxxxxxxxxxx> wrote in message
news:1458b1bf-feb4-4074-a313-9ab47eb14458@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a Windows 2003 workgroup server. No AD, domain, etc. In my
login script, using vbscript, I need to be able to tell the user when
they last logged on. I thought I had this licked by using the winnt
provider and the lastlogin attribute. However, during the login
process, it appears as if lastlogin has already been updated to the
current time, completely having overwritten what I was trying to
capture. During the user login process, is there any other attribute
that I can grab that will tell me when the user last logged in?
Thanks.
I noticed the same thing some time ago. There is no other attribute you can
use. The only thing I can think if is to save the date/time for future use.
Since this is a local account, you could save the information in a text
somewhere on the computer everyone has access to, perhaps in a file named
after the username.
--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--
.
- Follow-Ups:
- Re: winnt provider and lastlogin using vbscript
- From: Al Dunbar
- Re: winnt provider and lastlogin using vbscript
- From: Richard Mueller [MVP]
- Re: winnt provider and lastlogin using vbscript
- References:
- winnt provider and lastlogin using vbscript
- From: awrightus@xxxxxxxxxxx
- winnt provider and lastlogin using vbscript
- Prev by Date: Re: RSOP Planning Security problem
- Next by Date: Re: winnt provider and lastlogin using vbscript
- Previous by thread: winnt provider and lastlogin using vbscript
- Next by thread: Re: winnt provider and lastlogin using vbscript
- Index(es):
Relevant Pages
|
Loading