Solved

Backup sytem event log using batch script

Posted on 2006-11-08
2
573 Views
Last Modified: 2012-06-21
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
Comment
Question by:ksbalamuralikrishna
2 Comments
 
LVL 21

Accepted Solution

by:
mastoo earned 125 total points
ID: 17898595
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now