Re: security event logs
- From: "Al Dunbar [MS-MVP]" <alan-no-drub-spam@xxxxxxxxxxx>
- Date: Mon, 15 May 2006 22:04:09 -0600
"Stefan Nonchev" <snonchev@xxxxxx> wrote in message
news:%23$sBUiCeGHA.4892@xxxxxxxxxxxxxxxxxxxxxxx
Hello to all,work,
recently my boss said that he wants to know when my colleagues come to
so i wrote a script which reads from event logs and scans for specificevent
codes but i am not able to display security event log with the followingor
statement:
Select Logfile,Message,EventCode from Win32_NTLogEvent Where
LogFile='Security'
if i put 'Application' or 'System' in LogFile everything is ok but
'Security' doesnt return values. Does anyone knows what i am doing wrong,
if it is impossible to display security logs how to get when a user logsin
the domain?
A few issues come to mind:...
In some places this would be considered an invasion of privacy. Sure the
network belongs to the company - but so do the washrooms.
If the boss wants to know what is going on in the shop, then he should be
there. And you can tell him I said so.
Will you code your script so it always indicates that you are there?
Will someone figure out how to fake out your script using scheduled tasks?
/Al
.
- Follow-Ups:
- Re: security event logs
- From: Stefan Nonchev
- Re: security event logs
- References:
- security event logs
- From: Stefan Nonchev
- security event logs
- Prev by Date: Re: Method 'LogEvent' of object 'IWshShell3' failed
- Next by Date: Re: Using WMI to copy files between Computers
- Previous by thread: Re: security event logs
- Next by thread: Re: security event logs
- Index(es):
Relevant Pages
|