Simple way to backup event log on Windows Server

dancerjude picture dancerjude · Mar 19, 2009 · Viewed 38.6k times · Source

Is it possibile to create a simple way to backup the event log, with such as a batch file or a simple app ? I need to make it working on a customer's site, where the reference is an non-expert user. Thanks

Answer

JohnW picture JohnW · Mar 19, 2009

If you're using Windows 2008, use the built-in wevtutil command. Example:

wevtutil epl Application c:\temp\foo.evtx

Otherwise, get dumpel.exe from the resource kit, or psloglist from http://technet.microsoft.com/en-us/sysinternals/bb897544.aspx