FOGProject / fogproject

An open source computer cloning & management system
https://fogproject.org
GNU General Public License v3.0
1.08k stars 216 forks source link

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

Open Trinity503 opened 1 year ago

Trinity503 commented 1 year ago

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!

darksidemilk commented 1 year ago

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.

Trinity503 commented 1 year ago

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.

Sebastian-Roth commented 1 year ago

@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?

Sebastian-Roth commented 1 year ago

@Trinity503 Any news on this topic?