Fix PowerShell 504 Gateway Timeout on Windows Server - How to Secure Remote Desktop Connections-Troubleshooting Windows Search Not Responding

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