Hey Gustavo!
It looks like you're running into some trouble with booting a Windows 11 VM on Hyper-V with TPM enabled on your Dell PowerEdge 450. The error message, "The key protector could not be unwrapped," is usually related to misconfigurations with the vTPM or the Host Guardian Service (HGS).
Here are a few steps and checks you can try to troubleshoot this issue:
- Verify TPM Settings: Make sure that the TPM is properly activated in the BIOS and that it matches the required specifications (TPM 2.0 for Windows 11). Since Dell confirmed compatibility, let's double-check that there isn't a configuration issue.
- Secure Boot Configuration:
- In Hyper-V Manager, for your VM, right-click and select Settings.
- Go to the Security section and ensure that Secure Boot is enabled and the Template is set to Microsoft UEFI Certificate Authority.
- Make sure that Trusted Platform Module is checked.
- Check Event Logs: Inspect the event logs mentioned, specifically HostGuardianService-Client.event.log, for any detailed errors that might provide additional insight into why the key protector is failing.
- VM Configuration: Ensure that the VM is set up correctly:
- Make sure the VM is a Generation 2 type since Windows 11 requires UEFI firmware which is only available for Generation 2 VMs.
- Confirm that your Windows 11 installation meets all the hardware requirements.
- HGS Setup: Since you are working with shielded VMs, ensure that the Host Guardian Service (HGS) is set up correctly and that there are no connectivity issues between the HGS and your Hyper-V host.
- Consider Testing Environment: If possible, try creating a similar VM in a separate testing environment (without relying on complex configurations) to isolate whether the issue is with the specific VM setup or a broader configuration issue.
Hope this helps you get to the bottom of the issue! If it persists, feel free to reach out with more info so we can dive deeper into the troubleshooting process.
Reference: