Fix PowerShell 504 Gateway Timeout When Calling REST API - How to Fix Windows Defender Stuck on Black Screen-Reset Microsoft Store Cache and Fix Port Conflicts

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