Fix Windows Security DNS Errors After a Windows Update - Resolve Task Scheduler 504 Gateway Timeout Sync Errors-Resolve Command Prompt Sync Errors

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