sodcalculator

10 Tech How-To

How to Use Windows Sandbox in Windows 11

Guide 10-56112 · Updated · Step by step

Windows Sandbox is a lightweight virtual machine built into Windows 11 Pro and Enterprise that lets you run untrusted software in an isolated, temporary desktop. You open it, drag in a suspicious file or install a program, test it, and close the window – everything is wiped clean when you exit. This guide walks you through enabling it, launching it, and getting the most out of it.

What You’ll Need

  • Windows 11 Pro, Enterprise, or Education edition (Windows 11 Home does not include Sandbox).
  • Virtualization enabled in your PC’s BIOS/UEFI (most modern PCs have it on by default).
  • At least 4 GB of free RAM (8 GB or more recommended), and about 1 GB of free disk space.
  • Administrator access to your PC to enable the feature.

Step-by-Step

  1. Check your Windows edition. Press Win + R, type winver, and press Enter. Confirm your edition is Pro, Enterprise, or Education. If it’s Home, you’ll need to upgrade or use a third-party alternative.
  2. Enable virtualization in BIOS (if needed). Restart your PC and enter BIOS/UEFI (usually by pressing Del or F2 during boot). Look for a setting called “Intel VT-x”, “AMD-V”, or “SVM Mode” and enable it. Save and exit. If you’re not sure, check your motherboard manual.
  3. Turn on the Windows Sandbox feature. Open the Start menu, type Windows Features, and click “Turn Windows features on or off”. In the list, scroll down, check the box next to “Windows Sandbox”, and click OK.
  4. Restart your PC. Windows will install the necessary files and prompt you to restart. Do it.
  5. Launch Windows Sandbox. After restarting, click the Start button, type Windows Sandbox, and click the app. A new window opens with a clean desktop – this is your isolated environment.
  6. Copy files into the sandbox. Drag and drop a file from your host desktop into the Sandbox window. It will appear on the sandbox’s desktop. You can also right-click a file on your host, select “Copy”, then right-click inside the sandbox and choose “Paste”.
  7. Run your test. Double-click the file or install the program inside the sandbox. It runs in isolation – any changes stay there.
  8. Close the sandbox. When you’re done, simply close the Windows Sandbox window. A dialog asks if you want to discard all contents. Click “OK”. Everything is permanently deleted.

Common Mistakes

  • Forgetting to enable virtualization. If Sandbox won’t start, the most common cause is virtualization being off in BIOS. Reboot and check.
  • Using Windows 11 Home. Sandbox is not available on Home edition. You can’t enable it via the Features dialog – it simply isn’t listed.
  • Assuming files are saved. If you save a file inside the sandbox and close it without copying it out, it’s gone forever. Always move important results back to your host.
  • Running Sandbox while low on RAM. With less than 4 GB free, the sandbox may be sluggish or fail to start. Close other programs first.

Tips

  • Use a shared clipboard. Copy and paste text between host and sandbox works by default, which is handy for transferring URLs or commands.
  • Keep it for untrusted files only. Sandbox is great for opening email attachments you’re unsure about or testing downloads from sketchy sites.
  • Don’t rely on it for privacy. The sandbox isolates your system from the software, but it doesn’t hide your IP address or encrypt your traffic. Use a VPN if you need anonymity.
  • Create a shortcut. Right-click “Windows Sandbox” in Start and select “Pin to taskbar” for faster access.
  • Know the limitations. The sandbox uses a default Windows 11 image – it won’t have your installed apps or custom settings. That’s intentional.

Troubleshooting

  • Sandbox doesn’t appear in Windows Features. Your edition doesn’t support it, or the feature is hidden. Double-check your edition with winver. If you’re on Pro and it’s missing, run dism /online /enable-feature /featurename:Containers-DisposableClientVM /all in an elevated Command Prompt, then restart.
  • Error “Windows Sandbox failed to start”. This usually means virtualization is off or the hypervisor isn’t running. Check BIOS settings, and also ensure “Virtual Machine Platform” is enabled in Windows Features (it should be turned on automatically when you enable Sandbox).
  • Sandbox opens but is very slow. Close other heavy apps. Also check that your PC meets the 4 GB RAM minimum – if you’re close, performance will suffer.
  • Can’t copy files into the sandbox. Drag-and-drop sometimes fails if you’re running Sandbox as administrator. Instead, try copy-paste, or use a shared network folder (though that’s more complex).
  • Sandbox won’t install. If the feature installation fails, run Windows Update to ensure your system is fully patched, then try again.

Frequently Asked Questions

  • Is Windows Sandbox safe? It’s a secure isolation environment – software inside cannot affect your host system. However, it’s not a security boundary for network traffic; a malicious program could still access the internet. Use it with caution.
  • Can I use Windows Sandbox on Windows 11 Home? No. It’s only available in Pro, Enterprise, and Education editions. You’d need to upgrade your edition or use a third-party sandbox like Sandboxie.
  • Does Windows Sandbox require a license? No, it’s included with the supported editions at no extra cost.
  • Can I install software inside the sandbox permanently? No. Every time you close the sandbox, all changes are discarded. It’s designed for temporary testing only.
  • How much RAM does Windows Sandbox use? It dynamically uses memory as needed, but it’s recommended to have at least 4 GB free. The sandbox itself will consume roughly 1–2 GB when running a typical app.
  • Can I run Windows Sandbox alongside other virtual machines? Yes, but you need enough system resources. If you’re already running VirtualBox or Hyper-V, make sure you have spare RAM and CPU.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →