Windows Sandbox is a temporary virtual machine built right into Windows 11 and Windows 10. Windows creates it on demand, using the same version of Windows that’s on your PC, and throws it away when you close it.
It’s free and easy to set up on the Pro, Enterprise and Education editions of Windows. It’s the perfect place to try out software you’re not sure about, open risky files, or visit websites you don’t trust.
The Short Version
- Make sure you have Windows 11 or 10 Pro, and virtualization turned on in the BIOS.
- Search Start for Turn Windows features on or off.
- Tick Windows Sandbox, click OK, and restart.
- Search Start for Windows Sandbox to open it.
Windows Sandbox Requirements
Before you start, check your PC has:
- Windows 11 or Windows 10 Pro, Enterprise or Education. Windows Sandbox isn’t available in the Home edition. To check yours, open Settings, System, About, and look at Edition.
- A 64-bit processor (or an Arm processor on Windows 11 22H2 or later).
- Virtualization turned on in the BIOS. Most new PCs have it on. If not, here’s how to enable virtualization (VT-x and AMD-V).
- At least 4 GB of RAM (8 GB recommended), 1 GB of free disk space, and 2 processor cores.
How to Enable Windows Sandbox
- Click the Start button and type turn windows features on or off. You don’t need to type it all, Windows guesses as you go. Click Turn Windows features on or off (Control Panel).
- In the Windows Features window, scroll down and tick Windows Sandbox. The list is in alphabetical order, so it’s near the bottom. Click OK.
- Windows installs the files it needs, then asks you to restart. Click Restart now.
- As your PC restarts, the changes are applied.




Enable Windows Sandbox with PowerShell
If you prefer, you can turn it on with one command. Right-click the Start button, choose Terminal (Admin) or Windows PowerShell (Admin), paste this in, press Enter, and restart when asked:
Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online
How to Open Windows Sandbox
Once your PC has restarted, click Start and search for Windows Sandbox. It appears at the top of the results.
It’s worth pinning it to Start or the taskbar so it’s always to hand.

Sandbox Virtual Machine Is Created Automatically
Every time you open Windows Sandbox, a brand new virtual machine is created on the spot, running the same version of Windows as your PC.
It’s very lightweight, without the extra programs and apps that normally come with Windows. Since Windows 11 24H2, even Notepad, Calculator and Photos aren’t there. Just enough of what you need, without the bloat.

Internet Access
Although Windows Sandbox is lightweight, it has internet access through Microsoft Edge. Edge works just as it does on your PC, so you can browse, sign in to websites, and download files into the sandbox.
But it has none of your favourites, browsing history or saved passwords, so you can browse safely. It’s ideal for opening a suspicious email or link safely.
If something in the sandbox is infected with malware, it can’t escape to your PC. Close the sandbox and everything in it is deleted.

Sharing Files and the Clipboard with Windows Sandbox
The easiest way to get a file into the sandbox is to copy it on your PC and paste it into the sandbox window.
On Windows 11 24H2 and later, click the … menu at the top right of the Windows Sandbox window. From there you can turn clipboard sharing, your microphone and camera, and shared folders on or off while it’s running.

Remember: Nothing Is Saved
When you close Windows Sandbox, everything in it is deleted for good. Copy anything you want to keep back to your PC before you close it.
Troubleshooting Windows Sandbox
Windows Sandbox Is Missing or Greyed Out
If Windows Sandbox isn’t in the Windows Features list, or you can’t tick it, your PC doesn’t meet the requirements. Usually it’s the Home edition, or virtualization is turned off in the BIOS. Here’s how to check and enable virtualization.
Windows 11 Home or Windows 10 Home
Windows Sandbox isn’t available on Home. Instead, you can set up a full virtual machine for free with VirtualBox or VMware Workstation Pro. It isn’t thrown away each time, but you can roll it back. Here’s how to install VirtualBox.
Running Windows Inside a Virtual Machine?
Windows Sandbox can run inside a virtual machine, but only if nested virtualization is turned on. In VMware Workstation Pro, shut the virtual machine down, open VM, Settings, Processors, and tick Virtualize Intel VT-x/EPT or AMD-V/RVI.
Frequently Asked Questions
Q: Is Windows Sandbox a virtual machine?
A: Yes, a very lightweight one. Windows creates it on demand from your own copy of Windows, and deletes it completely when you close it.
Q: Can I get Windows Sandbox on Windows 11 Home?
A: No. Windows Sandbox is only in the Pro, Enterprise and Education editions. On Home, use a free virtual machine program like VirtualBox instead.
Q: Do I need to download Windows Sandbox?
A: No. It’s built into Windows. Turn it on in Turn Windows features on or off and restart.
Q: Does Windows Sandbox keep my files when I close it?
A: No. Closing it deletes everything inside, so copy anything you need back to your PC first.
Q: Is Windows Sandbox free?
A: Yes. It comes with Windows 11 and 10 Pro, Enterprise and Education at no extra cost.
Q: Can I install programs in Windows Sandbox?
A: Yes. Download or copy the installer in and run it, just as on a normal PC. The Microsoft Store app isn’t there, though. Here’s how to test software in Windows Sandbox.
Q: How do I share a folder with Windows Sandbox?
A: On Windows 11 24H2 and later, click the … menu at the top right of the Sandbox window and add a shared folder. On older versions you need a .wsb configuration file.
Summary
Once it’s enabled, Windows Sandbox is the quickest way to get a virtual machine. Tick a box, restart your computer, and Windows does everything else. Every time you open it, it’s a brand new virtual machine.
It’s a shame it isn’t in the Home editions of Windows, but you can always set up a “real” virtual machine instead.
Related Posts
How to Use Windows Sandbox to Test Software
Try new programs and apps without putting your PC at risk.
How to Use Windows Sandbox to Check an Email
Want to click that link in an email, or open the attachment? Do it here.
Windows 11 Virtual Machine in VMware Workstation Pro
If you want a full virtual machine that keeps your changes.
Run Windows 7 as a Virtual Machine
Windows 7 may be well past its end-of-life date (January 2020), but thousands of people still use it to run older software that simply won’t work on Windows 10 or 11.

In this step-by-step guide I’ll show you exactly how to set up a Windows 7 virtual machine using VMware Workstation Pro.
You can find this and other related step by step guides in – At Home Computer Virtual Machines
Written by Jeff Porter. I’ve been fixing Windows PCs since 2010 and I’m CompTIA Network+ certified. More about me