Windows Update Failed to Install: Practical Troubleshooting Guide - Fix Windows Search Login Loop Error 0x80070520-Resolve 504 Gateway Timeout in Windows Update with Proxy

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.