How to Enable and Use Windows Sandbox in Windows 11 to Safely Test Untrusted Applications

Downloading software installers from unfamiliar developers, testing beta utility scripts, or opening suspicious email attachments always introduces the risk of malware infections, system instability, or unwanted registry modifications. While installing traditional virtualisation software (such as VMware Workstation or VirtualBox) provides isolation, configuring virtual disks and downloading multi-gigabyte ISO images consumes substantial time and disk space. Windows 11 includes an integrated, disposable virtual desktop environment called Windows Sandbox that spins up a pristine, lightweight copy of Windows in seconds and completely discards all changes upon closure.

How Windows Sandbox Architecture Works

Windows Sandbox combines the speed of containers with the bulletproof security of hardware-based virtualisation. It utilises Microsoft Hyper-V technology to create a dedicated kernel partition entirely separate from your host operating system. The sandbox environment dynamically borrows system files from your host installation rather than requiring a dedicated virtual hard drive, keeping memory footprints tiny and startup times under 15 seconds. Once you close the sandbox window, the entire guest state—including downloaded files, modified registry keys, and installed drivers—is permanently and irreversibly destroyed.

Hardware and Edition Prerequisites

Before attempting to turn on Windows Sandbox, verify that your computer meets these system baselines:

  • Windows 11 Edition: Windows 11 Pro, Enterprise, or Education (Windows 11 Home does not natively support Hyper-V features).
  • CPU Virtualisation: Hardware virtualisation (Intel VT-x or AMD-V) must be enabled in your computer’s UEFI/BIOS settings.
  • Memory and Storage: At least 4 GB of RAM (8 GB recommended) and at least 1 GB of free SSD storage headroom.

Step 1: Verify Hardware Virtualisation in Task Manager

To confirm your processor is ready for virtualisation:

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Click on the Performance tab on the left sidebar.
  3. Select CPU.
  4. Inspect the bottom right quadrant under the graph for the Virtualisation label.
  5. If it reads Enabled, proceed to the next step. If it reads Disabled, restart your PC, enter your BIOS/UEFI setup menu, and enable virtualisation support.

Step 2: Enable Windows Sandbox via Windows Features

Because Windows Sandbox is an optional system component, turn it on as follows:

  1. Press Windows + R to open the Run dialogue box.
  2. Type optionalfeatures.exe and press Enter to open the Windows Features dialogue.
  3. Scroll down the list and locate Windows Sandbox.
  4. Tick the box next to Windows Sandbox.
  5. Click OK. Windows will search for required system binaries and apply the virtualisation layer.
  6. When prompted, click Restart now to complete the system configuration.

Step 3: Launching and Testing Software in Windows Sandbox

Once your computer restarts, opening and using your disposable environment is effortless:

  1. Click the Start menu, type Windows Sandbox, right-click the application icon, and select Run as administrator.
  2. Within a few seconds, a clean Windows 11 desktop window appears inside your host workspace.
  3. To test an installer or suspicious file: on your real PC, locate the file, right-click and select Copy (or press Ctrl + C).
  4. Click inside the Windows Sandbox window, right-click the desktop, and select Paste (Ctrl + V). Windows seamlessly bridges clipboard transfers into the sandbox.
  5. Run the installer, inspect its behaviour, browse suspicious URLs via the sandboxed Microsoft Edge browser, or execute unfamiliar scripts without any risk to your primary workstation.

Windows Sandbox vs Full Virtual Machine Comparison

Feature Windows Sandbox Traditional VM (Hyper-V / VMware)
State Persistence Completely discarded on close Saved to permanent virtual disk
Installation Overhead 0 GB (uses host OS dynamically) 20–60 GB per virtual machine
Startup Speed 5–15 seconds 30–90 seconds
Isolation Boundary Hypervisor-enforced container Full hypervisor-enforced guest VM

Troubleshooting Common Windows Sandbox Errors

If Windows Sandbox encounters launch problems, review these practical diagnostic solutions:

  • Error 0x80070002 or 0x80070003: Indicates conflicting third-party antivirus software blocking Hyper-V container drivers. Temporarily whitelist Windows Sandbox or update your security suite.
  • Greyed-Out Checkbox in Optional Features: Confirms either CPU virtualisation is disabled in your motherboard BIOS or your edition is Windows 11 Home.
  • No Internet Inside the Sandbox: Check if your host workstation is connected through an aggressive VPN that blocks virtual switch adapters (vEthernet). Reconnect the host VPN after Sandbox boots.

By integrating Windows Sandbox into your regular testing routine, you can scrutinise unfamiliar installers, unverified scripts, and questionable downloads with total confidence that your primary operating system remains uncompromised.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.