Fix 'Windows Defender Command Not Found Access Denied' - How to Fix 504 Timeout in Task Scheduler Sync Jobs-PowerShell Connection Refused Firewall Troubleshooting

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