Fix 'Running Scripts Is Disabled' Error in PowerShell - Migrate Scheduled Tasks from Server 2016 to 2022-Recover Missing Scheduled Tasks After Reboot

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