zhizhu
Home / developer-tools / Fix PowerShell Startup Script Not Running After Logon - Resolve 502 Bad Gateway in Windows Terminal – Firewall Fixes-Fix Windows Defender Threat Service Stopped Error

Fix PowerShell Startup Script Not Running After Logon - Resolve 502 Bad Gateway in Windows Terminal – Firewall Fixes-Fix Windows Defender Threat Service Stopped Error

2026-06-13 18:32:13developer-tools
Fix PowerShell Startup Script Not Running After Logon - Resolve 502 Bad Gateway in Windows Terminal – Firewall Fixes-Fix Windows Defender Threat Service Stopped Error

Final checklist

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