Monitor for application incompatibility operational conditions

Microsoft.Windows.Client.Win10.Computer.ApplicationIncompatibility.Monitor (UnitMonitor)

This monitors checks if event id 1 is being raised by Microsoft-Windows-ApplicationExperienceInfrastructure provider in Windows 10 and above to shows that an application is not compatible with the OS.

Knowledge Base article:

Summary

This monitor checks the application incompatibility operational conditions

Configuration

These are the overridable parameters:

Element properties:

TargetMicrosoft.Windows.Client.Win10.Computer
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Application Incompatibility
Application Incompatibility
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Client.Win10.Computer.ApplicationIncompatibility.Monitor" Accessibility="Public" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Target="Win10!Microsoft.Windows.Client.Win10.Computer" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" Remotable="true" Enabled="true" Priority="Normal" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Client.Win10.Computer.ApplicationIncompatibility.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ApplicationCompatible" HealthState="Success" MonitorTypeStateID="ManualResetEventRaised"/>
<OperationalState ID="ApplicationIncompatibility" HealthState="Warning" MonitorTypeStateID="EventRaised"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Microsoft-Windows-ApplicationExperienceInfrastructure</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>