Gns3-gui: VMBoxManage command cannot enable nested vt-x/amd-v without nested-paging and unrestricted guest execution

Created on 7 Aug 2020  路  14Comments  路  Source: GNS3/gns3-gui

Not able to install GNS3 2.2.12

Microsoft Windows 10 Professional
VirtualBox 6.1
GNS3 VM

Run appliance in virtual machine wizard result the following error:
Error while saving settings: GNS3VM: Error while executing VBoxManage command: VirtualBox has returned an error: VBoxManage.exe: error: Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution!
VBoxManage.exe: error: (VERR_CPUM_INVALID_HWVIRT_CONFIG)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

Bug

Most helpful comment

Likely you have already found it but there is a post from a year or so ago referencing the same or at least a very similar error. It occurred after someone had installed hyper-v then tried to disable hyper-v and later installed virtualbox. The error they received was "Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution! (VERR_CPUM_INVALID_HWVIRT_CONFIG). "
The solution they found is in the early part of the post: bcdedit /set hypervisorlaunchtype off

https://www.reddit.com/r/virtualization/comments/ci7tmv/virtualbox_vm_not_starting_after_installing/

Thank you for pointing to me the link, indeed it resolved my problem, this what I did to get it working as suggested in the link:

  1. run this at command prompt: bcdedit /set hypervisorlaunchtype off
  2. turn off windows feature "Virtual Machine Platform"
  3. reboot

All 14 comments

Could this be a Virtualbox version issue? The following works for me as of the morning. I believe 6.1.2 is the latest Virtualbox release.

OS: Windows 10 version 2004 OS Build 19041.388
GNS3 version 2.2.12
Virtualbox 6.1.12r13918 (Qt 5.6.2)

I believe in earlier version of Virtualbox the error you describe was found and solved with the following.

https://dannyda.com/2020/03/10/how-to-enable-nested-vt-x-amd-v-force-enable-nested-vt-x-amd-v-in-oracle-vm-virtualbox/

Maybe you are trying to run another virtualization software like VMware or Hyper-V?

Could this be a Virtualbox version issue? The following works for me as of the morning. I believe 6.1.2 is the latest Virtualbox release.

OS: Windows 10 version 2004 OS Build 19041.388
GNS3 version 2.2.12
Virtualbox 6.1.12r13918 (Qt 5.6.2)

I believe in earlier version of Virtualbox the error you describe was found and solved with the following.

https://dannyda.com/2020/03/10/how-to-enable-nested-vt-x-amd-v-force-enable-nested-vt-x-amd-v-in-oracle-vm-virtualbox/

I am using Virtualbox Version 6.1.12 r139181 (Qt5.6.2) and I tried following the shared option, which gives the same error result.

Maybe you are trying to run another virtualization software like VMware or Hyper-V?

No I am not, I am running Virtualbox Version 6.1.12 r139181 (Qt5.6.2) on my Windows 10 Professional Version 2004 OS Build 19041.388 (Microsoft Windows NT 10.0.19041.0)

Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution!
(VERR_CPUM_INVALID_HWVIRT_CONFIG).

Result聽Code: | E_FAIL (0x80004005)
-- | --
Component: | ConsoleWrap
Interface: | IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

Likely you have already found it but there is a post from a year or so ago referencing the same or at least a very similar error. It occurred after someone had installed hyper-v then tried to disable hyper-v and later installed virtualbox. The error they received was "Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution! (VERR_CPUM_INVALID_HWVIRT_CONFIG). "
The solution they found is in the early part of the post: bcdedit /set hypervisorlaunchtype off

https://www.reddit.com/r/virtualization/comments/ci7tmv/virtualbox_vm_not_starting_after_installing/

I faced issue regarding VT-x. But after enabling nested VT-x it gives error as shown in the pic. Kindly help me regarding this issue.
Screenshot (1)
Screenshot (2)
Screenshot (3)

Likely you have already found it but there is a post from a year or so ago referencing the same or at least a very similar error. It occurred after someone had installed hyper-v then tried to disable hyper-v and later installed virtualbox. The error they received was "Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution! (VERR_CPUM_INVALID_HWVIRT_CONFIG). "
The solution they found is in the early part of the post: bcdedit /set hypervisorlaunchtype off

https://www.reddit.com/r/virtualization/comments/ci7tmv/virtualbox_vm_not_starting_after_installing/

Thank you for pointing to me the link, indeed it resolved my problem, this what I did to get it working as suggested in the link:

  1. run this at command prompt: bcdedit /set hypervisorlaunchtype off
  2. turn off windows feature "Virtual Machine Platform"
  3. reboot

Thank you for pointing to me the link, indeed it resolved my problem, this what I did to get it working as suggested in the link

Thank for the feedback! :+1:

I was too lazy to run and read about unknown command (bcdedit) and somehow my issue resolved by disabling Vt/Amd-v...

Likely you have already found it but there is a post from a year or so ago referencing the same or at least a very similar error. It occurred after someone had installed hyper-v then tried to disable hyper-v and later installed virtualbox. The error they received was "Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution! (VERR_CPUM_INVALID_HWVIRT_CONFIG). "
The solution they found is in the early part of the post: bcdedit /set hypervisorlaunchtype off
https://www.reddit.com/r/virtualization/comments/ci7tmv/virtualbox_vm_not_starting_after_installing/

Thank you for pointing to me the link, indeed it resolved my problem, this what I did to get it working as suggested in the link:

  1. run this at command prompt: bcdedit /set hypervisorlaunchtype off
  2. turn off windows feature "Virtual Machine Platform"
  3. reboot

It didn't work for me.

Instead, what has worked for me has been to disable Vt/AMD-V nested option in System Settings.

I was too lazy to run and read about unknown command (bcdedit) and somehow my issue resolved by disabling Vt/Amd-v...

It has worked for me too!

I didn't have Virtual Machine Platform enabled. I have several VMs that stopped working after MS forced an update of my Windows 10 Pro system a few weeks back.

I believe that it is Microsoft's attempt to use the new execute permissions bits in later Intel processors getting in the way of foreign hypervisors. Like others, I've had to disable VT/AMD-V in the VM settings, but now the VM is running at about 1/4 the speed it used to. I think that the latest builds of Windows 10 is interfering with VB. I doubt it is deliberate, and it's certainly not unprecedented, but it's unlikely that they will provide enough information for mortals like me to solve the problem.

Likely you have already found it but there is a post from a year or so ago referencing the same or at least a very similar error. It occurred after someone had installed hyper-v then tried to disable hyper-v and later installed virtualbox. The error they received was "Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution! (VERR_CPUM_INVALID_HWVIRT_CONFIG). "
The solution they found is in the early part of the post: bcdedit /set hypervisorlaunchtype off
https://www.reddit.com/r/virtualization/comments/ci7tmv/virtualbox_vm_not_starting_after_installing/

Thank you for pointing to me the link, indeed it resolved my problem, this what I did to get it working as suggested in the link:

  1. run this at command prompt: bcdedit /set hypervisorlaunchtype off
  2. turn off windows feature "Virtual Machine Platform"
  3. reboot

this worked with Windows 10 Dev VMs https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/ for Oracle Virtual Box

Was this page helpful?
0 / 5 - 0 ratings