PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.win.server.scripting > Re: Monitoring user logon/logoff...
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: Monitoring user logon/logoff...

Réponse
 
LinkBack Outils de la discussion
Vieux 18/09/2007, 04h31   #1
Richard Mueller [MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Monitoring user logon/logoff...

Adde wrote:

> In Windows 2000 Server (AD) I would need to monitor user logon/logoff
> times
> for certain users and trying to search through audit policy events is just
> not convenient. Any available scripts that would do that?
> --
> fantamejthisisgoodvarjedag


Someone else may have a script that reads the event logs. I have an example
VBScript logon script that logs user name, computer name, IP Address, and
date/time to a shared log file. The program is linked here:

http://www.rlmueller.net/Logon5.htm

A similar script can be used as a logoff script (configured in Group
Policy). I've used similar scripts to keep track of logons. I copy the log
file and read into a spreadsheet for analysis.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--


  Réponse avec citation
Vieux 18/09/2007, 20h18   #2
Adde
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Monitoring user logon/logoff...

Thanks for the info Richard.

/Adde
--
fantamejthisisgoodvarjedag


"Richard Mueller [MVP]" wrote:

> Adde wrote:
>
> > In Windows 2000 Server (AD) I would need to monitor user logon/logoff
> > times
> > for certain users and trying to search through audit policy events is just
> > not convenient. Any available scripts that would do that?
> > --
> > fantamejthisisgoodvarjedag

>
> Someone else may have a script that reads the event logs. I have an example
> VBScript logon script that logs user name, computer name, IP Address, and
> date/time to a shared log file. The program is linked here:
>
> http://www.rlmueller.net/Logon5.htm
>
> A similar script can be used as a logoff script (configured in Group
> Policy). I've used similar scripts to keep track of logons. I copy the log
> file and read into a spreadsheet for analysis.
>
> --
> Richard Mueller
> Microsoft MVP Scripting and ADSI
> Hilltop Lab - http://www.rlmueller.net
> --
>
>
>

  Réponse avec citation
Vieux 18/09/2007, 23h42   #3
Richard Mueller [MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Monitoring user logon/logoff...

The "Windows 2000 Scripting Guide" describes how to write a script to query
logs:

http://www.microsoft.com/technet/scr..._log_udqz.mspx

You would query security logs for category logon/logoff, perhaps specifying
EventCode and SourceName.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--

"Adde" <Adde@discussions.microsoft.com> wrote in message
news:0390557C-3A97-4A1B-A10D-E2535F5EB443@microsoft.com...
> Thanks for the info Richard.
>
> /Adde
> --
> fantamejthisisgoodvarjedag
>
>
> "Richard Mueller [MVP]" wrote:
>
>> Adde wrote:
>>
>> > In Windows 2000 Server (AD) I would need to monitor user logon/logoff
>> > times
>> > for certain users and trying to search through audit policy events is
>> > just
>> > not convenient. Any available scripts that would do that?
>> > --
>> > fantamejthisisgoodvarjedag

>>
>> Someone else may have a script that reads the event logs. I have an
>> example
>> VBScript logon script that logs user name, computer name, IP Address, and
>> date/time to a shared log file. The program is linked here:
>>
>> http://www.rlmueller.net/Logon5.htm
>>
>> A similar script can be used as a logoff script (configured in Group
>> Policy). I've used similar scripts to keep track of logons. I copy the
>> log
>> file and read into a spreadsheet for analysis.
>>
>> --
>> Richard Mueller
>> Microsoft MVP Scripting and ADSI
>> Hilltop Lab - http://www.rlmueller.net
>> --
>>
>>
>>



  Réponse avec citation
Vieux 19/09/2007, 00h12   #4
Adde
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Monitoring user logon/logoff...

Excellent. Thanks,

/Adde
--
fantamejthisisgoodvarjedag


"Richard Mueller [MVP]" wrote:

> The "Windows 2000 Scripting Guide" describes how to write a script to query
> logs:
>
> http://www.microsoft.com/technet/scr..._log_udqz.mspx
>
> You would query security logs for category logon/logoff, perhaps specifying
> EventCode and SourceName.
>
> --
> Richard Mueller
> Microsoft MVP Scripting and ADSI
> Hilltop Lab - http://www.rlmueller.net
> --
>
> "Adde" <Adde@discussions.microsoft.com> wrote in message
> news:0390557C-3A97-4A1B-A10D-E2535F5EB443@microsoft.com...
> > Thanks for the info Richard.
> >
> > /Adde
> > --
> > fantamejthisisgoodvarjedag
> >
> >
> > "Richard Mueller [MVP]" wrote:
> >
> >> Adde wrote:
> >>
> >> > In Windows 2000 Server (AD) I would need to monitor user logon/logoff
> >> > times
> >> > for certain users and trying to search through audit policy events is
> >> > just
> >> > not convenient. Any available scripts that would do that?
> >> > --
> >> > fantamejthisisgoodvarjedag
> >>
> >> Someone else may have a script that reads the event logs. I have an
> >> example
> >> VBScript logon script that logs user name, computer name, IP Address, and
> >> date/time to a shared log file. The program is linked here:
> >>
> >> http://www.rlmueller.net/Logon5.htm
> >>
> >> A similar script can be used as a logoff script (configured in Group
> >> Policy). I've used similar scripts to keep track of logons. I copy the
> >> log
> >> file and read into a spreadsheet for analysis.
> >>
> >> --
> >> Richard Mueller
> >> Microsoft MVP Scripting and ADSI
> >> Hilltop Lab - http://www.rlmueller.net
> >> --
> >>
> >>
> >>

>
>
>

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h02.


Édité par : vBulletin® version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12797 seconds with 12 queries