Fix Windows Terminal Login Loop Error (Exit Code 1) - Troubleshooting Windows Security Update Not Installing-Resolve 502 Bad Gateway in PowerShell

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