This post outlines the general steps taken to prepare a System Center Virtual Machine Manager VM Template to be used with the Citrix Provisioning Services Streamed VM Setup Wizard.
It is recommended that you instead use the XenDesktop Setup Wizard to deploy Citrix VMs as this wizard can create Machine Catalogs or import the VMs in to an existing catalog aswell as creating WriteCache disks for you.
The easiest way I find to create a VM Template is to first create a virtual machine with your desired hardware configurations and then created a VM Template based off that machine. The PVS Streamed VM Setup Wizard only supports SCVMM Generation 1 certificates, so if you need to use Generation 2 again you should use the XenDesktop Setup Wizard.
Here I have my Generation 1 Virtual Machine created.Editing the properties of the VM I have created a 20GB VHD to be used as the Write Cache. I have removed the DVD virtual drive and increased the RAM to 1GB. When you have your virtual machine created how you like, you can proceed to creating the VM Template. Within the SCVMM management console navigate to Library and right-click Templates -> Create VM Template. Select From an existing virtual machine. Click Browse. Find and select the virtual machine you want to use for VM Template creation. Click OK. Click Next. Click Yes. The VM is destroyed in the process. Enter a name and optional description. Click Next. The hardware configuration is picked up from the virtual machine. Click Next. Use the Guest OS profile drop-down and select [None – customization not required]. We don’t need to use guest OS customization. All customizations are contained within the PVS image. Click Next. Specify a Library Server that will store this template. Click Next. Choose a location to store the VM Template on your Library Server. Click Next. Click Finish. The VM Template creation begins. Once the VM Template is created you can edit it and change the hardware configuration etc. The template is Generation 1, so that it will work with the Streamed VM Setup Wizard. Next time you run the PVS Streamed VM Setup Wizard, you’ll see the template.