
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.

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.

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.
