Sometime on SCVMM 2012 R2 SP1 you try to create a VM from a template and you have this error message :
Error (609) Virtual Machine Manager cannot detect a heartbeat from the specified virtual machine. Either the virtual machine is not running or Virtual Machine Additions is not installed. Recommended Action Verify the status of the virtual machine by connecting to it using Virtual Machine Remote Client (VMRC), and then try the operation again.
So what’s happen ? Why does it take so long and finally crash? The problem is coming from the customization of the VM. The customization pass in timeout because the process is stuck by an information missing or not set correctly (or lack of rights). First of all few point to check :
- did you pass the sysprep ?
- did you select the right OS in the OS profil in SCVMM ? (otherwise you will have a problem between the sysprep.inf and unattend.xml)
- did you set a RunAs account in SCVMM to join the domain ?
- did you specify the product key in your template ?
At this point some readers will tell me : “But? and if I want to set without product key ?”. This is the main issue and the information missing on the web (or difficult to find). You HAVE to specify a Product key ! And if you don’t want to use your KMS or a license you have to use AVMA key (Automatic Virtual Machine Activation). They are public and design for this usage :
If you do this your VM will be created correctly.