How to Fix PowerShell Invoke-WebRequest 504 Gateway Timeout - Firefox Profile Permission Denied Troubleshooting-Permission Denied Error When Running slmgr.vbs

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