Fix Windows Defender Sync Error 504 Gateway Timeout - Fix Task Scheduler 'File Locked' or 'Access Denied' Errors-Remote Desktop DNS Error After Network Change: Fixes

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