Set PATH Variable to Fix 'Command Not Found' in CMD - Fix Windows Defender Update Error 0x80240022-Windows Terminal Profiles JSON Setup 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.