You can migrate scheduled tasks using the Administrative Console or the CLI using https://virtamove.atlassian.net/wiki/spaces/VDOC/pages/314048919/virtatasks?search_id=bb00fc79-0f0c-42ff-b728-701e38011988.

Notes:

To Migrate Scheduled Tasks Using the Administrative Console

  1. Complete all pre-requisites and complete steps 1-12 inclusive as outlined in the procedure https://virtamove.atlassian.net/wiki/spaces/VDOC/pages/311132184/Migrating+an+Application+Using+the+VirtaMove+Administrative+Console?search_id=79a472bb-b4e9-44d8-b1be-15aad7e342f6.

  2. Click the Source Tasks tab and select a task or tasks as appropriate.

  3. If user accounts are associated with tasks, manually add the user accounts and associated passwords to the tasks. Click the Source Accounts tab and select applicable user accounts and click Save. You will not be able to change the Run As account settings using Windows Task Scheduler in steps 5-8 if the account is not tethered over with the task.

  4. When you are ready, click the Pre-Populate button. If you have not yet activated your VirtaMove license key, you will now be prompted to do so. See https://virtamove.atlassian.net/wiki/spaces/VDOC/pages/311033861/Activating+Your+VirtaMove+License?search_id=05bc4676-8b32-4891-b615-ce4fd7a37e75 for information. Note that the Pre-Populate portion process may take some time. A window displays the status of the Pre-Populate process and the amount of data copied. If you hover over the data moved in green, you can see the estimated time remaining. You can cancel the process by clicking Cancel.

    At the Migrating application data stage of pre-populate, the Tether onitor icon in the system tray will spin until the end of the process. If you hover over the spinning icon, a tooltip will show the file size transferred and the rate of transfer.

    Click the Close button in the VirtaMove Pre-Population window to close the window when the process is complete.

  5. Once the container docks, open Windows Task Scheduler and change the Run As account settings and running type for each task you selected. Double-click a task. In the task Properties window, click the Change User or Group button.

  6. In the Select User or Group window, enter the account name for the task if required. For example, Administrator. Click OK.

  7. If you want an interactive window, select Run Only When User Is Logged On.

  8. In Task Scheduler, exercise a task by right-clicking the task and selecting Run.

  9. Click the Undock button. This undocks the container and each task you selected will be removed from the underlying operating system.

  10. If you will Dissolve the container, you will need to open Task Scheduler again after Dissolve and set the correct Run As setting for each migrated task, as described above in steps 4-6.

To Migrate Scheduled Tasks Using the CLI

  1. Create a container if you don't already have an existing container. If you have an existing container, skip to step 2.

    virtacreate C:\apliances\<container> /E

    where <container> is the full name and path of the appliance.

  2. Find the scheduled tasks on a source machine using the https://virtamove.atlassian.net/wiki/spaces/VDOC/pages/314048919/virtatasks?search_id=fccd5ac7-ae06-42e2-b067-e24ab9402f0b utility.

    virtatasks C:\appliances\<container> servername username password /L

    If VirtaMove Source Agent is installed on the source machine, specify only servername.
    A .csv file will be generated in:

    C:\appliances\<container>\TaskSelect.csv
  3. Open the .csv file and place an x before the comma in the line for each task you wish to migrate.

  4. Export the scheduled tasks to the container:

    virtatasks C:\appliances\<container> servername username password /E

    If VirtaMove Source Agent is installed on the source machine, specify only servername.
    Note: Tasks that have the same name as local tasks will not be docked.

  5. Dock the container:

    virtadock C:\appliances\<container>
  6. Run and exercise the task in Windows.

  7. Undock the container:

    virtaundock C:\appliances\<container>
  8. Optionally dissolve the container.

More Information

https://virtamove.atlassian.net/wiki/spaces/VDOC/pages/311460124/About+Dissolve?search_id=281eef5d-bccf-4cfe-bbdd-7c17c421ae81

https://virtamove.atlassian.net/wiki/spaces/VDOC/pages/311394908/Dissolving+a+Container?search_id=de887ee2-dda3-4d0b-a8f0-039cc654f684