Here is a quick way to get a generalized VM up and running on your favorite hypervisor:
- Install your OS
- Install virtualization tools (VMware Tools, XenTools, etc.)
- Install patches and make necessary OS/System changes
- Run C:\Windows\System32\sysprep\sysprep.exe
- Select Enter System Out-of-Box Experience (OOBE)
- Select Shutdown
- Click OK
- After the VM has been shutdown, convert it to a template
- To test, create a new VM from the template
- At boot up, Windows setup will begin
- When prompted, complete the setup wizard and begin using your VM
On a recent project, a customer had Citrix Provisioning Server 6.1 delivering XenApp and XenDesktop images to XenServer 6.0.2. They required a conversion of the XenApp and XenDesktop images to VMware vSphere 5.1 to simplify their DR plan. They also requested an upgrade to Provisioning Server 7.1 as part of the project.
Rather than rebuild each image, we decided to convert the images from VHD to VMDK and convert back to VHD for PVS 7.1 streaming to vSphere 5.1. Here are the steps we took to complete this task.
- Right-click the image and select Version…
- Select Merge…
- Select Merge Base and Maintenance Mode, click OK
- Wait for the image to finish merging
OPTIONAL: While Windows makes the magic happen, open resource manager to monitor disk reads and writes on the VHD files.
- Once the merge has completed, click Done.