En misslyckad installation av en programuppdatering identifierades.
Den här regeln skapar en avisering varje gång en uppdatering från Windows®-tjänsten för automatisk uppdatering inte lyckas installera.
Exempelhändelse:
Den här regeln genererar en avisering när följande händelse inträffar i systemets händelselogg:
Installationsfel: Windows kunde inte installera följande uppdatering. %1
Källa: Automatiska uppdateringar; Händelse-ID: 20Installationsfel: Windows kunde inte installera följande uppdatering. %1
Den här aviseringen inträffar oftast när:
Installationen av uppdateringspaketet avbröts.
Det hämtade uppdateringspaketet var skadat.
En administratör kan välja något av följande alternativ för att åtgärda den här aviseringen:
Vänta tills uppdateringspaketet automatiskt hämtas och installeras vid nästa automatiska uppdatering.
Försöka installera igen genom att besöka Windows Update och manuellt installera om uppdateringspaketet.
Target | Microsoft.Windows.Server.2008.OperatingSystem | ||
Category | EventCollection | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
EventDS | DataSource | Microsoft.Windows.EventProvider | Default |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.Windows.Server.2008.OperatingSystem.SoftwareUpdateInstallationFailed.Alert" Enabled="false" Target="Server2008!Microsoft.Windows.Server.2008.OperatingSystem" ConfirmDelivery="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="EventDS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Microsoft-Windows-WindowsUpdateClient</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>20</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.2008.OperatingSystem.SoftwareUpdateInstallationFailed.Alert.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>