Menu Close

How to test fire ANY Windows Event on ANY server from ANY application

Anyone who works with events in the Windows Event log can benefit from this.

When creating management packs, or adding monitoring for specific events, it is very helpful to have tools to test fire these events.  In the past, we would use built in tools like EventCreate.  However, these have limitations in which event sources they can create events for, or limitations in the event ID numbers.


Microsoft released the System Center Operations Manager 2007 R2 Admin Resource Kit:  Download Here:  LINK

One of the tools is the MP Event AnalyzerDirect Download here


Install the resource kit to your desktop or tools machine, and then you can copy the MP Event Analyzer tool (two files) to any server where you want to test fire an application or OS based event.  You can also run the tool from a mapped drive or UNC path as well:



Open the MPEventAnalyzer.exe.  Select the Investigate Event Sources tab at the bottom:



In this example – I want to test a complex event log entry from SQL, so in the “Source” list I find my Event Source for my SQL instance – in this case “MSSQL$I01”:



Notice that ALL POSSIBLE events that COULD be fired under this event source show up on the right pane.  This is the power of this tool.  You could use this tool to investigate any application that writes to the event log under a given event source, and quickly write a management pack to alert on the most import events.

I my case, I am looking to test a very specific event ID – 3041 – which is a backup failure.  I find this event ID in the list, and place a check mark in the box next to it:



Then choose Action – Add marked events to Execution list:



Once the event shows up in the execution list – you can right click the event, and choose Parameters, and input any specific parameters into the event, if your event rule datasource is only alerting when specific text in present in specific params:



You can also edit the severity of the event to be generated.

When you are happy – press the green “Fire” button at the top:



You will see your event fired perfectly in the log:



And OpsMgr and the management pack fired the alert:



The huge benefit of this tool for testing, is while you are developing your custom MP’s for custom application events, or windows events, this tool can be used to test fire any event possible on the system just as it would be fired by a real issue, with no restrictions on event source, event ID, and you can input highly customized and specific event parameter data.


  1. Manoj

    I cannot get it to run as administrator. It always shows at the top “Does not run as administrator” on 2016 server. Is there a way?

  2. Dave

    I can’t seem to get it to fire security log events. Even when I run it as administrator. Is there special permissions needed to be granted somewhere to let it have access to the security log?

Leave a Reply

Your email address will not be published. Required fields are marked *