title: Creating an entry in Windows Event Viewer
body: <p>I want to create a new entry under <code>Applications and Services Log</code> in <code>Windows Event Viewer</code> for my application. I used <code>ECManGEN</code> tool to generate the <code>manifest</code> and after doing the necessary steps linked it with my project. It works.. However, a folder is created with the provider name(MyTrial2 in below figure) and the channel comes under that folder. Is it possible to have only the channel without the folder?(As Internet Explorer, Microsoft Office Alerts, etc in the figure)</p>
  
  <p><a href="https://i.stack.imgur.com/zBkxa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zBkxa.png" alt="enter image description here"></a></p>
  
  <p>EDIT - Added the generated Manifest file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-16"?&gt;
  &lt;instrumentationManifest xsi:schemaLocation="http://schemas.microsoft.com/win/2004/08/events eventman.xsd" xmlns="http://schemas.microsoft.com/win/2004/08/events" xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:trace="http://schemas.microsoft.com/win/2004/08/events/trace"&gt;
      &lt;instrumentation&gt;
          &lt;events&gt;
        &lt;provider name="MyTrial2" guid="{90DDCC4A-2F8A-4B57-85AF-5401E678708A}" symbol="MyTrial2" resourceFileName="E:\MyEventTrial\MyEventTrial\Debug\MyEventTrial.exe" messageFileName="E:\MyEventTrial\MyEventTrial\Debug\MyEventTrial.exe"&gt;
          &lt;events&gt;
            &lt;event symbol="EvenEvent2" value="1" version="0" channel="TrialChannel2" level="win:Informational" message="$(string.MyTrial.event.1.message)"&gt;
            &lt;/event&gt;
            &lt;event symbol="OddEvent2" value="2" version="0" channel="TrialChannel2" level="win:Informational" message="$(string.MyTrial.event.2.message)"&gt;
            &lt;/event&gt;
            &lt;event symbol="ErrorEvent2" value="3" version="0" channel="TrialChannel2" level="win:Error" message="$(string.MyTrial.event.3.message)"&gt;
            &lt;/event&gt;
          &lt;/events&gt;
          &lt;levels&gt;
          &lt;/levels&gt;
          &lt;channels&gt;
            &lt;channel name="TrialChannel2" chid="TrialChannel2" symbol="TrialChannel2" type="Admin" enabled="true"&gt;
            &lt;/channel&gt;
          &lt;/channels&gt;
        &lt;/provider&gt;
          &lt;/events&gt;
      &lt;/instrumentation&gt;
  &lt;/instrumentationManifest&gt;
  </code></pre>