Table of Contents
Windows Sandbox opens a temporary Windows desktop where you can test an app without installing it on your main system. Closing the window discards changes inside the sandbox. Network access, clipboard sharing, and shared folders can still connect the session to your host or other systems, so choose the settings for the test you need.

Enable Windows Sandbox
- Check that your Windows edition supports Sandbox. Microsoft lists supported Pro, Enterprise, and Education editions and requires hardware virtualization. Check Task Manager > Performance > CPU for the virtualization status.
- Search Start for Turn Windows features on or off. Select Windows Sandbox, click OK, and restart when prompted.
- Open Windows Sandbox from Start. See Microsoft’s installation requirements if the option is missing, or the Sandbox startup troubleshooting guide if it fails to launch.


Create a session with fewer host connections
For an offline test, create a new folder on the host, such as C:\SandboxInput, and put only the installer you intend to test in it. Check the folder path in File Explorer. The screenshot illustrates copying a path. Use your dedicated test folder rather than sharing your entire Downloads folder.

Paste the following into Notepad. Save it as OfflineTest.wsb using Save as type > All files so it does not end in .txt.
<Configuration>
<Networking>Disable</Networking>
<ClipboardRedirection>Disable</ClipboardRedirection>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\SandboxInput</HostFolder>
<ReadOnly>true</ReadOnly>
</MappedFolder>
</MappedFolders>
</Configuration>
Double-click the saved file on the host. Check that the folder is visible and that the session has no network access. A read-only folder still lets software in the session read what you put there. The Microsoft WSB reference documents the configuration options.

Use the result for what you tested
An app that works in Sandbox may behave differently on your host. An installer that needs the internet may fail with networking disabled. A quiet session also does not prove that a download is trustworthy. If a file looks suspicious, inspect its source and reputation before opening it.
Reader Comments 0
Sign in with email or Google to join the discussion.