The knowledge base / All cheat sheets
● Always in your toolkitAbout the project ↗

Windows Update failure event investigation cheat sheet

Investigate a failed Windows update through update history, service state and event logs.

Windows 10 or 11 and Windows Server with PowerShell; event retention and permissions vary.

Updated · Windows · 6 min read

CommandWhat it does
Get-ComputerInfo | Select-Object WindowsProductName,WindowsVersion,OsBuildNumberIdentify the Windows build
Get-Service wuauserv,bitsInspect update service state
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 10Review installed hotfixes
Get-WinEvent -LogName Microsoft-Windows-WindowsUpdateClient/Operational -MaxEvents 30Inspect recent update events
Get-WinEvent -LogName System -MaxEvents 50Inspect recent system events

Walkthrough

Run with authorized read access. Record exact error codes and update identifiers; these commands do not reset update components or remove updates.

Step 1: Identify the Windows build

Get-ComputerInfo | Select-Object WindowsProductName,WindowsVersion,OsBuildNumber

Record the product and build so update applicability and the correct vendor guidance can be checked against the affected machine.

Step 2: Inspect update service state

Get-Service wuauserv,bits

Record the Windows Update and BITS service states. A stopped service is contextual evidence and does not alone establish why a particular update failed.

Step 3: Review installed hotfixes

Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 10

Compare recent installed hotfixes with the update identifier and official update history. This command does not list every type of Windows update.

Step 4: Inspect recent update events

Get-WinEvent -LogName Microsoft-Windows-WindowsUpdateClient/Operational -MaxEvents 30

Read recent operational events and correlate error codes, update identifiers and timestamps. Event retention and access permissions can limit the results.

Step 5: Inspect recent system events

Get-WinEvent -LogName System -MaxEvents 50

Review nearby system events for related service or storage errors. Correlation supplies a lead but does not prove that an event caused the update failure.

WORKED INCIDENT

Practical case: An update repeatedly fails to install

Fictional teaching scenario; observations are examples, not captured production output.

Situation

A server reports that a cumulative update failed during its maintenance window.

Investigation sequence

1. Identify the Windows build

Get-ComputerInfo | Select-Object WindowsProductName,WindowsVersion,OsBuildNumber

Record the Windows build and the precise update identifier.

2. Inspect update service state

Get-Service wuauserv,bits

Inspect relevant service state and recent installed hotfixes.

3. Review installed hotfixes

Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 10

Read Windows Update operational events around the failure.

4. Inspect recent update events

Get-WinEvent -LogName Microsoft-Windows-WindowsUpdateClient/Operational -MaxEvents 30

Correlate the error and timestamp with relevant system events.

Example findings

Illustrative findings: the update event reports insufficient disk space and monitoring confirms that the system volume was full during installation.

Interpret the findings

The exact error and independent capacity evidence identify a specific lead. Service state alone would not explain the failed installation.

Verify the outcome

After the owner resolves the confirmed capacity issue, retry under the approved update process and inspect the new result.

Escalation handoff

Share the build, update ID, exact error and sanitized event timestamps with the Windows administration team.

Primary references

Documented reference; examples above are teaching scenarios. Confirm behavior against your deployed version.