Fix Windows Security 504 Gateway Timeout After Reset Settings - Fix Permission Denied in Microsoft Store-Troubleshoot PowerShell 502 Bad Gateway with Proxy

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