Fix Remote Desktop Gateway Timeout Error 504 - Fix RDP Login Loop with Terminal Services-Windows Security False Positive Fix Guide

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