Windows 2022 Configure Nested Virtualization with AMD Ryzen processor

CPU: AMD Ryzen 7 5700G with Radeon Graphics
OS: Windows Server 2022 Datacenter

The Hyper-V host must be Windows Server 2022/Windows 11 or greater.

Configure Nested Virtualization

  • Create a virtual machine. See the prerequisites above for the required OS and VM versions.
  • While the virtual machine is in the OFF state, run the following command on the physical Hyper-V host. This enables nested virtualization for the virtual machine.
1
Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true
  • Start the virtual machine.
  • Install Hyper-V within the virtual machine, just like you would for a physical server. For more information on installing Hyper-V see, Install Hyper-V.

For more information:
https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization#configure-nested-virtualization

HTH. 2022-12-7 By Jacky