MyEventViewer v1.37 - Alternative to the standard event viewer of Windows
Copyright (c) 2008 - 2010 Nir Sofer
Web site: http://www.nirsoft.net

Other Tools

  • NK2Edit - Edit, merge and fix the AutoComplete files (.NK2) of Microsoft Outlook.

Description

MyEventViewer is a simple alternative to the standard event viewer of Windows. As oppose to Windows event viewer, MyEventViewer allows you to watch multiple event logs in one list, as well as the event description and data are displayed in the main window, instead of opening a new one. Also, with MyEventViewer you can easily select multiple event items and then save them to HTML/Text/XML file, or copy them to the clipboard (Ctrl+C) and then paste them into Excel.

Versions History

  • Version 1.37:
    • Fixed issue: Removed the wrong encoding from the xml string, which caused problems to some xml viewers, as well as removed wrong <br> tag from the xml.
  • Version 1.36:
    • You can now send the events information to stdout by specifying an empty filename ("") in the command-line. (For example: MyEventViewer.exe /stab "" >> c:\temp\evt.txt)
  • Version 1.35:
    • Added /LoadFiles command-line parameter, which allows you to load .evt files.
  • Version 1.30:
    • Added 'Show Event Description In Table' option, which allows you to view the description of the event in the 'Event Description' column.
  • Version 1.25:
    • Added command-line support.
  • Version 1.22:
    • Fixed bug: When using /remote option, MyEventViewer failed to display any non-system user name.
  • Version 1.21:
    • Fixed bug: When using /remote option, MyEventViewer cleared the log of local computer instead of the remote computer.
  • Version 1.20:
    • Added /remote command-line option to connect a remote computer.
  • Version 1.15:
    • Fixed bug: MyEventViewer stopped enumerating the logs when there was an item with very large data.
    • Fixed bug: MyEventViewer failed to display long text/data in the bottom pane.
    • New Option: 'Find By Event Description'. When this option is checked, the find feature also searches inside the description of the event.
  • Version 1.11:
    • Fixed bug: MyEventViewer failed to display properly items with source name longer than 30 characters.
  • Version 1.10:
    • Fixed bug: The main window lost the focus when the user switched to another application and then returned back to MyEventViewer.
  • Version 1.09:
    • Fixed bug: MyEventViewer crashed when the event data was very large.
  • Version 1.08:
    • Added support for saving as comma-delimited file.
  • Version 1.07:
    • Fixed bug: MyEventViewer displayed '%%number' string instead of the real error message.
  • Version 1.06:
    • Fixed bug in Event ID sorting.
    • Fixed a few points that might cause a crash in MyEventViewer
  • Version 1.05:
    • New option: Clean All Events Logs
    • New option: Show only events from the last xx minutes/hours/days. (In the Advanced Filter window)
  • Version 1.01 - Added filter by event type.
  • Version 1.00 - First release.

Using MyEventViewer

MyEventViewer doesn't require any installation process or additional DLL files. In order to start using it, simply run the executable file - MyEventViewer.exe
The main window of MyEventViewer has 2 panes: The upper pane displays the list of all events. When you select a single event in the upper pane, the lower pane display the description and data of the selected event.
By default, all event logs are displayed in the main window of MyEventViewer. You can easily remove/add the logs that you want to view by using the 'Logs' menu.

Reading External .evt files

MyEventViewer allows you to read event data from one or more .evt file by using /LoadFiles command-line parameter. For every .evt filename, you must specify the appropriate log type name (Application, Security, and so on...)

For example:
MyEventViewer.exe /LoadFiles "c:\temp\app.evt" "Application"
MyEventViewer.exe /LoadFiles "c:\temp\sec.evt" "Security" "c:\temp\app.evt" "Application"
MyEventViewer.exe /shtml "c:\temp\events1.html" /LoadFiles "c:\temp\sec.evt" "Security" "c:\temp\app.evt" "Application"

Connecting a remote computer in your network

MyEventViewer allows you to connect another computer on your network. However, this feature only works if you have full admin access to the computer that you want to connect.

In order to view the events of the remote computer, simply run MyEventViewer with /remote option, and specify the computer name, for example:
MyEventViewer.exe /remote \\MyComputerName
MyEventViewer.exe /remote \\192.168.0.1

