NOTE: This article contains information about UPDATING a Catalog ONLY.
For information on CREATING a Catalog see: CTX140734
Updating a catalog might fail during Image Preparation because of many reasons. In order to identify what caused the failure we need to collect preparation Image logs according to article CTX140734 - Error: “Preparation of the Master VM Image failed” when Creating MCS Catalog in XenApp or XenDesktop.
However, after running the commands from the preceding article successfully, the Preparation Image Shuts down and we are not able to collect the logs.
Run Get-ProvScheme and identify the Provisioning Scheme associated with the catalog in question (Provisioning Scheme name is same as the name of the catalog).
Make a note of the "ProvisioningSchemeUid" associated with the catalog.
Run the command "Set-ProvSchemeMetadata -ProvisioningSchemeUid xxxxxxx -Name ImageManagementPrep_NoAutoShutdown -Value $True.
Now, enable logs on the master image according to the article CTX140734 and start the catalog Update
During the Image Preparation following steps are performed by MCS
The following methods can be used to solve the problems during the Image Preparation
Skip "Enable DHCP":
Skip "Microsoft Windows KMS Rearm"
Skip "Microsoft Office KMS Rearm"
Solve issues that occurred during the step of “Unjoin device from Azure Active Directory”:
Manually unjoin the Azure Active Directory joined master VM and redo the catalog updating.
Commands described in the article CTX140734 will work only while creating new catalogs (New provisioning scheme) as it describes the metadata values for new provisioning schemes. When going for a catalog update, the existing provisioning scheme associated with the catalog is used, hence the metadata values for the existing provisioning scheme have to be changed.
Error: “Preparation of the Master VM Image failed” When UPDATING a Catalog
1. Commands that can be used to perform the above actions when the issue is seen during catalog creation
2. CTX140734 - Error: “Preparation of the Master VM Image failed” when Creating MCS Catalog in XenApp or XenDesktop.