Fix PowerShell Connection Timeout: Common Causes and Quick Solutions - How to Resolve 504 Gateway Timeout in Windows Security-PowerShell 504 Gateway Error Fix for Windows Update

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