Hello there,
This might be a known issue. After installing KB5022842 on guest virtual machines (VMs) running Windows Server 2022 on some versions of VMware ESXi, Windows Server 2022 might not start up. Only Windows Server 2022 VMs with Secure Boot enabled are affected by this issue. Affected versions of VMware ESXi are versions vSphere ESXi 7.0.x and below.
Resolved issues in Windows Server 2022 https://learn.microsoft.com/en-us/windows/release-health/resolved-issues-windows-server-2022
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–