Windows 10 Event driven task scheduler task - proper XML path

  • Thread starter Thread starter Miroslav Prágl
  • Start date Start date
M

Miroslav Prágl

Guest
Hi,

I need some quick action on app crash, so I obviously created event driven task. Now I'm not sure what's proper Xpath for the actual crashed app, which appears on 1st line of <data> in event:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
+ <System>
- <EventData>
<Data>AnUnstableApp.exe</Data>
<Data>1.0.0.0</Data>



Is it like this please?

<ValueQueries>
<Value name="Data1">Event/EventData/Data[1]</Value>
</ValueQueries>



Thanks


Miroslav

More...
 
Back
Top