Fix PowerShell Login Loop After Update: Step-by-Step Guide - How to Resolve Task Scheduler Update Permission Denied-How to Fix Task Scheduler 504 Gateway Timeout

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