Fix Windows Defender 502 Bad Gateway Sync Error - Troubleshoot Windows Update Cleanup Errors-Resolve Error 0x80240016 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.