In order to successfully get full admin access to the remote computer, read this Blog post: How to connect a remote Windows 7/Vista/XP computer with NirSoft utilities.

System Requirements

This utility works on Windows 2000, Windows XP, Windows 2003 Server, and Windows Vista. However, be aware that the event viewer of Windows Vista displays more event details than MyEventViewer.

Command-Line Options

/ShowOnlyLastEvents [0 | 1] If you specify '1' value, the last events filter will be activated.
/LastEventsUnit [Unit] Unit to specify the last events filter.
1 = Minutes
2 = Hours
3 = Days
/LastEventsValue [Number of Units] specifies the number of units (Minutes/Hours/Days) for the last events filter.
/stext <Filename> Save the events list into a regular text file.
/stab <Filename> Save the events list into a tab-delimited text file.
/scomma <Filename> Save the events list into a comma-delimited text file (csv).
/stabular <Filename> Save the events list into a tabular text file.
/shtml <Filename> Save the events list into HTML file (Horizontal).
/sverhtml <Filename> Save the events list into HTML file (Vertical).
/sxml <Filename> Save the events list into XML file.
/sort <column> This command-line option can be used with other save options for sorting by the desired column. If you don't specify this option, the list is sorted according to the last sort that you made from the user interface. The <column> parameter can specify the column index (0 for the first column, 1 for the second column, and so on) or the name of the column, like "Source" and "Time". You can specify the '~' prefix character (e.g: "~Time") if you want to sort in descending order. You can put multiple /sort in the command-line if you want to sort by multiple columns.
/nosort When you specify this command-line option, the list will be saved without any sorting.

Examples:
MyEventViewer.exe /shtml f:\temp\events.html /ShowOnlyLastEvents 1 /LastEventsValue 2000 /LastEventsUnit 1 /sort "~Time"
MyEventViewer.exe /shtml f:\temp\events.html /sort "Event Type" /sort "Log Type"

Translating MyEventViewer to other languages

In order to translate MyEventViewer to other language, follow the instructions below:
  1. Run MyEventViewer with /savelangfile parameter:
    MyEventViewer.exe /savelangfile
    A file named MyEventViewer_lng.ini will be created in the folder of MyEventViewer utility.
  2. Open the created language file in Notepad or in any other text editor.
  3. Translate all string entries to the desired language. Optionally, you can also add your name and/or a link to your Web site. (TranslatorName and TranslatorURL values) If you add this information, it'll be used in the 'About' window.
  4. After you finish the translation, Run MyEventViewer, and all translated strings will be loaded from the language file.
    If you want to run MyEventViewer without the translation, simply rename the language file, or move it to another folder.

License

This utility is released as freeware. You are allowed to freely distribute this utility via floppy disk, CD-ROM, Internet, or in any other way, as long as you don't charge anything for this. If you distribute this utility, you must include all files in the distribution package, without any modification !

Disclaimer

The software is provided "AS IS" without any warranty, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason.

Feedback

If you have any problem, suggestion, comment, or you found a bug in my utility, you can send a message to nirsofer@yahoo.com
Download MyEventViewer
MyEventViewer is also available in other languages. In order to change the language of MyEventViewer, download the appropriate language zip file, extract the 'myeventviewer_lng.ini', and put it in the same folder that you Installed MyEventViewer utility.

LanguageTranslated ByDateVersion
ArabicAbo Rehaam 23/07/20101.37
DutchJan Verheijen 15/03/20101.30
French papoo 20/04/20101.35
German «Latino» auf WinTotal.de 15/07/20101.37
Hungarian Hevesi János 24/05/2008 
ItalianFabio Mastroianni 14/03/2008 
Polish alephiej 06/04/2009 
RussianDmitry Yerokhin 13/03/20101.30
Simplified Chinese Lewen@²©ÑÅÓîÐù 23/07/20101.37
Simplified ChineseFrancio Chio 15/03/20101.30
Spanish José Luis de Arquer 02/07/2008 
Taiwanese »OÆW¦@©M°ê 22/03/2008 
Traditional Chinese Wilson Ko 08/03/2008 
ThaiHS3PLN 25/03/2008 
Valencian vjatv 24/04/2008