Fix PowerShell Login Loop Error 0x80070002 - Fix Windows Security Connection Refused Due to Firewall Settings-Fix Task Scheduler Permission Denied for SSL Certificate Tasks

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