Fix PowerShell Profile Configuration Not Working - Fix Command Prompt Log File Access Denied Error-Resolve CMD Connection Refused Errors Caused by Firewall

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