To set up a browser sandbox on Windows, turn on Windows Sandbox in Turn Windows features on or off, open it from the Start menu, and browse inside its window; everything is deleted when you close it.
This guide covers the Windows Sandbox requirements, a configuration file that tightens it for browsing, what the sandbox does and does not isolate, the sandbox already built into Chrome, Edge and Firefox, and Sandboxie for Windows Home PCs.

How to set up a browser sandbox with Windows Sandbox
Windows Sandbox is a disposable copy of Windows that runs on top of your PC with its own kernel. Microsoft lists secure web browsing as one of its main uses, and it needs Windows 11 or Windows 10 Pro, Enterprise or Education.
- Make sure virtualization is turned on in your PC's BIOS or UEFI settings.
- Type Turn Windows features on or off in the taskbar search box and open it.
- Tick Windows Sandbox and select OK.
- Restart the PC when Windows asks you to.
- Open the Start menu and select Windows Sandbox.
- Open the web browser inside the sandbox window and visit the site you do not trust.
- Close the sandbox window when you finish and select Ok to delete everything inside it.
If Windows Sandbox is missing from the list, the PC does not meet the requirements below, and no route can enable Windows Sandbox on Windows 11 or 10 until it does.
What is a browser sandbox?
A browser sandbox is an isolated space where web pages and downloads run without reaching the rest of your system. On Windows it comes in four forms, and they differ in how much they wall off.
| Type | What it isolates | Where you get it |
|---|---|---|
| Built-in browser sandbox | Each site's page process, inside the browser | Already on in Chrome, Edge and Firefox |
| Windows Sandbox | The whole browser in a separate, disposable Windows with its own kernel | Windows 11 and Windows 10 Pro, Enterprise, Education |
| Microsoft Defender Application Guard | Untrusted sites in Edge, in a hardware-isolated container | Deprecated; removed from Windows 11, version 24H2 |
| Third-party sandbox apps such as Sandboxie | Programs you choose, inside a container on your normal desktop | Installed separately; works on Windows Home |
Windows Sandbox requirements for safe browsing
| Requirement | Minimum | Recommended |
|---|---|---|
| Windows edition | Pro, Enterprise, Pro Education/SE or Education | Same; Windows Home is not supported |
| Windows version | Windows 10, version 1903, or Windows 11 | Current Windows 11 |
| Processor architecture | AMD64, or Arm64 on Windows 11, version 22H2 and later | AMD64 or Arm64 |
| Virtualization | Enabled in BIOS; nested virtualization if Windows runs in a VM | Enabled |
| Memory | 4 GB RAM | 8 GB RAM |
| Free disk space | 1 GB | SSD |
| CPU cores | 2 | 4 with hyper-threading |
Windows Sandbox only supports the Hyper-V hypervisor. Third-party hypervisors are not supported.
Windows 10 sandbox
Windows Sandbox arrived in Windows 10, version 1903, and turns on the same way in Windows 10 and Windows 11. PowerShell does it in one line, which helps when the Windows Features dialog is slow to load.
Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online
Run it in PowerShell opened with Run as administrator. It enables the Windows Sandbox optional feature and every feature it depends on, on the running copy of Windows.
You should see: PowerShell asks to restart the PC. After the restart, Windows Sandbox appears in the Start menu.
If Windows itself runs in a Hyper-V virtual machine, run Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true on the host first so the VM supports nested virtualization.
Windows Sandbox .wsb file for safer web browsing
The default sandbox shares your clipboard and microphone and connects to your network. A configuration file with the .wsb extension changes that each time you open it, and works on Windows 10 build 18342 or later and Windows 11.
<Configuration>
<Networking>Enable</Networking>
<ClipboardRedirection>Disable</ClipboardRedirection>
<AudioInput>Disable</AudioInput>
<VideoInput>Disable</VideoInput>
<PrinterRedirection>Disable</PrinterRedirection>
<ProtectedClient>Enable</ProtectedClient>
<MemoryInMB>4096</MemoryInMB>
</Configuration>
Paste it into Notepad and save it as "SafeBrowsing.wsb" with the quotation marks, so Notepad does not add .txt. Networking stays on so you can browse; the clipboard, microphone, webcam and printers are cut off, and Protected Client runs the session inside AppContainer isolation.
You should see: Double-click SafeBrowsing.wsb and Windows Sandbox opens with those settings. Copy and paste between your desktop and the sandbox no longer works.
Leave out <MappedFolders> for browsing. Any host folder you map with write access keeps the changes made inside the sandbox after it closes.
Windows Sandbox settings for browsing
| Setting | Default | Set for browsing | Why |
|---|---|---|---|
| Networking | Enabled (Hyper-V default switch) | Enable | Needed to browse; can expose your internal network |
| Clipboard redirection | Enabled | Disable | Stops text and files moving between sandbox and host |
| Audio input | Enabled | Disable | Sites cannot hear the host microphone |
| Video input | Disabled | Disable | Sites cannot see the host webcam |
| Printer redirection | Disabled | Disable | No access to host printers |
| Protected client | Disabled | Enable | Adds AppContainer isolation to the session |
| vGPU | Enabled on non-Arm64 devices | Default, or Disable | Disabling cuts attack surface but rendering is slower |
| Memory | Up to 4 GB | 4096 MB | Values below 2048 MB are raised automatically |
What’s happening in the browser sandbox?
Each launch starts a clean copy of Windows that shares your PC's read-only system files but runs a separate kernel under the Microsoft hypervisor.
| What you do | What happens |
|---|---|
| Open Windows Sandbox | A pristine Windows desktop starts in a few seconds, like a brand-new install |
| Look for your own apps | Software installed on your PC is not there; install other browsers inside the sandbox |
| Download a file | It lands inside the sandbox and never touches your real Downloads folder |
| Restart from inside the sandbox | Data survives the restart on Windows 11, version 22H2 and later |
| Try a second sandbox | Not possible; only one instance runs at a time |
| Close the window | Every file, app, cookie and setting inside it is deleted |
The sandbox user account is called WDAGUtilityAccount. Because nothing persists, a browser installed inside the sandbox has to be installed again at every launch.

