Fixing Task Scheduler Connection Refused to SQL Server - Resolve DNS Errors Using Windows Command Prompt-Troubleshoot Error 0x80072746 in Windows Terminal

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