1

I'm trying to use VM to run a game and apparently I need to enable the GPU in the VM, and to do that I need to use Windows Sandbox (WSB) in the VM, but I can't get WSB enabled, the checkbox is grayed out, and when I put the cursor on it, this message appears:

"Windows Sandbox cannot be installed: The processor does not have the required virtualization capabilities."

  • I have a home edition of Windows 10, which runs an Enterprise edition of Windows 11 in Virtual Box.
  • My processor is an intel
  • Hyper-V is enabled on W11
  • I ran the "\VBoxManage modifyvm VMNAME --nested-hw-virt on" command on my real machine, which does not show any errors
  • In VirtualBox, the VT-x option in the System->Processor menu is checked

If someone has an idea, I'm interested, thanks.

1 Answers1

-1

Windows Sandbox requires a Type 1 hypervisor, meaning Hyper-V. In addition, to run Sandbox on a virtual machine, nested virtualization must be enabled.

Nested virtualization allows running Hyper-V on a virtual machine. In addition, it allows Windows Sandbox to run on a virtual machine, as it is itself a light-weight virtual machine.

Running Sandbox in a virtual machine has the additional bonus of being able to save the sandbox by taking snapshots of the VM while the sandbox is open.

While not being able to guarantee success for your setup, a PowerShell script was posted to enable nested virtualization on a VM - Nested.ps1.

You will find a video describing how to run the script in the article
Windows Sandbox on Hyper-V virtual machine.

harrymc
  • 498,455