How to Fix Windows Defender Network Error 0x80070422 - How to Add PowerShell to System PATH Variable in Windows-Task Scheduler File Locked Fix Checklist

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