Resolving PowerShell Login Loop and Sync Issues - How to Fix Windows Update Error 0x800f081f-Windows Server 2019 RDP Access Denied Troubleshooting

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