Fixing 'Access Denied' Errors When Running PowerShell Scripts - Fix Remote Desktop Login Loop After Password Change-PowerShell Access Denied: File Locked or Permissions

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