TechBuzzPro

How to Use Windows Sandbox: A Step-by-Step Guide

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Windows Sandbox gives you a temporary, isolated desktop environment where you can safely run untrusted software or test downloads without affecting your main system. It's like a disposable virtual machine that resets every time you close it. To use it, you need Windows 10 Pro/Enterprise (build 18305+) or Windows 11 Pro/Enterprise, and virtualization must be enabled in BIOS. The steps below walk you through enabling and using it.

What You'll Need

  • Windows 10 Pro, Enterprise, or Education (or Windows 11 Pro/Enterprise) – Home editions don't include Sandbox.
  • Virtualization enabled in BIOS/UEFI (usually on by default on modern PCs).
  • At least 4 GB of RAM (8 GB recommended), 1 GB of free disk space, and a 64-bit CPU.
  • Administrator access to your PC.

Step-by-Step

  1. Check your Windows edition: Press Win + R, type winver, and press Enter. Confirm you're on Pro, Enterprise, or Education. If you're on Home, Sandbox isn't available (see FAQ).
  2. Enable virtualization in BIOS if needed: Restart your PC, press the key shown on screen (often F2, Del, or F10) to enter BIOS/UEFI. Look for a setting called “Intel VT-x”, “AMD-V”, or “SVM Mode” and enable it. Save and exit. This is usually already enabled on most systems.
  3. Open Windows Features: Press Win + R, type optionalfeatures, and press Enter. This opens the “Turn Windows features on or off” dialog.
  4. Enable Windows Sandbox: Scroll down, check the box next to “Windows Sandbox”, and click OK. Windows will install the required components.
  5. Restart your PC: When prompted, click “Restart now” to complete the installation. After reboot, Sandbox is ready.
  6. Launch Windows Sandbox: Press Win, type “Windows Sandbox”, and click the app. A new desktop window will open – this is your isolated environment. It starts fresh each time.
  7. Copy files into the Sandbox: To test a file, copy it from your host PC and paste it inside the Sandbox window. You can also drag-and-drop files directly. Note: Clipboard sharing works both ways by default.
  8. Run your software: Inside the Sandbox, install or run the software as you normally would. It has its own virtualized OS, so anything you do stays contained.
  9. Close the Sandbox: When you're done, simply close the Sandbox window. A prompt will ask if you want to discard all contents – click “OK”. Everything is permanently deleted, and the next launch is a clean slate.

Common Mistakes

  • Using Windows Home: Sandbox isn't available on Home editions. Some users try to force it via third-party tools, but that's unsupported and risky. Upgrade to Pro or use a regular VM instead.
  • Forgetting to enable virtualization: If you see an error about virtualization, it's likely disabled in BIOS. Check your BIOS settings and enable the appropriate VT-x/AMD-V option.
  • Not restarting after enabling: The feature won't work until you restart. Skipping the restart leads to a “Windows Sandbox failed to start” error.
  • Assuming Sandbox persists: Everything inside is lost when you close it. Don't save important files inside – copy them out first if you need them.
  • Using Sandbox for gaming or heavy apps: It's not designed for that. It has limited GPU support and performance, so stick to lightweight testing.

Tips

  • Use a shared folder for convenience: Instead of copying files every time, you can configure a shared folder via a .wsb file (Windows Sandbox configuration). Create a text file with a .wsb extension and add a line like <MappedFolders><MappedFolder><HostFolder>C:\MyTestFiles</HostFolder><ReadOnly/></MappedFolder></MappedFolders> (adjust the path). Then double-click the .wsb file to launch Sandbox with that folder mapped.
  • Disable network if you want extra isolation: In the .wsb file, add <Networking>Disable</Networking> to cut off internet access. Useful for testing suspicious files that might phone home.
  • Keep your host system updated: Sandbox relies on Windows features, so keeping Windows updated ensures compatibility and security.
  • Use keyboard shortcuts: Inside Sandbox, Ctrl + Alt + Break toggles fullscreen, and Ctrl + Alt + Home lets you use the host's taskbar.

Troubleshooting

Windows Sandbox fails to start

First, restart your PC if you haven't. Then check that virtualization is enabled: press Ctrl + Shift + Esc to open Task Manager, go to the Performance tab, and click “CPU”. Look for “Virtualization: Enabled”. If it says Disabled, you need to enable it in BIOS and restart.

“Windows Sandbox cannot be installed” error

This often happens if your system doesn't meet requirements. Make sure you're on a Pro/Enterprise edition and that your CPU supports virtualization (most modern ones do). Also, check that you have enough free disk space (at least 1 GB).

Sandbox opens but is black or unresponsive

Try updating your graphics drivers. Also, ensure your system has at least 4 GB of RAM free – Sandbox needs memory to run. Close other heavy applications and try again.

Clipboard sharing not working

By default, clipboard should work both ways. If it doesn't, try copying smaller amounts of text. For files, use drag-and-drop or the mapped folder method instead.

“Virtual machine platform” error

Windows Sandbox depends on the Virtual Machine Platform. Go to optionalfeatures and ensure “Virtual Machine Platform” is also enabled. If it's already on, disable it, restart, re-enable it, and restart again.

Frequently Asked Questions

Can I use Windows Sandbox on Windows 10 Home?

No. Windows Sandbox is only available on Pro, Enterprise, or Education editions. If you have Home, you can't use it officially. Consider using a third-party virtual machine like VirtualBox or VMware instead.

Is Windows Sandbox safe for testing malware?

It provides strong isolation, but it's not a security boundary like a dedicated malware analysis VM. Malware could potentially escape (rare but possible). For truly dangerous files, use a dedicated VM with no network access and snapshots.

Does Windows Sandbox save anything after closing?

No. Everything is discarded when you close it. The next launch is a completely fresh Windows instance.

Can I run multiple Sandbox instances at once?

Yes, you can launch multiple Sandbox windows, but each consumes significant memory (around 1-2 GB). Running more than one may slow your system.

How do I install software inside the Sandbox?

Just download the installer inside the Sandbox (if network is enabled) or copy it from the host via drag-and-drop, then run it. It installs only within the Sandbox.

Can I access files on my host PC from inside the Sandbox?

By default, no – the Sandbox is isolated. You can copy files in via clipboard or drag-and-drop. For persistent access, create a .wsb file with a mapped folder as described in Tips.