Fix PowerShell 504 Gateway Timeout on Windows Server - Enable Windows Defender Threat Service Automatic Start-Repair Windows Defender via CMD

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