Fix Windows Defender Login Loop Using Command Prompt - How to Fix Product Key Not Found in Command Line-Java JDK Not Found in Windows 10: 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.