Fix Windows Defender Login Loop in Windows 11 - Troubleshoot Windows Defender Permission Denied-Fix Windows Defender 504 Gateway Timeout Configuration Error

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