Fix PowerShell 502 Bad Gateway Due to Proxy Configuration - How to Backup and Restore Windows Terminal Settings-Troubleshooting Outlook 504 Gateway Timeout

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