You can enable or disable Nested Virtualization for VMs in Hyper-V on a Windows 11/10 client or Windows server host by following the steps in this post.