Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 590
  • Last Modified:

Backup sytem event log using batch script

Is there is any way to backup the system event log as text file by using batch script, since it has to be performed automatically as scheduled.
0
ksbalamuralikrishna
Asked:
ksbalamuralikrishna
1 Solution
 
mastooCommented:
If you don't want to trust a straight copy you might consider something like this:

EventQuery.vbs /V /FO TABLE /L SYSTEM > mysystem.txt

which dumps the system log to the specified file.  If you don't have EventQuery, download the windows resource kit.  It also lets you do remote systems, other logs, and output as csv.  Although the output files are searchable in any text editor, they aren't something that you can load up in the event viewer.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now