Resolving PowerShell Login Loop and Sync Issues - Fix Windows Activation Error 0x80070002 (Dependency Conflict)-Fix Error 0xc004c003 via Command Prompt

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