Fix 'java' Not Recognized in Command Prompt on Windows - Windows Defender Scan Hangs at 99%-How to Turn Off Windows Defender Real-Time Protection Permanently

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