Policy
Allow vGPU sharing for Windows Sandbox
This policy setting is to enable or disable the virtualized GPU. If you enable this policy setting, vGPU will be supported in the Windows Sandbox. If you disable this policy setting, Windows Sandbox will use software rendering, which can be slower than virtualized GPU. If you do not configure this policy setting, vGPU will be enabled. Note that enabling virtualized GPU can potentially increase the attack surface of the sandbox.
28cb338d375b AllowVGPU Registry
Copy registry mappings
HKLM\SOFTWARE\Policies\Microsoft\Windows\Sandbox\AllowVGPU (enabled) = 1
HKLM\SOFTWARE\Policies\Microsoft\Windows\Sandbox\AllowVGPU (disabled) = 0 Policy notes
This policy setting is to enable or disable the virtualized GPU. If you enable this policy setting, vGPU will be supported in the Windows Sandbox. If you disable this policy setting, Windows Sandbox will use software rendering, which can be slower than virtualized GPU. If you do not configure this policy setting, vGPU will be enabled. Note that enabling virtualized GPU can potentially increase the attack surface of the sandbox.