Fix Remote Desktop DNS Error After Network Change - PowerShell Log File Paths by Version-Resolve Task Scheduler 502 Bad Gateway

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