Fix Python UnicodeDecodeError with os.listdir - Resolving Remote Desktop Error 0x80004005-How to Fix 'fatal: refusing to merge unrelated histories' in Git

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