Fix PowerShell 504 Gateway Timeout Error - Windows Security Permission Troubleshooting Guide-How to Fix Remote Desktop Error 0x80090322

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