Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > windows WMI and security log

windows WMI and security log

Forum Windows XP : Windows XP General Discussion - windows WMI and security log

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

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.

thanks
Brandon

Sponsored Links
Register or log in to remove.
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > windows WMI and security log
Go to:

There are 1218 identified and unidentified users. To see the list of identified users, Click here.

Please mind

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.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them