1 person found this helpful
I can confirm that re-creating the template from the parent VM while it's powered off is the solution to this.
I just had a customer with the same problem. They had created a template from a powered-on Windows Server 2008 R2 VM and, after deployment, upon startup they received the BSOD.
They shutdown the parent VM, re-created the template from it, and now deployment works fine.
I'll go ahead and test this and see if the issue goes away. Not sure if this matters but are you registering your OS with MS before creating the template?
So I finally had time to run through the motions again and it seems to have worked. Built a Windows 2008 R2 Std VM on ESXi 4.1 Build 320137. Here are the steps I followed.
- installed W2K8 R2 Std via ISO
- Installed tools
- manually loaded the correct display adapter driver (VMware SVGA 3D WDDM)
- shut the VM down
At this point I've not activated or entered a key
- converted to template
- deployed W2K8 from template
- custom deployment, system name, key, ect
- boot new VM
- once at log on prompt I let it sit, after about 30 sec it shutdown and sysprepped the system
- all looks good.
I'll update if I run into more issues.
CDC and Brapoport, thanks for your help. I'm trying to figure out how to give you guys points. Make a post and I'll mark it the solution.
I had the same problem.
Virtaul center 4.1 update 1
ESXi 4.1 update 1
guest - win2008R2 64bit
When I tried to clone the vm > I got autochk program not found
The solution was to shutdown the guest then clone it.
I had the same error when cloning a running VM. While it would seem you can avoid the situation by shutting down the VM when clonng or creating a template...Sometime you can't do that. I found a solution to fix the issue in the comments here: <http://briandesmond.com/blog/how-to-sysprep-in-windows-server-2008-r2-and-windows-7/
You need to boot the VM off the windows disk and choose repair and command prompt. You will probably have to get into the VM bios to change the boot order to boot of the CD. then...
#34 re: How to Sysprep in Windows Server 2008 R2 and Windows 7
Friday, April 08 2011 10:17 PM by Dan
Same problem with "Autochk program not found. Skipping autocheck."
Fixed by clearing nodefaultdriveletter volume attribute via:
select volume 1
attributes volume clear nodefaultdriveletter
Thanks so much for posting this. I had this issue, and this totally resolved it. (After a 24 hour clone, this saved some time).
I had this issue recently. The issue was that the clone operations was running against a VM that was powered on. If your VM is not powered on, check that it is registered correctly. There is a current bug/KB where if vCenter service is restarted the templates registration can become defunt (noted by the property collector error if you try to convert the template to/from vm or edit settings etc).
encountered the same problem - creating the template from the powered off VM did not help. Solution was in clearing the volume attribute as gjacknow suggested.
Thanks a lot
Glad people are finding this useful.
I don't know how someone figured this out, but your post saved my butt. I appreciate it.