Schedule a Script to Run with Task Scheduler - Stop Windows Defender Login Loop Using Registry-Windows Terminal Black Screen on Launch: How to 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.