Resolving PowerShell Login Loop and Sync Issues - Microsoft Store File Locked Troubleshooting-Windows Security 502 Error Fix

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.