Fix Windows Defender Sync Error 504 Gateway Timeout - Change Windows Update Port to Fix 'Already Allocated' Error-Fix Windows Update Error 0x80070005 (Access Denied)

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