PC Review


Reply
Thread Tools Rate Thread

Auditing who logs on and where

 
 
JAQK
Guest
Posts: n/a
 
      7th Dec 2005
Is it possible to audit logon events in such a way that the workstations
where they log on are recorded in the event log ?


 
Reply With Quote
 
 
 
 
Pegasus
Guest
Posts: n/a
 
      8th Dec 2005

"JAQK" <(E-Mail Removed)> wrote in message
news:yUJlf.8359$H84.3415@trnddc04...
> Is it possible to audit logon events in such a way that the workstations
> where they log on are recorded in the event log ?
>
>


You could use logevent.exe from the Windows Resource Kit:

logevent "%date% %time:~0,5% %UserName%"

If your number of workstations is small and you require a
central log file, you could also insert this single line into your
logon script:

echo %date% %time:~0,5% %UserName% %ComputerName% >>
\\YourServer\Logs\Logon.txt


 
Reply With Quote
 
JAQK
Guest
Posts: n/a
 
      8th Dec 2005
Hi, thanks, but it's not clear at all how to use this utility and how it can
be made to
identify or display the workstation from where the domain logon was
initiated.

Any helpful suggestion would be greatly appreciated.


"Pegasus" <(E-Mail Removed)> wrote in message
news:O4A2Cj5%(E-Mail Removed)...
>
> "JAQK" <(E-Mail Removed)> wrote in message
> news:yUJlf.8359$H84.3415@trnddc04...
>> Is it possible to audit logon events in such a way that the workstations
>> where they log on are recorded in the event log ?
>>
>>

>
> You could use logevent.exe from the Windows Resource Kit:
>
> logevent "%date% %time:~0,5% %UserName%"
>
> If your number of workstations is small and you require a
> central log file, you could also insert this single line into your
> logon script:
>
> echo %date% %time:~0,5% %UserName% %ComputerName% >>
> \\YourServer\Logs\Logon.txt
>
>



 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      8th Dec 2005
Which utility? I suggested two solutions!

If it's psexec.exe then please download it, run
psexec /?, read what it says on the screen, then
post again with any questions you might have.


"JAQK" <(E-Mail Removed)> wrote in message
news:J83mf.5213$EB3.1174@trnddc09...
> Hi, thanks, but it's not clear at all how to use this utility and how it

can
> be made to
> identify or display the workstation from where the domain logon was
> initiated.
>
> Any helpful suggestion would be greatly appreciated.
>
>
> "Pegasus" <(E-Mail Removed)> wrote in message
> news:O4A2Cj5%(E-Mail Removed)...
> >
> > "JAQK" <(E-Mail Removed)> wrote in message
> > news:yUJlf.8359$H84.3415@trnddc04...
> >> Is it possible to audit logon events in such a way that the

workstations
> >> where they log on are recorded in the event log ?
> >>
> >>

> >
> > You could use logevent.exe from the Windows Resource Kit:
> >
> > logevent "%date% %time:~0,5% %UserName%"
> >
> > If your number of workstations is small and you require a
> > central log file, you could also insert this single line into your
> > logon script:
> >
> > echo %date% %time:~0,5% %UserName% %ComputerName% >>
> > \\YourServer\Logs\Logon.txt
> >
> >

>
>



 
Reply With Quote
 
coalbiter
Guest
Posts: n/a
 
      12th Dec 2005
We use kix32.exe with the following script as part of the domain logon
script:

$filename='\\servernamehere\wslog\'+@WKSTA+'.log'
Open(1, $filename, 5)
WriteLine(1,'@WKSTA,@USERID,@DAY,@DATE,@TIME,MAC=@ADDRESS,IP=@IPADDRESS0,@LSERVER'
+ Chr(13) + Chr(10))
Close(1)

This records who logs on to which workstation and when.

HTH

Marcus Burrows

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auditing who logs on and where JAQK Microsoft Windows 2000 Active Directory 4 12th Dec 2005 08:44 AM
Auditing who logs on and where JAQK Microsoft Windows 2000 4 12th Dec 2005 08:44 AM
Auditing who logs on and where JAQK Microsoft Windows 2000 Security 4 12th Dec 2005 08:44 AM
even logs / auditing Randy Microsoft Windows 2000 Security 1 5th Nov 2003 05:00 PM
Event logs and auditing Randy Microsoft Windows 2000 Setup 0 4th Nov 2003 07:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:31 PM.