Resolving PowerShell Login Loop and Sync Issues - Reinstall Windows Security Module: Step-by-Step-Fix 'Access Denied' Error in Windows Security for Administrators

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