A glowing Windows interface depicts a secure file transfer and download, with Wi‑Fi and clipboard access disabled.
Windows Sandbox lets you answer a useful question before committing to an app: will this installer run on a clean Windows desktop? You can try it, restart if the installer asks, and discard the test without uninstalling anything from your main PC. The catch is that a disposable desktop is not necessarily a disconnected one. Open Sandbox from Start and it normally has network access and a shared clipboard. For an unfamiliar installer that works offline, a better starting point is to turn both off and share just one folder, read-only.

NeoTeo’s guide highlights the distinction that matters most: closing Sandbox discards what happened inside it, not what an app did to a writable folder on your PC. Microsoft’s configuration controls let you decide where that boundary falls before the installer runs. Here’s how to set it up, recognize a successful test, and avoid mistaking a Sandbox limitation for an app defect.

A glowing Windows interface depicts a secure file transfer and download, with Wi‑Fi and clipboard access disabled. Check whether your PC can run Windows Sandbox​

Start with the Windows edition. Microsoft lists Pro, Enterprise, Pro Education/SE, and Education as eligible; Windows Home is not supported. Its installation guide lists Windows 10 version 1903 or later, or Windows 11. Processor architecture matters too: AMD64 is supported, while Arm64 requires Windows 11 version 22H2 or later. An Arm-based PC running an earlier release does not meet that requirement simply because it has enough memory.

Host resourceMicrosoft’s minimumMicrosoft’s recommendation
Memory4 GB RAM8 GB RAM
Storage1 GB freeAn SSD
Processor2 CPU cores4 cores with hyper-threading

Those figures qualify the host PC to run the feature; they are not a promise that a particular application will run comfortably inside it. Virtualization is a separate requirement. On a physical PC, it must be enabled in the BIOS or UEFI firmware. If the Windows desktop where you intend to enable Sandbox is itself a virtual machine, its host must expose virtualization capabilities to that VM. This is nested virtualization. If the Sandbox checkbox is unavailable, verify the edition and virtualization settings before trying a different installation command.

Enable the feature, then choose how to launch it​

  1. On the host PC, search Start for Turn Windows features on or off and open it.
  2. Select Windows Sandbox, choose OK, and let Windows apply the change.
  3. Restart the host PC if Windows prompts you.
  4. Open Windows Sandbox from Start. A separate Windows desktop should appear. For this first check, there is no need to run the installer.

If you prefer the command line, open PowerShell as administrator on the host and run the following command instead of using the checkbox. The same prerequisites apply, and Windows may still request a restart.

Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online

A sparse desktop is the expected result. Sandbox uses Microsoft’s hypervisor to run a separate Windows kernel; it does not open a second view of your current desktop. Programs you installed on the host do not automatically appear inside. That makes Sandbox useful for finding an installer that quietly relies on something already present on your everyday PC. It also limits what the test proves: a successful clean installation does not establish compatibility with every tool or add-on in your usual setup.

Once you’ve confirmed the desktop opens, close that first instance. Microsoft supports one running Sandbox instance at a time. For the actual offline test, launch a configuration file rather than reopening the Start shortcut: Start gives you the defaults; the file gives you the settings you chose.

Give the installer one read-only folder and no network​

First, choose the right installer. If the file’s only job is to download the application, an offline test can tell you how it handles a missing connection, but not whether the full application installs. Use a complete offline installer if the publisher provides one. Also decide what you want to learn: watching setup finish requires no way to export files, whereas retaining a diagnostic log requires a deliberate way to get that log out.

Microsoft’s example disables networking and the virtual GPU, maps C:\Users\Public\Downloads to C:\temp as read-only, and opens that location at sign-in. You don’t have to share a Downloads folder, and there’s a good reason not to: read-only stops writes, not reads. An app that needs one installer has no business reading the other files you downloaded last week.

On the host, create a folder named C:\SandboxInput and place only the installer and its necessary companion files there. The folder must exist before launch. If you use a different location, change HostFolder below to its full path. In a plain-text editor on the host, save the following configuration as OfflineInstaller.wsb, outside the input folder. Make sure the filename ends in .wsb, not .wsb.txt. In Notepad’s Save As dialog, entering "OfflineInstaller.wsb" with the quotation marks preserves the extension.

Code:
<Configuration>
  <Networking>Disable</Networking>
  <ClipboardRedirection>Disable</ClipboardRedirection>
  <AudioInput>Disable</AudioInput>
  <VGpu>Disable</VGpu>
  <MappedFolders>
    <MappedFolder>
      <HostFolder>C:\SandboxInput</HostFolder>
      <SandboxFolder>C:\TestInput</SandboxFolder>
      <ReadOnly>true</ReadOnly>
    </MappedFolder>
  </MappedFolders>
