Fix PowerShell Restore Failed Access Denied Error - How to Set PowerShell as Default Terminal in Windows 11-Fixing PowerShell Scripts Between Mac and Windows

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