Windows Sandbox: Test Suspicious Programs with Zero Risk (the “Disposable PC” Already Built into Windows)
Downloaded a program and not sure about it? Windows Sandbox opens a clean Windows inside yours that vanishes completely when you close it. Here’s how to turn it on, how to use it, how to cut its internet access and what it doesn’t protect against.
In 5 lines:
- What it is: Windows Sandbox opens a clean, isolated Windows in a window.
- Disposable: when you close it, everything that happened inside is deleted — programs, viruses, settings.
- Who has it: Windows 10 and 11 Pro, Enterprise and Education, with virtualization enabled in the BIOS.
- How to turn it on: “Turn Windows features on or off” → tick Windows Sandbox.
- Not magic: some malware detects the isolated environment and “plays dead”; use it alongside other precautions.
- Introduction
- Requirements: Does Your PC Support It?
- Turning On Virtualization in the BIOS
- How to Turn On Windows Sandbox
- How to Use It: Testing a Suspicious Program
- Sandbox Without Internet and with a Read-Only Folder
- Signs the Program Can’t Be Trusted
- A 10-Minute Test Routine
- Sandbox vs Virtual Machine vs Antivirus
- What the Sandbox Does NOT Protect Against
- Alternatives for Windows Home
- Other Smart Uses for the Sandbox
- Common Problems
- Frequently Asked Questions
🧪 What Windows Sandbox Is
Windows Sandbox is a little-known feature of the Pro editions of Windows 10 and 11. It opens a window with a brand-new Windows, without your files, passwords or programs. Everything you do there stays trapped inside the window.
And the best part: when you close the window, everything disappears. The next time you open it, it starts from scratch again. It’s like having a disposable computer whenever you need to test something risky.

| Situation | Does the Sandbox help? |
|---|---|
| Testing a program of doubtful origin | ✅ Ideal |
| Opening a suspicious email attachment | ✅ Ideal |
| Visiting a site you don’t trust | ✅ Helps |
| Seeing what an installer tries to sneak in (ads, toolbars) | ✅ Very useful |
| Running a program that needs to stay installed | ❌ Everything vanishes on close |
| Heavy games | ❌ Limited graphics performance |
📋 Requirements: Does Your PC Support It?
| Requirement | Minimum | How to check |
|---|---|---|
| Windows edition | Pro, Enterprise or Education (not available on Home) | winver or Settings → System → About |
| Architecture | 64-bit | Settings → System → About → System type |
| Virtualization | Enabled in the BIOS | Task Manager → Performance → CPU → “Virtualization: Enabled” |
| Memory | 4 GB (8 GB recommended) | Task Manager → Performance → Memory |
| Processor | 2 cores (4 recommended) | Task Manager → Performance → CPU |
To see everything from the terminal:
Get-ComputerInfo -Property WindowsEditionId, OsArchitecture, HyperVRequirementVirtualizationFirmwareEnabledHyperVRequirementVirtualizationFirmwareEnabled : True, virtualization is on. If it says False, see the next section. If the field is empty, Hyper-V is already active — a good sign.⚙️ Turning On Virtualization in the BIOS
Many PCs ship with virtualization turned off. To enable it:
- Restart and enter the BIOS (usually Del, F2 or F10 at the start of boot).
- Look for the option named after your platform: Intel Virtualization Technology (VT-x) on Intel processors or SVM Mode on AMD processors.
- Set it to Enabled, save (usually F10) and restart.

The option is usually under menus like Advanced, CPU Configuration or Overclocking, depending on the brand. Don’t touch other settings you don’t know.
✅ How to Turn On Windows Sandbox
From the menu:
- Press Win + R, type
optionalfeaturesand press Enter. - In the “Turn Windows features on or off” list, tick Windows Sandbox.
- Click OK and restart when asked.
From the terminal (faster):
Enable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM" -AllAfter restarting, search for Windows Sandbox in the Start menu and run it as administrator the first time.
🖱️ How to Use It: Testing a Suspicious Program
- Open Windows Sandbox. In a few seconds a window with a clean Windows appears.
- On your computer, copy (Ctrl + C) the file you want to test.
- Inside the Sandbox window, paste it (Ctrl + V) on the desktop.
- Run the file inside the Sandbox and watch: does it install extras? Open websites? Ask for strange permissions?
- Done? Close the window and confirm. Everything that happened inside is deleted.

🔌 Sandbox Without Internet and with a Read-Only Folder
By default, the Sandbox has internet access. To test something very suspicious, it’s better to cut the network — so any malware can’t download more junk or send data out. Create a text file, paste the content below and save it as Safe-Sandbox.wsb:
<Configuration>
<Networking>Disable</Networking>
<ClipboardRedirection>Enable</ClipboardRedirection>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\Users\Public\Tests</HostFolder>
<ReadOnly>true</ReadOnly>
</MappedFolder>
</MappedFolders>
</Configuration>Double-clicking that file opens the Sandbox with no internet and with your PC’s C:\Users\Public\Tests folder visible inside in read-only mode — so the tested program can’t change anything in it. Create the folder first and put the file you’ll test there.

