Windows 11 or 10’s Sandbox is a great feature to test vulnerable applications and experiment with settings or programs without affecting or changing the settings of the main system.
A few features make the Windows Sandbox worth using, especially for developers, including “Isolation“. Sandbox runs itself in a containerized environment to have isolation from the rest of the system, ensuring the host operating system will have a layer of security from the applications used in Sandbox.
Further, Windows Sandbox is quick to set up and accessible like any other regular Windows software without using any third-party virtualization platform. Plus, there will not be any performance impact on the host because Sandbox operates independently.
Moreover, it is designed to be disposable, which means as the user closes the Sandbox all the files and changes made during the session will be deleted, and when the next time the user starts the Sandbox, it will be opened in a cleaned state. You would like to learn how we can run Microsoft Edge in Sandbox with Windows Defender Application Guard.
We can also drag and drop the files from the host to Sandbox which also makes it user-friendly to use as well.
However, before enabling the Windows Sandbox, ensure virtualization is enabled in the BIOS/UEFI settings. Also, when we talk about virtualization Hyper-V would be the platform most people want to use on Windows 11 unfortunately, it is not available for the Home edition, but you can still have it using our guide – How to Download and install Hyper-V on Windows 11 Home
Two applications on Windows let users issue commands for managing the system and to perform other tasks – one is Command Prompt and the other is PowerShell. We learn how to use both for installing and enabling the Windows Sandbox feature.
Sandbox Installation Steps using CMD
“DISM” is the command that allows users to enable various Windows features using the Command Prompt, here we learn how to use it for Sandbox. Also, before moving to follow the steps make sure the Virtualization is enabled in BIOS, here is our article to read, if you don’t know how to check virtualization enabled on Windows 11 or 10 without accessing BIOS menu
- Click on the Windows start button and search for “CMD“.
- Select the “Run as administrator” option that appears on the right side in the results to open a command prompt with Administrative rights.
- Execute the given command to enable the Windows Sandbox feature
dism /online /enable-feature /featurename:Containers-DisposableClientVM /all /norestart
- Restart the PC or Laptop, once the command is executed successfully to use the Windows Sandbox feature.
- To run Sandbox, go to the Start menu and search for it, click on its icon when it appears in the search result.
Installing Windows Sandbox using PowerShell
Well, the command prompt is not the only command line way to enable the Sandbox, we can also use PowerShell with the help of “Enable-WindowsOptionalFeature“, here are the steps to follow:
- Right-click on the Windows 11 or 10 start button or press the Win key + X keys.
- From the Pop-up menu select the “Terminal (Admin) or PowerShell (Admin)” option.
- After that execute the given command to enable Windows Sandbox using PowerShell and hit the Enter key:
Enable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM" -All
- The command will ask you to restart the system so that you can use the Sandbox feature properly. Press “Y” and hit the Enter key.
The command for Opening Windows 11 Sandbox:
Once the installation is completed, we can also use the command prompt or PowerShell to open the Windows Sandbox instead of using the GUI.
- Open CMD:
- Press
Windows Key + S
to open the search bar. - Type
cmd
and press Enter to open the Command Prompt.
- Press
- Start Windows Sandbox:
- Type the following command and press Enter key:
WindowsSandbox.exe
- Type the following command and press Enter key:
- Windows Sandbox Opens:
- The Windows 11 or 10 Sandbox will open like a Virtualbox guest – that is in a separate window. It provides an isolated environment for testing but still with ability to drag and drop files without installing any additional driver or software.
How to run Windows Sandbox as Administrator?
- Go to the Windows 10 or 11 Start button, and click to open the Menu.
- Search for Windows Sandbox
- Ad it appears either right-click on it to select “Run as Administrator” or the same option can be selected from the right-hand side menu.
- The system will prompt User Account Control (UAC) for your permission, click the Yes button.
- Wait for the system to open and load Window Sandbox with Administrative rights or elevated Privileges.
Other Articles:
Related Posts
How to Archive a WhatsApp Conversation Without Deleting
How to Clear or Delete Archived Emails in Gmail
How to Clear Google Search History?
2 best Android Apps to open zip or archive files on the smartphone
How to use the XLOOKUP function in Microsoft Excel with Example
How to set up an out-of-office responder on Gmail? Step-by-step guide on setting up a Vacation responder