Before performing any changes to a virtual machine that is failing to power on, ensure these requirements:
- Environment Prerequisites:
- vCenter Server: Version 7.0 Update 2 or later.
- ESXi Host: Version 6.7 or later.
- VM Hardware: Version 14 or later.
- Firmware: Must be set to UEFI.
- Secure Boot: UEFI Secure Boot must be enabled.
- Summary Tab: Select the VM in the vSphere Client and check the Encryption field in the Summary tab.
- Storage Policy: Go to Edit Settings > Hard disk and verify if the VM Storage Policy is set to an "Encryption Policy".
- If BitLocker is present, ensure to have the BitLocker Recovery Key available. If the virtual machine is recreated or the vTPM was reset, the Guest OS will likely stop at a BitLocker recovery prompt and require this key to complete the boot process.
- Configure and Enable a vSphere Native Key Provider (NKP):
- Navigates to the vCenter Server > Configure > Security > Key Providers. By clicking Add and selecting Add Native Key Provider, enter a unique name and add the provider.
- Once the provider is created, click Back-Up > Back UP Key Provider and download the resulting file to a secure location. The NKP becomes active after backup is completed.
- Select the newly created key provider and clicks Set as Default to activate it as the primary key provider for the environment.
- If the ESXi hosts in the cluster do not have physical TPM 2.0 chips, the option "Use key provider only with TPM protected ESXi hosts" must be unchecked during or after the creation process to ensure compatibility.
- Add or Reset a vTPM:
If an "initialization failed" error occurs, a vTPM reset is required. First, remove the existing TPM module from the virtual machine's Edit Settings. Then, proceed with the following steps to add the vTPM:- Right-click the VM and select Edit Settings.
- Click Add New Device and choose Trusted Platform Module.
- Click OK to save the changes.
- Power on the virtual machine.
- If reset fails, create a new VM with vTPM and Secure Boot enabled, then attach the original VMDK as an Existing Hard Disk.
Note: Bypassing vTPM requirements is unsupported by Broadcom and is done at your own risk.