👀 Signs the Program Can’t Be Trusted
| What you see in the Sandbox | What it may mean |
|---|---|
| Installs a browser, antivirus or toolbar you didn’t ask for | An installer with “passengers” (adware) |
| Opens several ad pages | Adware or click fraud |
| Asks you to turn off the antivirus | A strong sign of malware |
| Disappears after you click and nothing shows up | It may be running hidden — suspicious |
| Asks for your email, bank or social media password | A credential-theft scam |
| Creates scheduled tasks or adds itself to startup | Trying to stay on the system permanently |
To see the processes running inside the Sandbox, open Task Manager inside it (Ctrl + Shift + Esc with the Sandbox window active). Anything beyond the Windows basics came from the tested program.
⏱️ A 10-Minute Test Routine
- Minute 0: put the file in
C:\Users\Public\Testsand open Safe-Sandbox.wsb (no internet). - Minute 1: inside the Sandbox, open Task Manager on the Processes tab.
- Minute 2: copy the file from the mapped folder to the Sandbox desktop and run it.
- Minutes 3 to 7: watch for new processes, windows, warnings and anything the installer tries to add.
- Minute 8: if the program needs internet to work and you still trust it, repeat with the normal Sandbox (with network) and watch which sites it opens.
- Minute 10: close the Sandbox. Decide: delete the file or install it on your real PC.
⚖️ Sandbox vs Virtual Machine vs Antivirus
| Windows Sandbox | Virtual machine (VirtualBox, Hyper-V) | Antivirus | |
|---|---|---|---|
| Time to start | Seconds | Minutes (you need to install a system) | Already running |
| Wipes everything on close | Yes, always | Only if you revert the snapshot | N/A |
| Keeps programs between sessions | No | Yes | N/A |
| Detects known viruses | No (only isolates) | No (only isolates) | Yes |
| Best for | Quick, disposable tests | A permanent lab | Everyday protection |
The best setup is using them together: the antivirus blocks what’s already known, and the Sandbox lets you watch the unknown without risk.
🚧 What the Sandbox Does NOT Protect Against
- Malware that detects virtual machines: some viruses notice they’re isolated and stay quiet. Looking harmless in the Sandbox proves nothing.
- Shared folders with write access: if you map a folder from your PC without read-only mode, the program can change or encrypt those files.
- Clipboard: what you copy inside the Sandbox can be pasted on your PC. Be careful bringing text or files back.
- Accounts typed inside: if you sign in to a site inside the Sandbox while spyware is running, the password can be stolen just the same.
🏠 Alternatives for Windows Home
| Alternative | How it works | Note |
|---|---|---|
| Upgrade to Windows Pro | Unlocks Sandbox, BitLocker and Hyper-V | Paid, through the Microsoft Store |
| VirtualBox (free) | A full virtual machine, with snapshots to return to a clean state | You install a system inside and revert the snapshot after each test |
| Checks before opening | Hash, digital signature and online analysis | Doesn’t run the file — see how to know if a file is safe |
If you think you’ve already run something suspicious on your real PC, see how to find spyware by its connections and how to find out if someone used your PC.
💡 Other Smart Uses for the Sandbox
- Test browser extensions before installing them on your real Chrome or Edge — many steal data, as I showed in browser extensions stealing data.
- See how a program behaves before installing it on the family PC.
- Open an unknown shopping site without leaving cookies and traces in your main browser.
- Practice terminal commands you don’t know yet, without fear of breaking your Windows.
- Show a tutorial on a clean Windows, without exposing your files on screen.
🛠️ Common Problems
| Error | Solution |
|---|---|
| Windows Sandbox isn’t in the features list | Your Windows is Home — no support |
| “No hypervisor was found” or it fails to start | Enable virtualization in the BIOS |
| The option is greyed out | Virtualization is off or the PC doesn’t support it; check Task Manager |
| It stays on a black screen | Update Windows and the graphics driver; restart and try again |
| Very slow | Close heavy programs; the Sandbox uses part of your PC’s memory |
FAQ
What is Windows Sandbox?
It’s a clean, isolated Windows that opens in a window. Everything that happens inside is deleted when you close it.
Is Windows Sandbox available on Windows Home?
No. It’s available on the Pro, Enterprise and Education editions of Windows 10 and 11.
How do I turn on the Sandbox?
Press Win + R, type optionalfeatures, tick Windows Sandbox and restart. Virtualization must be enabled in the BIOS.
Can a virus escape the Sandbox?
It’s very hard, but the risk isn’t zero. The biggest danger is shared folders with write access and copying files back to your PC.
Can I install a program and keep it in the Sandbox?
No. When you close the window, everything installed or changed is deleted. It’s made for disposable tests.
How do I use the Sandbox without internet?
Create a .wsb file with the Networking Disable line, as shown in the guide, and open the Sandbox through it.
If the program did nothing in the Sandbox, is it safe?
Not necessarily. Some malware detects the isolated environment and stays inactive. Use the Sandbox alongside other checks.
Does the Sandbox slow down the PC?
Only while it’s open, because it uses part of the memory and processor. When closed, it uses nothing.
🎮 How much did you learn?
Once you pick an answer it locks in — reload the page to try again.
1. What happens when you close the Sandbox?
2. Which Windows edition does NOT have the Sandbox?
3. What needs to be enabled in the BIOS?
4. Which .wsb line turns off the Sandbox’s internet?
5. Is a program that stays quiet in the Sandbox proven safe?
Esse conteúdo ajudou você?
Compartilha com alguém que também vai curtir — é rapidinho e ajuda muito o nosso trabalho a chegar em mais gente.
Conhecimento só tem valor quando compartilhado.
Manter essa estrutura de laboratórios funcionando e produzir conteúdos de engenharia de forma totalmente gratuita e acessível exige tempo e dedicação diária à bancada. Esse guia salvou os seus arquivos? Você pode contribuir diretamente para manter o nosso trabalho independente forte. Apoie doando qualquer valor!
Quer apoiar a nossa bancada independente?
[email protected]