Fix 'Command Not Found' in Task Scheduler on Windows Server - Fix Command Prompt Log Path After Windows Update-File Locked by Windows Defender: Troubleshooting Guide

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