Fix PowerShell 502 Bad Gateway After Windows Update - Windows Security Real-Time Protection Keeps Turning Off-Windows Security Service Configuration Error Fix

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