Sandboxie for sandboxed web browsing
Sandboxie is a third-party program that runs the apps you choose, such as a browser, inside an isolated container on your normal desktop instead of a separate copy of Windows. It is the usual alternative on Windows Home, where Windows Sandbox is not available.
| Your situation | Use | Why |
|---|---|---|
| Windows 11 or 10 Pro, Enterprise or Education | Windows Sandbox | Built in, separate kernel, nothing extra to install or update |
| Windows Home | Built-in browser sandbox plus Edge enhanced security, or a third-party tool like Sandboxie | Windows Sandbox and Application Guard are not available on Home |
| You need sandboxed browsing on your normal desktop with your own browser | A third-party tool like Sandboxie | It wraps an installed browser instead of starting a fresh Windows |
| You only open suspicious links now and then | Windows Sandbox | A fresh, disposable Windows each time with no setup to maintain |
Download Sandboxie only from its developer's own site, never from a download portal, and keep it updated like any other security tool.
Why don’t web browsers already use a sandbox?
They do. Every major browser on Windows already runs web content in sandboxed processes, so a separate browser sandbox adds a second wall rather than the first one.
| Browser | Built-in sandbox | Extra layer you can turn on |
|---|---|---|
| Google Chrome | Site Isolation puts pages from different websites in different processes, each running in a sandbox that limits what the process can do | None needed for most users |
| Microsoft Edge | Built on Chromium, so it shares Chrome's security architecture | Enhanced security mode |
| Mozilla Firefox | Uses child processes as a security boundary and sandboxes its web content processes on Windows | None needed for most users |
The built-in sandbox contains a compromised web page. Windows Sandbox goes further and contains the whole browser, its downloads and anything those downloads install.

Turn on enhanced security mode in Microsoft Edge
Enhanced security mode disables just-in-time JavaScript compilation on unfamiliar sites and adds Windows protections such as Arbitrary Code Guard and Control Flow Guard. It is the closest built-in option on Windows Home.
- In Microsoft Edge, select Settings and more > Settings.
- Select Privacy, search, and services.
- Under Security, turn on Enhance your security on the web.
- Choose Balanced to protect unfamiliar sites, or Strict to protect every site.
- To exempt a trusted site, select Manage enhanced security for sites, then Add a site, enter the URL and select Add.
Microsoft recommends Balanced for most people. Strict applies to every site and can break tasks you do every day.

Is Microsoft Defender Application Guard for Edge still available?
No for new setups: Application Guard is deprecated for Microsoft Edge for Business and is no longer available starting with Windows 11, version 24H2. Microsoft still maintains existing installations on older Windows versions, but it recommends Windows Sandbox or Azure Virtual Desktop when container-based isolation is needed. The Application Guard extensions for Chrome and Firefox were withdrawn after May 2024.

