Use and configure Windows Sandbox (.wsb files) — by Microsoft Learn
Documents the XML .wsb configuration file: vGPU, networking, mapped folders, logon command, audio and video input, clipboard, printer redirection and memory. Warns that networking is on by default and that read/write mapped folders can be damaged by whatever you run in the sandbox, so use read-only mapping and disable networking for untrusted files.
Quick steps
- Create a text file containing <Configuration></Configuration> and save it with a .wsb extension
- Add options such as <Networking>Disable</Networking>
- Map a host folder with <MappedFolder><HostFolder>...</HostFolder><SandboxFolder>...</SandboxFolder><ReadOnly>true</ReadOnly></MappedFolder>
- Run something on start with <LogonCommand><Command>...</Command></LogonCommand>; double-click the file to launch
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: Use and configure Windows Sandbox (.wsb files) by Microsoft Learn. Licence: Link only (©).
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me