Error: ImagePreparationFinalizationFailedCompletely when Creating or Updating MCS Catalog

Error: ImagePreparationFinalizationFailedCompletely when Creating or Updating MCS Catalog

book

Article ID: CTX202229

calendar_today

Updated On:

Description

When creating or updating MCS catalog the following error is generated no matter how long the timeout is set for. Issue can happen with any hyper-visor but has been seen mostly with VMware.

DesktopStudio_ErrorId : UnknownError
    ErrorCategory : NotSpecified
    ErrorID : ImagePreparationFinalizationFailedCompletely
    TaskErrorInformation : Terminated
    InternalErrorMessage : No Image Preparation results found, suggesting no suitable VDA or other serious failure in the Master VM. Image preparation failed
    DesktopStudio_PowerShellHistory : Create Machine Catalog 'Testing Catalog Creation'

Resolution

Solution 1

Go to master image, run Diskpart, issue command "SAN POLICY=OnlineAll".

Solution 2

In some environments the identity disk is correctly attached to the VM but is marked as offline by the operating system because of SAN policy, preventing the Image Preparation from running.

  1. Open an elevated command prompt from within the virtual machine.

  2. Start the Diskpart utility: diskpart.exe.

  3. Display the SAN policy, run the command: diskpart> SAN.

  4. If output shows "Offline shared" then proceed with the following steps.

  5. Change the SAN policy to be online with the command: diskpart> san policy=OnlineAll.

  6. The output should show - Diskpart successfully changed the SAN policy for the current operating system.

  7. Rerun the diskpart> SAN command to confirm if the policy changed successfully.

  8. Exit Diskpart utility by typing exit then Enter key.


Problem Cause

Somehow the Diskpart SAN policy in the master image is set to disable auto-mount of new disks.  VMW machine version 7 (ESX 3.5 and newer) presents drives to Windows as SAN storage. By not allowing auto-mount of new disks the image-preparation-identity.vmdk was not accessible and PvsVm service would not run the ImagePreparation.exe.

Additional Information

CTX200361 - XDDS:7BE07C6A - XenDesktop Fails to Create Machine Catalogs on SCVMM with Operation Timeout Error