Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Sign in to follow this  

How can I export windows event logs with verbose messages

Recommended Posts

perlabsrat    0


I have been searching the web and cannot seem to find a good answer on this. I sort of understand the cause but need some help on the solution.

I use the following command to export windows system logs. I want/need them to be in evtx format for later use.

wevtutil epl system c:\SystemEvents.evtx

The goal is to send them to other people which will not be viewing them on the same server. This of course cause the full event text to not be part of the exported log and the user will see something like this:

    The description for Event ID XXX from source Server Administrator cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:

I was reading this page: http://technet.microsoft.com/en-us/library/cc749339%28WS.10%29.aspx

and found this snip of info in it:

To troubleshoot events that were logged on a remote computer, you must export and archive the log with the display information. The display information for the saved events is stored in the LocaleMetaData folder and should be moved with the log information when the information is viewed on another computer.

I do not understand what location (or process) this statement is referring to. There is no LocaleMetaData folder anywhere on the server so I am assuming that I need to somehow create and export some additional data along with the evtx file for it to then re-merge back on the viewing system.

Am I on the right track here and could someone tell me how to fully export the event log this with will full verbose messages?


Share this post

Link to post
Share on other sites

Tripredacus    286

When you use this:

wevtutil al <FileName.evtx> [/l:<LocaleString>]

to export... the location of where the .evtx folder ends up, there will be a LocaleMetaData folder created with the .MTA file inside.

Share this post

Link to post
Share on other sites
perlabsrat    0


wevtutil al <FileName.evtx> 

worked for me. One thing I did not understand was the syntax of the [/l:<LocaleString>]

I tried using:

/l:409  /l:1033 and /l:en-us

Since it worked without the need to specify that switch I am ok now but i am courious what the syntax of this switch is supposed to be..

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.