Fix Microsoft Store 502 Bad Gateway Error - Troubleshooting PowerShell Startup Failures in Windows 10-Task Scheduler Connection Refused with Service Account – How to Fix

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