Intermediate Migration Task Setup Failed
Troubleshooting when the intermediate migration scheduled task cannot be created or validated during migration (~70%).
Description
During migration, the application prepares the next phase by creating and validating a Windows Scheduled Task responsible for continuing the process after restart.
This error occurs when the scheduled task cannot be created, verified, or enabled, or when the required runtime executable is missing.
At this stage, the device may already have left Active Directory and the provisioning package may have been applied. The scheduled task is required to continue migration after reboot.
Quick Reference
| Item | Details |
|---|---|
| Stage | Post-provisioning intermediate task setup |
| Progress | Around 70% |
| Device impact | Device may have left the domain and applied the provisioning package |
| Safe to retry | No |
| Responsibility | Customer IT administrator and Opsole Support |
What You Will See
Application Message
Installation failed
Portal Log
Migration failed in module CreateInterMigrateTask
Migration failed in module Get-Intermediate
Root Cause
The application is unable to prepare the next-phase execution task.
Common causes:
- Runtime executable missing
- Endpoint security removing or blocking files
- Application control policies preventing execution
- Task Scheduler service not running
- Policy restrictions blocking scheduled task creation
- Task created but removed by security or cleanup processes
Diagnosis
Run the following checks in PowerShell (Administrator):
Step 1 – Check runtime executable
Test-Path "C:\ProgramData\OpsoleMigrate\runtime\InterMigrate.exe"
Step 2 – Check runtime folder
Get-ChildItem "C:\ProgramData\OpsoleMigrate\runtime" -ErrorAction SilentlyContinue
Step 3 – Check Task Scheduler service
Get-Service -Name "Schedule" | Select-Object Name, Status, StartType
Step 4 – Check scheduled task
Get-ScheduledTask -TaskPath "\Migration\" -TaskName "InterMigrateTask" -ErrorAction SilentlyContinue
| Result | Meaning |
|---|---|
| Executable missing | Runtime package missing or removed |
| Runtime folder incomplete | Deployment or cleanup issue |
| Task Scheduler stopped | Windows service issue |
| Scheduled task missing | Task creation failed or removed |
Resolution
Runtime Executable Missing
Restore or redeploy the runtime package to:
C:\ProgramData\OpsoleMigrate\runtime
Security Tool Interference
Check antivirus or EDR quarantine and allow:
C:\ProgramData\OpsoleMigrate
Task Scheduler Issue
Start and enable Task Scheduler:
Start-Service -Name "Schedule"
Set-Service -Name "Schedule" -StartupType Automatic
Application Control Restriction
Allow execution of runtime components and scheduled task registration under:
\Migration\
Recovery Steps
This is a critical transition stage. Do not retry repeatedly.
Customer IT must confirm:
- Runtime executable exists
- Task Scheduler is running
- Scheduled task exists or can be recreated
- Device join state is understood
Proceed only after validation.
When to Contact Support
Contact support@opsole.com immediately if:
- Failure occurs in CreateInterMigrateTask or Get-Intermediate
- Runtime files are missing unexpectedly
- Multiple devices show the same issue
Related Logs
- Event Viewer → Application and Services Logs → OpsoleMigrate
How is this guide?