Re: Log File!
- From: "Roger Abell" <mvpNOSpam@xxxxxxx>
- Date: Fri, 3 Jun 2005 06:18:36 -0700
If you do not see how to design it then perhaps you best alternative
is to hunt for a purchasable third-party application, if any available,
that does this.
Were I writing it I would use WMI eventing to subscribe to the
desired logon and logoff events from the event logging provider.
I would design it to start as a service on each DC, and for them
to exist in a peered but also tiered master-server relationship so
that all events from all DCs would be taken into account. There
would be no reading of the event log(s), just a tracking of each
principal that is active. Your issue would be that it is not always
as simple as the first logoff following the initial login that is
significant. Consider the sequence login, login, logoff, login,
logoff, etc. for a single principal (which is still logged on).
--
Roger Abell
Microsoft MVP (Windows Security)
MCSE (W2k3,W2k,Nt4) MCDBA
"c-mos" <eng_shaima1183@xxxxxxxxx> wrote in message
news:1117792236.171809.89050@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hello...
>
> I'm trying to read the logon and the logoff time from a log file. In
> order to determine the total time of the user since the first logon, so
> that after reaching a specific time the account of the user will be
> disabled. I don't know how to do that?. Can I write a script to read
> from the log file,and at the same time, this script should be executed
> many times say about one time per 5 seconds.
>
> Which option does manage this schedule?, and how can I write this
> script if that's the solution?
>
> Please help me.
>
.
- References:
- Log File!
- From: c-mos
- Log File!
- Prev by Date: Re: Replication issues
- Next by Date: Re: Replication issues
- Previous by thread: Log File!
- Next by thread: Log file!
- Index(es):
Relevant Pages
|