Will browsing in a browser sandbox completely protect me?
No. A sandbox contains malware that a page or download drops, but it cannot stop you from handing information to a site.
| Risk | Why the sandbox does not stop it | What to do |
|---|---|---|
| Phishing pages | A password typed into a fake site goes to the attacker from inside the sandbox too | Do not sign in to real accounts from links you do not trust |
| Your local network | Networking is on by default and can expose untrusted apps to the internal network | Use the .wsb file; set <Networking>Disable</Networking> for offline file checks |
| Clipboard and files | Clipboard redirection is on by default and pasted files cross the boundary | Set <ClipboardRedirection>Disable</ClipboardRedirection> |
| Mapped folders | Changes in a write-enabled mapped folder persist after the sandbox closes | Do not map folders, or map them with <ReadOnly>true</ReadOnly> |
| Virtual GPU | Microsoft notes the vGPU can increase the sandbox's attack surface | Set <VGpu>Disable</VGpu> for risky sites |
How to tell which version of Windows Sandbox is installed
- Open PowerShell.
- Run
Get-AppxPackage -Name WindowsSandbox | Select-Object Version. - Read the result: a version number means the newer Store-delivered Windows Sandbox; an empty result means the older version.
- Alternatively, run
wsb --version; if the command is not found, the older version is installed. - On the newer version, check that Windows Sandbox is listed in Settings > System > System components.
From Windows 11, version 24H2, the old Windows Sandbox app tries to download the latest version from the Microsoft Store, and keeps trying in the background if the first attempt fails.
Windows Sandbox not working on Windows 11 and Windows 10
Windows Sandbox is missing from Turn Windows features on or off
The PC does not meet the requirements, usually Windows Home or virtualization off in BIOS.
- Check that the PC runs Windows Pro, Enterprise or Education; Home is not supported.
- Turn on virtualization in the BIOS or UEFI settings.
- Open Turn Windows features on or off again and look for Windows Sandbox.
"No hypervisor was found. Please enable hypervisor support."
Windows Sandbox only runs on the Hyper-V hypervisor; third-party hypervisors are not supported.
- Make sure Hyper-V is enabled on the PC.
- Restart and open Windows Sandbox again.
Error REGDB_E_IIDNOTREG
The Windows Sandbox component is not enabled.
- Open Turn Windows features on or off.
- Tick Windows Sandbox, select OK and restart.
Error E_INVALIDARG or ERROR_FILE_NOT_FOUND when opening a .wsb file
The .wsb file has an error, or the path to it is wrong.
- Open the file in Notepad and check every tag opens and closes.
- Make sure the file name ends in
.wsb, not.wsb.txt. - Check that any HostFolder you mapped already exists.
"The following settings are enforced by your IT administrator"
A Group Policy controls a setting in the .wsb file.
- Remove that setting from the .wsb file, or ask your IT administrator to change the policy.
Error 0x80070005 Access is denied
The sandbox account WDAGUtilityAccount cannot map a host folder straight to its Desktop.
- Set SandboxFolder to a new subfolder of the Desktop instead of the Desktop itself.
How to uninstall Windows Sandbox
- Open Settings > System > Optional features.
- Select More Windows features.
- Scroll down and clear Windows Sandbox.
- Select OK and restart the PC if asked.
Removing the feature deletes nothing from your own files, because the sandbox never kept anything. Windows Sandbox is the lightest of the virtual machine options on Windows 11, next to Hyper-V, VirtualBox and VMware.
Browser sandbox on Windows FAQ
Is Windows Sandbox free?
Yes. Windows Sandbox is part of Windows 11 and Windows 10 Pro, Enterprise and Education, so there is nothing to buy or download separately. Windows Home does not include it.
Can I use Windows Sandbox on Windows 11 Home?
No. Microsoft does not support Windows Sandbox on Windows Home. On Home, rely on the browser's built-in sandbox, Microsoft Edge enhanced security mode, or a third-party sandbox tool.
Does Windows Sandbox save my browsing history?
No. Closing Windows Sandbox deletes all software, files and state inside it, including history, cookies and downloads. Each launch starts a fresh copy of Windows.
Can I install Chrome or Firefox in Windows Sandbox?
Yes. Apps installed on your PC are not available inside the sandbox, so download and install Chrome or another browser inside it. It is deleted when the sandbox closes, so you repeat the install each time.
Is Windows Sandbox safer than a normal browser?
Yes, for risky sites and downloads. The browser's own sandbox isolates web pages, while Windows Sandbox also isolates the whole browser and everything it downloads in a separate kernel. Neither protects you from typing a password into a phishing page.
Can I run more than one Windows Sandbox at a time?
No. Windows Sandbox only allows one instance at a time. Close the open sandbox before starting another one with a different .wsb configuration.
Does Windows Sandbox have internet access?
Yes. Networking is on by default through the Hyper-V default switch. You can turn it off with <Networking>Disable</Networking> in a .wsb file, which also stops the sandbox reaching your internal network.
What is the difference between Windows Sandbox and a virtual machine?
Windows Sandbox is lightweight and disposable: it launches quickly, adjusts memory to demand and discards every change when closed. A Hyper-V virtual machine needs dedicated resources and keeps its changes until you revert them.





