Fix Windows Security 502 Bad Gateway Sync Error - Fix Slow Remote Desktop Connections-How to Resolve Gateway Timeout in RDP

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