FOGProject/fogproject

Image creation on Hyper-V with TPM set to on fails

Trinity503 opened this issue · 4 comments

I tried to create a Windows 11 Image on a virtual machine on a Hyper-V server. After fog captured the Image the original machine ended in a BSOD. Also the machine to which the Image was deployed to. After hours of testing I found out, that it was the TPM-module, that was activated in the virtual machine. I suggest either to add a test for an activated TPM function before the Image is created and a notification for the user, that the deployment will likely fail, or add a note in the documentation, that when using virtual machines to turn TPM off (and use virtual discs with fixed sizes).

Thanks to the fog-team for all of your work!

That's odd. Maybe this is Windows 11 specific because I enable TPM in my Vmware VM I use for imagine. I do configure our unattend file to clear the TPM at sysprep time so that each Windows install has that clean. That's all in Windows 10 though, I know Windows 11 claims to utilize it more.

Thank you for your answer. Then the BSOD could have an other reason. I will investigate it further. Perhaps I was just lucky that it worked.

@Trinity503 said:

After fog captured the Image the original machine ended in a BSOD.

Beside the other issue I might add this should never happen. Can you reproduce the problem over and over?