How to Fix Windows Security Update Failed Errors - Remote Desktop Error 0x4 Troubleshooting Guide-Resolve 502 Bad Gateway in Windows Defender

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