Resolving PowerShell Login Loop and Sync Issues - Troubleshooting Windows Security Invalid Configuration-Windows Firewall Blocking Internet? Here's the 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.