How to Fix PowerShell Login Loop Configuration Issues - Windows Defender Connection Refused: Quick Fixes-Fix Windows Terminal 'Command Not Found' and 'Permission Denied'

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