Windows Update Cannot Connect to Service: Practical Fixes - Resolve Windows Security Connection Refused-Windows 10 Product Key Invalid After Hardware Upgrade – Troubleshoot

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