Home » Tech Tips » Windows » How to Enable Sandbox in Windows 11?

How to Enable Sandbox in Windows 11?

Windows Sandbox is a feature in Windows 11 designed for testing and running untrusted programs safely on your machine. It allows you to create a temporary, isolated virtual environment where you can run applications without risking your system’s security. Whether you are a developer, system administrator, or just a curious user, Windows Sandbox is a powerful tool to keep your main OS safe while exploring potentially risky software. In this guide, we will explain how to enable Windows Sandbox in Windows 11 and why it can be a valuable addition to your system security toolkit.

Prerequisites for Enabling Windows Sandbox in Windows 11

Before you can enable Windows Sandbox, ensure that your system meets the following prerequisites:

  • You can access the feature only on Windows 11 Pro or Enterprise editions. Windows Sandbox is not available in Windows 11 Home edition.
  • It requires a 64-bit version of Windows 11.
  • The virtual environment uses hardware-based virtualization for security. So, your system’s CPU must support virtualization, and it should be enabled in the BIOS/UEFI (as explained in Step 1 below).
  • 4 GB of RAM (although 8 GB or more is recommended for smoother performance), at least 1 GB of free disk space and a processor with at least 2 cores (4 cores with hyperthreading recommended).

Step 1: Enable Hardware Virtualization in BIOS/UEFI

To use Windows Sandbox, you first need to ensure that virtualization is enabled in your computer:

  • Right-click on the Taskbar and open “Task Manager” app.
  • Go to “Performance” section and select “CPU” option.
  • Check “Virtualization” is showing “Enabled”.
‏Virtualization Enabled in Task Manager
‏Virtualization Enabled in Task Manager

If virtualization is disabled, restart your computer and enter into BIOS/UEFI settings (by pressing the appropriate key like Delete, F2, or Esc). Look for “Advanced” or “CPU Configuration” section and enable the virtualization option, then save the changes and exit. Since BIOS/UEFI settings vastly vary based on the manufacturer, you may need to check with the manual for assistance.

BIOS/UEFI settings can also be accessed from “Windows Settings > System > Recovery” section. Click on the “Restart now” button against “Advanced startup” option under “Recovery options” section. This will boot the system and show recovery options. Go to “Troubleshoot > Advanced options > BIOS/UEFI Firmware Settings > Restart” to open firmware settings page.

UEFI Firmware Settings in Windows
UEFI Firmware Settings in Windows

Step 2: Turn on Windows Sandbox

Once virtualization is enabled, follow these steps to enable the Windows Sandbox feature:

  • Press “Windows Logo + I” shortcut keys and open Windows Settings app.
  • Go to “System” section from left sidebar, scroll down to bottom on the right pane and click on “Optional features” option.
Open Optional Features
Open Optional Features
  • On the next screen, again scroll down to bottom and click on “More Windows Features” option under “Related settings” section.
More Windows Features
More Windows Features
  • This will open “Windows Features” pop-up, scroll down and find “Windows Sandbox” box. Check that option and click on “OK” button.
Turn On Windows Sandbox
Turn On Windows Sandbox
  • Windows will start searching for the required files and apply changes. This may take few minutes for the process to complete.
Applying Changes
Applying Changes
  • Once the installation is finished, you will be prompted to restart the system. Click “Restart Now” button if you are ready and the system will start setting up your sandbox environment. This will take longer time (especially when you have pending Windows Updates, which also will be installed with the restart), so be prepared before initiating the restart.
Restart to Intall Sandbox in Windows
Restart to Intall Sandbox in Windows

Step 3: Launch Windows Sandbox

After your system restarts and the Windows Sandbox feature is enabled, you can now launch it like any other app on your system.

  • Simply type “Windows Sandbox” in the Start / Taskbar search and open Windows Sandbox app.
Open Windows Sandbox App
Open Windows Sandbox App
  • This will open virtual Windows machine within your system. You can now copy and paste any files or programs into the sandbox for testing. Any changes or installations you make here will not affect your main system.
Windows Sandbox App in Windows 11
Windows Sandbox App in Windows 11
  • Once you are done, simply close the sandbox window. You will see a warning message that all changes will be discarded and click “OK” button.
Closing Warning in Sandbox
Closing Warning in Sandbox

Step 4 – Deleting Windows Sandbox App

Though Windows Sandbox is a system app, you will not see it in “Settings > Apps > Installed apps” section. You need to follow the instructions as explained in Step 2 and turn off “Windows Sandbox” option in “Windows Features” pop-up. This will delete the app permanently from your system.

Features of Windows Sandbox

Windows Sandbox is a lightweight, isolated virtual environment specifically designed for running potentially unsafe or unknown applications. This is NOT same as running virtual machines on your system (where you can manage files).

  • Once the sandbox environment is closed, all software and files you added are permanently deleted, leaving no trace on your main operating system. Anything running in the sandbox does not affect the main OS.
  • You can copy and paste files between your main OS and sandbox using keyboard shortcuts though drag/drop will not work.
  • Whenever you launch sandbox, a fresh instance is started. Because it’s isolated from the main OS, any malicious software or virus executed in the sandbox won’t affect your main system.

Troubleshooting Common Issues

Here are a few common issues you might encounter while enabling or running Windows Sandbox and how to address them:

  • Sandbox Not Available – Ensure that you are using Windows 11 Pro or Enterprise, as the Home edition does not include Windows Sandbox.
  • Error Starting Windows Sandbox – If you see an error message when launching the sandbox, it could be due to insufficient system resources (e.g., RAM or CPU). Consider closing other programs to free up resources.
  • Virtualization Not Enabled – In this case, Windows Sandbox option will be grayed out in “Windows Features” pop-up. Hovering on that option will show “Windows Sandbox cannot be installed: The processor does not have required virtualization capabilities”. Go back to your BIOS/UEFI settings to make sure that virtualization is enabled correctly and Task Manager also shows it is enabled.
Windows Sandbox Grayed Out
Windows Sandbox Grayed Out

Conclusion

Enabling Windows Sandbox in Windows 11 provides an extra layer of security for testing untrusted applications in a controlled environment. The process is relatively straightforward, and as long as your system meets the hardware and software requirements, you can quickly start using this feature to enhance your cybersecurity practices.

Leave a Comment

Your email address will not be published. Required fields are marked *