Fix Windows Defender Login Loop in Safe Mode - Troubleshoot Microsoft Store Sync Issues-Fix Exit Code 1 in Docker Entrypoint Scripts

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