Windows Sandbox lets you try an app in a temporary, hypervisor-isolated Windows desktop before installing it on your main system. To set it up, check that your Windows edition and PC meet Microsoft’s requirements, enable the feature, then limit the test app’s access to your network and host files where practical. These settings reduce specific exposure paths; Microsoft warns that network access and mapped folders can still carry risks.
Can your PC run Windows Sandbox?
Microsoft supports Windows Pro, Enterprise, Pro Education/SE, and Education; Windows Home is not supported. The minimums also include an eligible processor architecture, virtualization, 4 GB of RAM, 1 GB of free disk space, and two CPU cores. If Windows runs inside a virtual machine, nested virtualization is required. (Microsoft’s Windows Sandbox overview and installation requirements)
| Requirement | Microsoft minimum | Microsoft recommendation |
| RAM | 4 GB | 8 GB |
| CPU | 2 cores | 4 cores with hyper-threading |
Microsoft recommends an SSD. For processor architecture, the listed support is AMD64, or Arm64 on Windows 11 version 22H2 and later. On a physical PC, virtualization must be enabled in BIOS. Microsoft’s installation guidance lists the full prerequisites.
How do you turn on and open Windows Sandbox?
Use Windows Features to enable the feature, and restart only if Windows prompts you. Then open Windows Sandbox from Start.
- Check your Windows edition and hardware. Confirm the edition, architecture, available disk space, memory, CPU cores, and virtualization setting against the requirements above. This can rule out an eligibility issue before you try to enable Sandbox.
- Enable Windows Sandbox. Search Windows for “Turn Windows features on or off,” select Windows Sandbox, and confirm. If Windows prompts you to restart, do so.
- Open Sandbox. Find Windows Sandbox in Start and launch it. Each launch creates a fresh instance, separate from the host desktop.
Microsoft also documents an administrator PowerShell option for enabling the feature:
Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online
How can you test an app with less access to your files and network?
Before running an unfamiliar installer, decide how it will enter Sandbox and whether it needs internet access. Microsoft’s default configuration enables clipboard redirection and networking. Clipboard redirection lets you copy files between the host and Sandbox; a .wsb configuration file can instead map a chosen host folder and set its access to read-only or writable. (Microsoft’s configuration guidance)
For a test that does not need the internet, configure networking off. Map only the folder containing the installer, and choose read-only access where possible. That limits what the app can reach through those settings. Microsoft warns that networking can expose an untrusted app to the internal network, and that mapped files can be compromised or affect the host. Changes made to a writable mapped folder persist after the Sandbox session ends.
Microsoft’s sample configuration disables networking and vGPU, maps C:\Users\Public\Downloads as read-only at C:\temp, and opens that folder at logon. It’s an example, not a required location; use a folder that contains only what you need for the test. (Microsoft’s sample configuration)
“Enabling networking can expose untrusted applications to the internal network.” — Microsoft, Windows Sandbox configuration guidance
What happens when you restart or close Sandbox?
Starting with Windows 11 version 22H2, data persists through a restart performed inside Sandbox. Closing the Sandbox instance deletes its software, files, and state, so save anything you need outside it before closing. (Microsoft’s Windows Sandbox overview)
There is also a version-specific app limitation: beginning with Windows 11 version 24H2, inbox Store apps such as Calculator, Photos, Notepad, and Terminal are unavailable inside Sandbox. (Microsoft’s installation guidance)