How to Fix PowerShell Login Loop Configuration Issues - Fix Permission Denied in Windows Task Scheduler-Fix 'Command Not Found' in PowerShell Terminal

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