Fix PowerShell Connection Refused Errors in Scripts - How to Resolve Security Token Expired in Windows-Enable Windows Update Service When Disabled by Group Policy

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