What is Windows Sandbox?
A clean Windows desktop that runs separately from the host by using hardware-based virtualization. Close the Sandbox and the software, files and state inside it are discarded.
Windows Sandbox is Microsoft's lightweight, isolated and disposable Windows environment. Use this page as a practical starting point, then jump straight into the official Microsoft documentation for the details.
A clean Windows desktop that runs separately from the host by using hardware-based virtualization. Close the Sandbox and the software, files and state inside it are discarded.
Testing applications, troubleshooting installers, opening unfamiliar files, trying development tools, validating scripts and creating short-lived test environments without maintaining a full VM.
Isolation reduces risk, but configuration still matters. Networking, clipboard sharing and writable mapped folders connect the Sandbox to resources outside the isolated environment.
Windows Sandbox is available on supported Windows editions and requires virtualization support. Microsoft recommends at least 4 GB RAM, 1 GB free disk space and two CPU cores; more memory and cores improve the experience.
A Windows Sandbox configuration file is XML with the .wsb extension. It can control the most useful Sandbox settings without requiring a separate VM definition.
Networking is enabled by default. Microsoft specifically notes that network access can expose untrusted applications to the internal network. Mapped folders can also expose host data, particularly when write access is enabled.
For suspicious content, a useful pattern is to disable networking and map only the required folder as read-only.
<Configuration>
<Networking>Disable</Networking>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\Samples</HostFolder>
<ReadOnly>true</ReadOnly>
</MappedFolder>
</MappedFolders>
</Configuration>These are the primary references worth bookmarking. Build My Sandbox links to them rather than trying to duplicate Microsoft's full documentation.
Choose the tools and settings you want, inspect the generated configuration and launch your disposable Windows playground.