Windows Defender Troubleshooting Checklist for Beginners - Resolve 502 Bad Gateway in Windows Task Scheduler-Resolve Token Expired Messages in 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.