Outlook 504 Gateway Timeout: Troubleshooting Checklist - Configuring Task Scheduler Log Files in Windows-Break Task Scheduler Login Loop on Windows

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