How to enable or disable Windows Sandbox feature on Windows 10

Microsoft has recently launched Windows Sandbox feature starting with Windows 10 Build 18305 or later. It is a new lightweight desktop app available for Windows 10 Pro and Enterprise users. We all afraid to download and install an executable file on our System. This is because, if anything goes wrong, we might need to clean install Windows 10.

The same is the case for Microsoft, as they often encounter such troubles. This is why they have developed Windows Sandbox. This is an isolated Desktop application where you can run any executable file without fearing of data loss or system corruption. Whatever file you install in here, remains always here and thus won’t affect your host ever. All the applications and their data are lost the moment you close Windows Sandbox.

Recommended: How to fix Windows sandbox issue on Windows10

How to Enable or Disable Windows Sandbox in Windows 10

Here we discuss different ways to Enable or Disable Windows Sandbox in Windows 10.

  1. Enable or Disable Windows Sandbox using Control panel
  2. Turn On or Off  Windows Sandbox using PowerShell
  3. Enable or Disable Windows Sandbox using Command Prompt
  4. How to start Windows sandbox in Windows 10

Note:  You must be signed in as an administrator to turn on or off and use Windows Sandbox.

To turn on or off Windows sandbox on your system, make sure that the virtualization option is enabled in your UEFI/BIOS Settings. Follow these steps to enable this option-

Press Ctrl+Alt+Del shortcut and select Task Manager.

Tap the performance tab and check if the Virtualization option is enabled on the current page. (See snapshot)

Windows Sandbox in Windows 10

Once confirmed,  follow the below procedure to Enable or Disable Windows Sandbox on Windows 10 PC.

1. Enable or Disable Windows Sandbox using Control panel

  • Hit Start Button and type Control Panel. Again double click on the first option to launch this app.
  • Now on the visible Window, select Program followed by Programs & features category.
  • On the left pane, tap ‘Turn Windows features on or off’ link.

Enable Disable Windows Sandbox

  • Henceforth locate Windows Sandbox from the list under the opened window.
  • Thereafter activate or deactivate the checkbox to enable or disable this option respectively.
  • Tap the OK button and restart your PC to apply the changes.

2. Enable or Disable Windows Sandbox using PowerShell

  • Make a right-click on Start icon and select the PowerShell (Admin) option from the list.
  • If the UAC prompt appears up, hit Yes to permit the access.
  • On the elevated PowerShell window, copy/ paste the below code and hit Enter at the end .
  • To enable Windows Sandbox type this code-
Enable-WindowsOptionalFeature –FeatureName "Containers-DisposableClientVM" -All -Online
  • To disable Windows Sandbox type the below command-
Disable-WindowsOptionalFeature –FeatureName "Containers-DisposableClientVM" -Online
  • If the prompt asks you to restart the system after competition of task, click Y to authorize the same.
  • Once the task is finished, check whether the sandbox is on either enable or disable mode as per your choice.

3. Enable or Disable Windows Sandbox using Command Prompt

  1. Go to Cortana and type cmd. Right-click on Command Prompt and select Run as administrator option.
  2. Hit Yes on the UAC prompt, to authorize the access.
  3. On the elevated command prompt, type the below code and press Enter to run the command.
  4. To enable Windows sandbox feature, copy/ paste the below code-
  5. Dism /online /Enable-Feature /FeatureName:"Containers-DisposableClientVM" -All
  6. To disable Windows Sandbox feature, you should run this command-
  7. Dism /online /Disable-Feature /FeatureName:"Containers-DisposableClientVM"
  8. If the prompt asks to reboot your PC after the task is finished, hit Y to proceed ahead.

4. How to start Windows sandbox in Windows 10

When the Windows sandbox in Windows 10 is enabled on your System, you can start this by following these steps:

Step 1: Go to Start and type Windows Sandbox. Once found, select the same.

Step 2: Tap Yes button on the UAC to access the prompt.

Step 3: Now copy (Ctrl+C) an executable file from the host.

Step 4: Thereafter paste (Ctrl+V) the selected file on the window desktop of Sandbox.

Step 5: Open and run the executable file in the Windows Sandbox. Succeeding after that follow the onscreen instructions. Windows Sandbox will run perfectly normal.

Once you have performed all the steps mentioned above, close Windows sandbox application and hit OK to confirm the changes.

Thus, all the contents of the sandbox will be discarded and deleted.

Minimum system requirements to use Windows Sandbox features on your System

To use Windows Sandbox without any issue, your system should meet the minimum hardware requirements. They are as follow-

  1. The System should be running on Windows 10 Pro or Enterprise Insider build 18305 or later.
  2. The architect must be AMD64 (64-bit) with minimum 2 CPU cores (4 cores with hyperthreading).
  3. Virtualization capabilities should be enabled in BIOS.
  4. At least 4GB of RAM (8GB recommended) and 1 GB of hard disk.

SSD is normally recommended as ROM for Windows Sandbox.

That would be all!