Docs
Windows Update Event IDs in Event Viewer: Verify Installation Success and Failure
Short Answer
Open Event Viewer → Windows Logs → System and filter for Microsoft-Windows-WindowsUpdateClient, IDs 19 and 20. Read the message for the installed or failed update and open Details → XML View for identity and timing. To verify a retry, match both records to the same device, update and revision wherever the fields are available.
Example result. Microsoft documents a WindowsUpdateClient System Event ID 20 for KB4586793 with error 0x80070002. The message identifies a failed installation.
What it means. That event establishes one failed attempt. To verify recovery, find a later matching success on the same device and check its current package or build.
Find WindowsUpdateClient System events 19 and 20, read their messages and compare device, update identity, revision and timestamps before confirming a retry.
Read the official guide: Microsoft Learn: Windows Update log files
What You'll Get
- Map common Windows Update Event Viewer IDs to scan, download, install, and restart phases quickly
- Pull the highest-signal error events with short PowerShell filters instead of manual scrolling
- Know when to stay in Event Viewer and when to pivot to WindowsUpdate.log or servicing checks
Where to Look in Event Viewer
On the affected device, use an account permitted to read the System log. Open Windows Logs → System → Filter Current Log, select the WindowsUpdateClient source if displayed and enter 19,20. Open a matching row. In Details → XML View, verify the provider name Microsoft-Windows-WindowsUpdateClient and channel System.
The Microsoft Windows Server capture shows Event 19 in a filtered list that also includes other providers. Its accompanying documentation identifies 19 as a successful installation for this provider. The separate KB4586793 failure and this image are independent examples. Neither establishes a same-device retry. Microsoft's System log examples
The Event IDs That Matter Most
| Question | Where to look | What to record |
|---|---|---|
| Did installation succeed? | WindowsUpdateClient, System, Event 19 | Read the installed title, timestamp and update identity from the event. Verify the current package, OS build or component version separately. |
| Did Windows attempt installation and fail? | WindowsUpdateClient, System, Event 20 | Read the failed title and HRESULT. A failure can remain in history after recovery. |
| Did detection or download fail earlier? | Applications and Services Logs → Microsoft → Windows → WindowsUpdateClient → Operational | Inspect the actual messages around the attempt. Check IDs such as 25 or 31 against the installed provider's event version and channel. |
| Does Windows still need a restart? | Windows Update and the Windows Update Agent restart flag | Read the current flag. A historical reboot event or a high uptime alone cannot establish a current requirement. |
How to Read the Message Text
For a possible failure followed by success, open Details → XML View on both events. Compare Computer, UTC SystemTime, provider, channel, event version, update title and the named EventData fields. Where present, match updateGuid, updateRevisionNumber and serviceGuid. Read errorCode on the failed record. A shared KB can cover several packages and revisions.
Keep both record IDs so another technician can locate the events in the same log. If the payload omits a revision, say which fields matched and seek package or build evidence before declaring the exact retry successful. A later cumulative update can resolve the original exposure through supersedence.
PowerShell Filters for Fast Triage
These Windows PowerShell queries read existing records. Set the lookback to include the deployment window. An empty result can reflect retention, a different source or insufficient access.
$provider = 'Microsoft-Windows-WindowsUpdateClient'
$events = Get-WinEvent -FilterHashtable @{
LogName = 'System'
ProviderName = $provider
Id = 19, 20
StartTime = (Get-Date).AddDays(-30)
}
$events | Sort-Object TimeCreated |
Format-List TimeCreated, MachineName, Id, RecordId, Message
To compare payloads side by side, run the following in the same PowerShell session. Blank fields mean this event did not supply that named value. Open its original XML before drawing a conclusion.
foreach ($event in ($events | Sort-Object TimeCreated)) {
[xml]$xml = $event.ToXml()
$fields = @{}
foreach ($item in $xml.Event.EventData.Data) {
$fields[$item.Name] = $item.InnerText
}
[pscustomobject]@{
Computer = $event.MachineName
UTC = $event.TimeCreated.ToUniversalTime()
EventID = $event.Id
RecordID = $event.RecordId
Title = $fields['updateTitle']
UpdateID = $fields['updateGuid']
Revision = $fields['updateRevisionNumber']
Service = $fields['serviceGuid']
Error = $fields['errorCode']
}
}
For scan or download context, read the adjacent Operational messages. To interpret an unfamiliar ID, inspect the event definitions installed on this build.
Get-WinEvent -LogName 'Microsoft-Windows-WindowsUpdateClient/Operational' -MaxEvents 50 |
Select-Object TimeCreated, Id, Message
(Get-WinEvent -ListProvider $provider).Events |
Where-Object Id -in 19,20,21,25,26,31,41,43,44 |
Select-Object Id, Version, @{Name='Channel';Expression={$_.LogLink.LogName}}, Description
When Event Viewer Is Not Enough
On Windows 11, Settings → Windows Update → Update history gives a reader-friendly record of attempts. On Windows 10, use Settings → Update & Security → Windows Update → View update history. A date-only row cannot order two attempts within the day. Use the System records for exact times and Operational for nearby client activity.
For scan and delivery detail, run Get-WindowsUpdateLog to write a readable snapshot of the ETL traces. Regenerate the file to include later activity. When Windows reached component servicing, inspect %windir%\Logs\CBS\CBS.log for the same interval. Microsoft Learn: Windows Update log files · Get-WindowsUpdateLog
Common Mistakes
A successful install message supports one attempt. Check the target version for current patch state, a fresh scan for currently offered updates and a dated baseline for fleet compliance. If the attempt failed, take the message and HRESULT to the installation troubleshooting guide. A pending restart has its own completion check.
Read the checklist
- Open Windows Logs > System and filter by Microsoft-Windows-WindowsUpdateClient, IDs 19 and 20.
- Read the installation message. Use WindowsUpdateClient > Operational for additional scan and download context.
- Record the device, timestamp, event ID, update title or KB, and error code.
- Check XML for the same computer, update identity, revision and time sequence before calling a later success a retry. Verify the current restart state on the device.
- Keep the relevant events with the ticket. Collect WindowsUpdate.log or CBS.log if you need more detail.
FAQ
Where are Windows Update installation events 19 and 20?
Open Windows Logs → System and filter by Microsoft-Windows-WindowsUpdateClient. Read the individual message for success or failure and compare the device, identity, revision and timestamp before associating two attempts.
What does the Operational channel add?
The WindowsUpdateClient Operational channel provides additional client activity around a scan or download. Inspect the local event definitions for the installed build and use System for the documented installation examples.