How to Fix Windows Update 502 Bad Gateway Error - Fix Windows Defender Token Expired Error After Reinstall-Reset Remote Desktop Port to Default 3389

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.