LockerGnomeTech news and nostalgia for today's technology professionals
Subscribe

Search

Software

Windows Sandbox Gives Windows 10 and 11 Pro a Disposable Desktop That Erases Everything When You Close It

Microsoft gates the hypervisor-isolated virtual machine behind Pro, Enterprise, and Education licenses — leaving Home users out — and turns host network access on by default until you switch it off.

A clean architectural blueprint-style illustration on a calm slate-blue background showing Chris Pirillo standing beside a floating translucent glass desktop window containing tangled app icons and a tiny unplugged network cable, pressing the corner close button as the icons dissolve into clear air.
Illustration: LockerGnome

Someone sends you an unfamiliar installer, a preview build, or an email attachment you do not quite trust, and you want to see what it does without turning your daily machine into a haunted house. Microsoft’s documentation for Windows Sandbox lays out a built-in answer sitting quietly inside supported Windows 10 and Windows 11 installations: a lightweight, disposable virtual machine running on the Microsoft hypervisor with its own separate kernel.

Maintaining a full virtual machine image takes work, so most people skip it and gamble on their host OS instead. Windows Sandbox sidesteps that chore by booting in a few seconds, supporting a virtual GPU, and using smart memory management to keep its footprint lower than a full VM. Every launch hands you a pristine installation of Windows with none of your host-installed software inside it (if you need an app in there, you install it explicitly). Close the window, and everything inside vanishes — software, files, and state, all discarded on the spot. It is the rare sandbox where you never have to sweep up after the mess.

One quirk worth knowing before you test an installer that demands a reboot: starting with Windows 11, version 22H2, data persists through restarts initiated inside the sandbox, so a reboot-hungry setup routine can actually finish before you wipe the session on close. Microsoft pitches the feature for testing and debugging applications, browsing unfamiliar websites, opening untrusted attachments, trying preview versions and extensions without the install-and-uninstall dance on your host, and even keeping separate development environments for different Python versions and dependencies.

Naturally, there are a few catches tucked into the fine print (there always are). First, Windows Sandbox enables network connectivity by default, and Microsoft warns that leaving networking on can expose untrusted applications to your internal network. Opening something genuinely dicey calls for a Windows Sandbox configuration file that disables networking and maps the folder holding your file in read-only mode. Second, you cannot run multiple instances simultaneously — which makes that “maintain a sandbox for each Python version” pitch sound a little optimistic if you ever need two side by side. And if you are on Windows Home, you are out of luck. Support is restricted to Windows Pro, Enterprise, Pro Education/SE, and Education, with license entitlements covering Pro/Pro Education/SE, Enterprise E3 and E5, and Education A3 and A5.

For IT pros and the designated family tech support crowd, the licensing split is the most predictable part of the whole setup. The people who could really use a one-click throwaway desktop to inspect a weird attachment are disproportionately sitting on Windows Home laptops, while the people on Pro and Enterprise already know how to spin up a full VM when they have to. Keeping a disposable, kernel-isolated desktop behind the Pro paywall probably nudges a few power users toward an upgrade, though it also leaves the built-in safety net out of reach for the exact machines that attract the most questionable downloads.

Still, if your daily driver or fleet already runs Pro, Enterprise, or Education, there is little reason to keep cluttering your host OS just to test-drive a new utility or inspect an unfamiliar file. Flip the network switch off in a configuration file, map your folder read-only, and let the hypervisor take the hit.

Close the window. Walk away.

More Software

Every Software story →