A GPU supports thousands of computing cores to process workloads in parallel. It does this task in an efficient manner. Windows Sandbox environment makes it possible to enable or disable Virtualized GPU sharing. Here’s how it’s done!
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,
- Open the Registry Editor.
- Navigate to the Windows Sandbox key
- Create a new 32-bit DWORD value AllowVGPU
- To enable the vGPU sharing for Windows Sandbox set the value to 1.
- To disable the vGPU sharing feature, delete the value.
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.
- 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 –
Computer Configuration\Administrative Templates\Windows Components\Windows Sandbox.
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!
- Tags: Sandbox