Fix Windows Defender Sync Issues with Microsoft 365 - How to Add Log on as Batch Job Right for Task Scheduler-Fix 'Path Not Found' Error in Windows Terminal for PowerShell

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