Fix 'Run PowerShell Script Command Not Found' Error - Troubleshooting Remote Desktop Dependency Issues-Windows Security 504 Gateway Timeout After Reset

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