Fix PowerShell 504 Gateway Timeout Error - Microsoft Store File Locked Error Fix-Windows Security Token Expired: Troubleshooting Checklist

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