Fix PowerShell 504 Gateway Timeout via Proxy Settings - How to Fix PowerShell File Locked or Permission Denied-Troubleshoot Remote Desktop Permission Error Windows 10

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