Fix PowerShell Failed to Initialize Properly on Windows - Windows 10 Remote Desktop Login Loop Fix-Windows Terminal Log Location & VS Code Integration

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