VirtualBox嵌套使用虚拟机

VirtualBox supports AMD-V, but "Enable Nested VT-x/AMD-V" can't be checked in System -> Processor -> Extended Features

Command line:
VBoxManage.exe modifyvm "vm_name" --nested-hw-virt on

Unable to start vm normally, prompt error message

[Solved]: Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution!

  1. Disable Hyper-V
    On the command line window, you need to run bcdedit /set hypervisorlaunchtype off command to disable Hyper-V in your System.
    bcdedit is a command line tool for managing Boot Configuration Data(BCD) stores. You can check more about this on Microsoft official website.
    Type "Win + x", Click "Windows Powershell(Admin)", run this command below
    bcdedit /set hypervisorlaunchtype off

  2. Turn off "Windows Feature"
    Then you need to turn off "Virtual Machine Platform" feature from Windows Features.
    For that you just need to uncheck this feature and then Click OK.

  3. Reboot
    After unchecking the Virtual Machine Platform, it will ask you to reboot the Windows to update the changes.
    Click on restart now to reboot your Windows System. That's all you need to do.
    After finishing the steps, you can now try to start the VM again and this time it should start without any further error.

posted @ 2022-12-30 11:02  疯狂的小西瓜  阅读(256)  评论(0编辑  收藏  举报