Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Windows Update Troubleshooting

Direct answer

Troubleshoot Windows Update with the error code, Get-WindowsUpdateLog, the update services' status, free disk space, DISM RestoreHealth, resetting SoftwareDistribution and catroot2, and WSUS or proxy connectivity.

When to use this

Use this when Windows Update fails with an error code and you need a structured repair path.

First 30 seconds

1. Error code → look up.

2. Space, services, time, proxy.

3. DISM /Online /Cleanup-Image /RestoreHealth then sfc /scannow.

4. Logs: WindowsUpdate.log, CBS.log.

5. Reset components only after the above.

Operational verification

scan → download → install → reboot; failure point identified

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows servicing, deployment and recovery
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows servicing, deployment and recovery · Windows
Key commandGet-WindowsUpdateLog
Scope / prerequisiteUse this when Windows Update fails with an error code and you need a structured repair path.
Verify · 1
What next?3 suggested next steps
Catalog command links1
Evidence0
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verify Windows Update by package state, reboot completion and the original compliance check Verify boundary

Capture the Windows Update KB/package identity, source, scan result and installation result/error. After remediation expect the target update/package to report Installed or the appropriate superseded/not-applicable state, with no pending reboot when finalization requires restart and no new CBS/WU error for the retest. Verify OS build/package inventory after reboot and repeat the original compliance or vulnerability check that required the update. A successful download shows content transfer only, but it does not show servicing completed or the running OS uses the updated binaries.

Step 2 Branch Windows Update failures at scan, content transfer, servicing and reboot finalization Narrow the fault

If Windows Update finds no expected update, verify effective update source/policy and scan result before touching the download cache. If the update is detected but download fails, inspect proxy/TLS/BITS/Delivery Optimization and the specific error code. If download completes but installation fails, move to CBS/DISM/component-store and package applicability evidence; if installation succeeds but remains pending, inspect reboot/pending servicing rather than reinstalling. If only one machine fails, compare policy, free space and component-store state with a known-good peer. Cache reset should follow captured evidence, not precede it.

Step 3 Common mistakes Narrow the fault
  • Not using Get-WindowsUpdateLog to read the log.
Key points
  • Start from the error code.
  • Low disk space breaks updates.
  • A damaged component store breaks updates.
Key checks
  • Get-WindowsUpdateLog — merge update ETL logs to a text file
  • Get-HotFix | Sort InstalledOn -Desc | Select -First 10 — installed updates
  • Get-Service wuauserv,bits,cryptsvc,trustedinstaller — update services
  • Get-WinEvent -LogName Microsoft-Windows-WindowsUpdateClient/Operational -MaxEvents 30 — update client events
  • UsoClient StartScan — trigger a scan (client)
ReferenceWhy it matters1 section · depth on demand

Windows Update crosses scan source, applicability, download, servicing and reboot state

Windows Update Troubleshooting separates update-source discovery and scan results from content download and Component-Based Servicing installation. WSUS/WUfB policy, proxy/TLS, Delivery Optimization/BITS, Windows Update service, component store health and pending reboot state are distinct boundaries. An update can be applicable but not downloaded, downloaded but fail servicing, or installed but pending restart. Update history is a summary, not the complete servicing trace. Record KB/update identity, source/policy, error code and reboot state before clearing caches or resetting services.

ReferenceImportant terms & boundaries1 section · depth on demand

Method

Windows Update troubleshooting resolves updates that fail to download, install or that roll back.

Get-WindowsUpdateLog                                   # converts ETW logs to WindowsUpdate.log
Get-WinEvent -LogName 'Microsoft-Windows-WindowsUpdateClient/Operational' -MaxEvents 30
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 5
DISM /Online /Cleanup-Image /RestoreHealth
Stop-Service wuauserv, bits; Rename-Item C:\Windows\SoftwareDistribution SoftwareDistribution.old; Start-Service wuauserv, bits
Error/symptomTypical cause
0x80070002/0x80070003Missing files, corrupt SoftwareDistribution
0x800f081f / 0x800f0922Component store corruption, missing source, reserved partition space
0x80240437 / connection errorsProxy, firewall, WSUS/WUfB configuration
Install then rollbackDriver/application incompatibility, CBS log shows failing package
Not offeredPolicy (deferrals, target version), WSUS approvals

Check C:\Windows\Logs\CBS\CBS.log for the failing component when installation fails.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows servicing, deployment and recovery current

Authoritative/upstream documentation reviewed for bounded claims in Windows Update → Windows Update Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows/deployment/update/ · confidence 94%
Confirmation

Confirm action

Continue?