Archived from groups: microsoft.public.windowsxp.security_admin (More info?)
I've noticed a limitation in the windows WMI interface when I'm using a
VB script to backup the security event log on a machine. If the file
size of the log is greater than approximately 80MB the VB method will
error out saying there isn't enough system resources to backup the file.
The error code is 1450 I believe (I'm at home and can't check). There
is a technet article I believe regarding the backing up of large files
but all it does is check if the filesize is > 20000 (and I have no clue
what unit that is using but I presume KB) then to back up the file using
the *same* method as would be used if the file size was *not* greater
than 20000 so I see no point in the extra information regarding that.
Is there any way to back up event files larger than 100MB and even
better, files that may grow to 300 or 400 MB and to do it automatically
in a script?
I can use a regular file system object copy method to backup the log
file but with the idiotic format that MS uses for the log files, just
copying the log files doesn't edit the header information correctly and
makes them look corrupt when I attempt to view them in Event Viewer.
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.