Fix Remote Desktop Connection Timeout via Command Prompt - Windows Security Firewall 504 Gateway Timeout Fix-Fix 'Windows Terminal Service Unavailable Permission Denied'

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