Home All Groups Group Topic Archive Search About

Re: Eventquery.vbs: ERROR: Unable to execute the query for the 'security' log

Author
7 Jul 2005 3:30 PM
Tiny-EPL
Chris:

Has the security event log more than 32767 event record(around 10 MB)?
If so then it is necesary to edit de evtquery.vbs file  replacing the CInt with CLng functions at rows 1700 and 1703.

Tiny -- Tiny-EPL ------------------------------------------------------------------------ Posted via http://www.mcse.ms ------------------------------------------------------------------------ View this thread: http://www.mcse.ms/message714909.html

Author
15 Jul 2005 10:33 PM
Tstar
Tiny,
That worked great. My security event log was at 11 MB and after modifying
those lines it was able to query without a problem. However I am running into
a problem. If modify the evtquery.vbs file it is regenerated back to its
original version by the OS. You can see this by deleting eventquery.vbs in
system32 or even deleting evtquery.vbs from dllcache. The files are
autorecreated.
Do I need to stop a service while doing this or is there a workaround other
than modifying evtquery and naming it something else?

Thanks in advance,
Todd

Show quoteHide quote
"Tiny-EPL" wrote:

>
> Chris:
>
> Has the security event log more than 32767 event record(around 10 MB)?
> If so then it is necesary to edit de evtquery.vbs file  replacing the
> CInt with CLng functions at rows 1700 and 1703.
>
> Tiny
>
>
>
> --
> Tiny-EPL
> ------------------------------------------------------------------------
> Posted via http://www.mcse.ms
> ------------------------------------------------------------------------
> View this thread: http://www.mcse.ms/message714909.html

>

Bookmark and Share