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.
- Enable or Disable Windows Sandbox using Control panel
- Turn On or Off Windows Sandbox using PowerShell
- Enable or Disable Windows Sandbox using Command Prompt
- 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)
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.
- 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
- Go to Cortana and type cmd. Right-click on Command Prompt and select Run as administrator option.
- Hit Yes on the UAC prompt, to authorize the access.
- On the elevated command prompt, type the below code and press Enter to run the command.
- To enable Windows sandbox feature, copy/ paste the below code-
Dism /online /Enable-Feature /FeatureName:"Containers-DisposableClientVM" -All
- To disable Windows Sandbox feature, you should run this command-
Dism /online /Disable-Feature /FeatureName:"Containers-DisposableClientVM"
- 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-
- The System should be running on Windows 10 Pro or Enterprise Insider build 18305 or later.
- The architect must be AMD64 (64-bit) with minimum 2 CPU cores (4 cores with hyperthreading).
- Virtualization capabilities should be enabled in BIOS.
- 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!