Forum Discussion
Install failed at Attempting to get task info for MCC Install Scheduled Task
- Apr 24, 2026
It seems the issue all along was that the account I was using as the MCC account didn't have the Log on as a batch job permission assigned.
Hi,
This step of the MCC installer fails when the script cannot read or create the scheduled task “MCC Install Scheduled Task”. On a fresh Windows Server 2025 build, the most common causes are:
✔️ 1. Task Scheduler service not fully initialized
Right after enabling Hyper‑V or WSL, the Task Scheduler service may not be ready until after a reboot. Make sure you reboot after each role/feature installation before running the MCC script.
✔️ 2. Script not running with elevated rights
The installer must be executed from an elevated PowerShell session. If not, the scheduled task query fails with this exact symptom.
✔️ 3. Corrupted or partial first run
Since the first attempt failed, the script may have created a partial task entry. Check and remove it if present:
Get-ScheduledTask -TaskName "MCC Install Scheduled Task" -ErrorAction SilentlyContinueIf it exists, delete it:
Unregister-ScheduledTask -TaskName "MCC Install Scheduled Task" -Confirm:$falseThen rerun the installer.
✔️ 4. Logs
If you can share the relevant part of the log (the section around the scheduled task step), I can help pinpoint the exact failure.
Let me know what you find after checking these points.
- Check
- Check
- Ran command and got no result. I guess it isn't there? When I reran the installer, it failed differently.
- I tried to attach logs on original post but didn't like it. Hopefully this link works. MCC logs includes primary run and secondary attempt.
Thanks for the help.