Fix PowerShell Startup Script Not Running After Logon - Task Scheduler 'Command Not Found' Troubleshooting Guide-How to Fix 0x80070422 in Windows Defender

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