KB-022213

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

ItemDetails
StagePost-provisioning intermediate task setup
ProgressAround 70%
Device impactDevice may have left the domain and applied the provisioning package
Safe to retryNo
ResponsibilityCustomer 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

ResultMeaning
Executable missingRuntime package missing or removed
Runtime folder incompleteDeployment or cleanup issue
Task Scheduler stoppedWindows service issue
Scheduled task missingTask 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:

  1. Runtime executable exists
  2. Task Scheduler is running
  3. Scheduled task exists or can be recreated
  4. 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

  • Event Viewer → Application and Services Logs → OpsoleMigrate

How is this guide?