</Configuration>

Double-click OfflineInstaller.wsb. Inside the Sandbox window, open File Explorer and go to C:\TestInput. You should see the files you staged on the host. Run the installer from there and choose an installation destination inside Sandbox, not the shared input folder. If the installer needs to unpack files alongside itself, first copy the staged files to an ordinary folder on the sandbox desktop and run that copy. The installer then has a writable workspace without gaining write access to the host originals.

The three access controls solve different problems. Disabling networking removes the test app’s connection to the local network as well as the internet. Disabling clipboard redirection keeps host-to-sandbox copy and paste from acting as another transfer route. Explicitly setting ReadOnly to true prevents writes through the folder mapping; omitting that setting would leave the mapping writable by default. None of those settings establishes that the installer is trustworthy. They limit what it can reach while you evaluate it.

Match the restrictions to the question you’re testing​

The example also turns off microphone input and the virtual GPU. Neither requires the installer folder to work. Microsoft documents microphone sharing as enabled by default, while webcam input and printer sharing are normally disabled. With the virtual GPU off, Windows uses software rendering, which can be slower. That is a reasonable trade for checking whether a setup wizard completes; it makes the same session a poor basis for judging a graphics application’s performance. Likewise, a recorder that hears nothing with AudioInput disabled has not necessarily failed.

For a useful comparison, change only the setting relevant to the next test. If an installer reports that it cannot contact its publisher, record that it requires a connection, rather than concluding that it is broken. If online activation is the feature you need to evaluate, decide separately whether that test warrants network access. Microsoft warns specifically about exposure to the internal network: allowing the app to reach its activation server is not the same thing as restricting it to that server.

On eligible Windows 11 version 24H2 and later systems, the newer, Microsoft Store–updated Sandbox app also offers clipboard, audio/video, and folder-sharing controls under the … menu while a session is running. That is useful when evaluating a trusted app that needs a peripheral partway through a test. A .wsb file is still the clearer choice for an unfamiliar installer: the restrictions apply from launch, and you can reuse the same setup next time. The host’s ability to update the Sandbox app through the Store is separate from the guest’s permission to use the network.

Restart to finish setup; close to discard it​

If an installer requests a reboot, restart from inside the sandbox desktop. Beginning with Windows 11 version 22H2, Sandbox retains session data across that kind of restart. You can let setup finish, return to the sandbox desktop, and check whether the installed application launches. Closing the Sandbox window and opening it again is not an equivalent shortcut: the new instance starts clean. Don’t count on reboot persistence when testing on a Windows version earlier than that documented boundary.

Before closing, decide what you need to keep. For a simple pass/fail test, noting the outcome on the host may be enough. The offline configuration above intentionally provides no writable host folder and no shared clipboard. If you need an exported log, plan a separate, narrowly scoped output folder rather than making the installer folder writable. Treat whatever the app writes there as untrusted output. Closing Sandbox removes its private files and installed software; it does not roll back changes to a writable host folder.

When the test doesn’t behave as expected​

Sandbox opens from Start but not from the .wsb file. That narrows the problem: the feature can launch, so inspect the custom configuration first. Confirm that the host folder exists, that HostFolder contains its full path, and that the XML tags are paired correctly. Microsoft associates E_INVALIDARG with an invalid configuration and ERROR_FILE_NOT_FOUND with a missing configuration file. If Windows opens a text editor instead of a sandbox, check whether the editor appended .txt when you saved the file.

The configuration works at home but not on a managed PC. If Windows says an administrator enforces the setting, editing the XML is not the fix. On Windows 11 version 24H2 and later, for example, an administrator can prohibit host-folder mappings or allow them while denying write access. Ask which transfer method your organization permits. A policy refusal is useful diagnostic information, not evidence that you got the folder path wrong.

Notepad, Photos, Calculator, or Terminal is missing. Microsoft identifies these bundled Store apps as unavailable inside Sandbox beginning with Windows 11 version 24H2. Their absence is not evidence of a failed Sandbox installation, nor does it mean all third-party apps are unsupported. It can, however, affect a test: if setup finishes but its View log button expects Notepad, distinguish the missing viewer from a failure to produce the log.

The most useful result is a precise one: the offline installer completed on a clean Windows desktop, survived an in-session restart, and launched without writable access to host files. That tells you considerably more than “it worked,” without promising more than the test established. Use Sandbox when you want that clean start and disposable finish. If you need to shut down today and resume the same installed environment tomorrow, a persistent virtual machine is the better tool.

 

References

  1. Test apps in Windows Sandbox: setup and limits - NeoTeo NeoTeo 2026-12-03T23:04:37+00:00
  2. Use and configure Windows Sandbox | Microsoft Learn learn.microsoft.com