How to Fix CMD High Memory Usage - Resolve 'File Locked' in Windows Task Scheduler-Windows Terminal High RAM Usage Fix

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