Fix Windows Defender Sync Error 504 Gateway Timeout - Remote Desktop DNS Setup and Troubleshooting-How to Fix Expired Token in Task Scheduler

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.