Citrix Machine Creation Services Fails with error code Error Id: XDDS:07E48AB2 Image Preparation Finalization Failed


One of the customers that I have been working with recently had a strange issue with Machine Creation Services failing during the Preparation stage throwing the error message Image Preparation Finalization Failed with an error code XDDS:07E48AB2

The customer environment is below

  • XenDesktop 7 running VDA 7.0
  • Server 2012 Hosted Shared Desktops and Apps
  • VMware vSphere 5.1

 

It was even strange as everything was working fine for them until this happened and I had apply fixes in quite a few areas to get the setup in a working state.

The below is what came up when I tried creating a new catalog or adding a machine to an existing catalog

Image

Fig1

Fig2

Fig2

 

  1. VMware Tools / Hypervisor Tools – A lot of times, this is one of the checks that a lot of admins out there overlook. VMTools or other vendor hypervisor tools must be checked for their functionality. Ensure that the VMTools is in running state when the VM boots up. In my case, the VMTools weren’t running when the master image boots and stayed at the CTRL+ALT+DEL screen. I noticed that the state of the VMTools changed from not running to Running when I logged into the image as Administrator and that isn’t right. The tools should be running when you have the CTRL+ALT+DEL screen to login. I ran the VMware Tools Repair for both 32 bit and 64 installers. For this, Don’t select the autorun but open mounted CD/DVD drive and run the repair for setup.exe and setup64.exe for VMware tools
  2. MCS Service Account Permissions – One of the very ambitious VMware admins ( he was a member of the BAU team who supported the customer’s infrastructure) wasn’t ready to give the MCS service account enough rights for it to operate. It pays to check, double check and triple check the permissions of the XenDesktop service account yourselves or get your VMware admins to confirm all the required permissions are granted. Citrix has the XenDesktop permissions documented here for XenDesktop 7 and XenDesktop 5.6 FP1 . You could run “Get-ProvTask” to see all the recent provisioning tasks (fig 2) but ensure that you load all the required XenDesktop cmdlets by       running asnp Citrix* prior to the Get command
  3. VMXNET NIC Driver –

    When VMTools are upgraded/installed it sets the registry key:
    HKLM\SYSTEM\CurrentControlSet\Services\vmxnet  Reg_DWORD=START to Value:00000003. By resetting this to its previous value of dword:00000000 (i.e. its value before the upgrade) it stopped the BSOD. You have to upgrade VMTools and make this change before restarting the machine.

    Setting the START key to 3 will cause the system to not to load the vmxnet driver until someone manually starts it, ie “net start vmxnet”. The value of 0 means that the driver will be loaded at system boot along with all the other boot mode drivers and is considered critical to the system booting successfully. In newer operating systems, the registry value will be vmxnet3ndis6

Image

Fig3

 

There you have it and next time I come across this, I know exactly what needs to be checked. Please feel free to drop your comments guys if you come across anything else that you think is related.

 

 

XenDesktop 7 error XDDS:07E48AB2 when using Machine Creation Services


Machine Creation services could fail when creating a new Catalog with the following error message. I have seen this happening on a fresh XenDesktop 7 setup.

Capture3

Clicking on error details will give you this

Capture4

To fix this issue do the following:

On all the Desktop Delivery Controllers (DDC) open a Administrative PowerShell window and enter: Enable-wsmancredssp -Role Client –DelegateComputer *

Capture5

say Yes (Y)to the prompt and hit enter. Ensure that the same is done on other DDCs if you have multiple brokers in the environment.

Now go back to the Studio and select Hosting node, select the Connection resource and click Test Resource

Capture6

 

Ensure that the tests run successfully. try recreating the catalog and issue should go away.

 

Failed to Copy snapshot image – Disk Consolidation failed -Citrix Machine Creation Services


Environment

XenDesktop 7

Machine Creation Services

VMware vSphere 5.0

Issue

Citrix Machine Creation Services Wizard fails when creating a Machine catalog with error messages displayed below

Capture18

Capture19

Resolution

To fix the issue perform the following command on all the Desktop Delivery Controllers. A reboot isn’t necessary.

Capture20

Enable-WSManCredSSP -Role Client -DelegateComputer *

Run the Resource Testing in Citrix Studio under Hosting

Capture22

Ensure that the testing completes successfully

Unable to provision VMs via Citrix MCS – Invalid Configuration for device “10”


Folks,

Here is another issue with XenDesktop 7 when provisioning VMs using Citrix Studio via Machine Creation Services (MCS). My environment is

  • XenDesktop 7
  • Machine Creation Services
  • VMware vSphere 5.1
  • Server 2012 Hosted Shared Catalogs

 

Citrix Studio reported the error that I could pick up later from Event Viewer on the Desktop Delivery Controller Server(this is where studio is installed and running in my case). The error message is below

Capture4

Resolution

The VM template used for MCS provisioning had CD Drive/Floppy drive  attached to it. Remove that and the issue will be resolved.

Happy troubleshooting !