Windows Update Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3183
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.
Remember
- Start from the error code.
- Low disk space breaks updates.
- A damaged component store breaks updates.
First checks
Get-WindowsUpdateLog— merge update ETL logs to a text fileGet-HotFix | Sort InstalledOn -Desc | Select -First 10— installed updatesGet-Service wuauserv,bits,cryptsvc,trustedinstaller— update servicesGet-WinEvent -LogName Microsoft-Windows-WindowsUpdateClient/Operational -MaxEvents 30— update client eventsUsoClient StartScan— trigger a scan (client)
Commands
Get-WindowsUpdateLog- Operational command for Generate the merged Windows Update log. Focus fields: generated log path, update client timesta…
Verify in this order
scan → download → install → reboot; failure point identified
Where it usually breaks
First mismatch in source/package/image/device identity → servicing/setup configuration → installation/activation → reboot/boot/runtime → system/component health → user/workload validation; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3183