Windows Update 504 Gateway Timeout: Advanced Troubleshooting Checklist - Network Troubleshooting with Command Prompt: A Practical Guide-How to Break an Outlook Login Loop

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