Can't boot a VM in Hyper-V after enabling TPM. Boots fine, without it enabled

James 0 Reputation points
2023-11-17T19:55:46.58+00:00

Greetings everyone.

I cannot enable TPM on a Gen 2 VM running Server 2016, on a Hyper-V also running Server 2016. It boots fine, if it is not enabled, but fails, if I enable it, with the following errors:

User's image

I am not sure what invalid parameter it is trying to pass. We just enabled TPM on the host and have also enabled secure boot and it is currently encrypted with BL. Our goal is to have all servers encrypted with BitLocker.

Any help would be greatly appreciated.

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Server | User experience | Other
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lei Tao (Shanghai Wicresoft Co Ltd) 245 Reputation points Microsoft External Staff
    2023-11-22T07:53:00.3366667+00:00

    Hi @James

    This error code usually indicates that the bootloader was unable to load the required file. We recommend that you try the following steps to resolve this issue:

    1. Make sure your server is eligible to enable TPM.User's image
    2. Make sure you have the latest firmware and drivers installed on your server. You can contact the server manufacturer for the latest firmware and drivers.
    3. Try disabling the Dynamic Memory option on Hyper-V. You can disable this option by selecting the VM in Hyper-V Manager and clicking Settings > Memory > Dynamic Memory.

    Hope it helps.

    Kind regards,

    Lei

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.