Enable or disable Virtualized GPU sharing for Windows Sandbox
As you know, any software or application you choose to install in Windows Sandbox remains only in that environment and cannot affect your host. Also, once Windows Sandbox is closed, all the programs are deleted automatically. To enable or disable vGPU Sharing for Windows Sandbox do the following, If vGPU is disabled, the sandbox will use the Windows Advanced Rasterization Platform (WARP).
Using Registry Editor
Press Win+R in combination to open the ‘Run’ dialog box. Type ‘regedit’ in the empty field of the box and press ‘Enter’. When the Registry Editor opens, navigate to the following path address – If you do not find a key with such a name then, create one.
Now, create a new 32-bit DWORD value ‘AllowVGPU’. Remember here that even if you are running 64-bit Windows, you still need to use a 32-bit DWORD as the value type. Supported values
Enable – Enables vGPU support in the sandbox.Disable – Disables vGPU support in the sandbox. If this value is set, the sandbox will use software rendering, which may be slower than the virtualized GPU.Default – This is the default value for vGPU support. Currently, this means vGPU is disabled.
Once the key is created, set its value to 1. The action when confirmed will enable the vGPU sharing for Windows Sandbox. To disable it, simply delete the value. This will disable the vGPU sharing feature. When done, close the Registry Editor and exit. Restart your PC to allow the changes to take effect. Read: How to enable or disable Clipboard Sharing with Windows Sandbox.
Using Group Policy Editor
Open Group Policy Editor and navigate to the following path address – Switch to the right-pane and look for the policy setting ‘Allow vGPU sharing for Windows Sandbox’. Now, to enable vGPU sharing for Windows Sandbox set the policy to ‘Enabled’. That’s all there is to it! Also read:
How to disable Networking in Windows SandboxHow to enable or disable Video Input in Windows Sandbox.