

HostFolder: Specifies the folder on the host machine to share into the sandbox. If no path is specified, the folder will be mapped to the container user's desktop. At this time, relative paths aren't supported. Mapped foldersĪn array of folders, each representing a location on the host machine that will be shared into the sandbox at the specified path. Currently, this default value denotes that vGPU is disabled.Įnabling networking can expose untrusted applications to the internal network. Default This value is the default value for vGPU support.If this value is set, the sandbox will use software rendering, which may be slower than virtualized GPU. Disable: Disables vGPU support in the sandbox.Enable: Enables vGPU support in the sandbox.You can also invoke it via the command line as shown here: C:\Temp> M圜b To use a configuration file, double-click it to start Windows Sandbox according to its settings.


In Notepad, you should enclose the filename and the extension inside double quotation marks, for example, "My config b". Save the file with the desired name, but make sure its filename extension is. For details, see the correct syntax and the examples below. Open a plain text editor or source code editor (for example, Notepad, Visual Studio Code, etc.)Īdd appropriate configuration text between the two lines. The size of the sandbox window currently isn't configurable. Memory in MB: The amount of memory, in megabytes, to assign to the sandbox.Clipboard redirection: Shares the host clipboard with the sandbox so that text and files can be pasted back and forth.Printer redirection: Shares printers from the host into the sandbox.Protected client: Places increased security settings on the RDP session to the sandbox.Video input: Shares the host's webcam input into the sandbox.Audio input: Shares the host's microphone input into the sandbox.Logon command: A command that's executed when Windows Sandbox starts.Exposing host directories may allow malicious software to affect the system or steal data. Mapped folders: Share folders from the host with read or write permissions.Networking: Enable or disable network access within the sandbox.If vGPU is disabled, the sandbox will use Windows Advanced Rasterization Platform (WARP). vGPU (virtualized GPU): Enable or disable the virtualized GPU.wsb file extension.Ī configuration file enables the user to control the following aspects of Windows Sandbox: Windows Sandbox configuration files are formatted as XML and are associated with Sandbox via the. This feature can be used with Windows 10 build 18342 or Windows 11. Windows Sandbox supports simple configuration files, which provide a minimal set of customization parameters for Sandbox.
