Fix PowerShell 504 Gateway Timeout After Windows Update - Resolve Task Scheduler Token Expired Issue-How to Fix Remote Desktop Authentication Failed Error

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.