This post shows students and new users how to enable Windows Sandbox when using Windows 11.
Microsoft introduced Windows Sandbox feature starting with Windows 10 to help create a secure environment that isolates running apps from the main systems. This is feature is very useful, especially for security professionals testing apps that are not trusted or are unknown.
When you enable Windows Sandbox, it creates an on-demand lightweight temporary desktop session to run untrusted apps without accessing files, Windows registry and other critical parts of the main Windows OS.
Apps that are already installed on the system won’t have access to the secured Sandbox environment. You must first enable Windows Sandbox, then install untrusted apps you want to test or run from within the Sandbox environment.
If you’re a student or new user looking for a Windows computer to start learning on, the easiest place to start is Windows 11. Windows 11 is a major release of the Windows NT operating system developed by Microsoft. Windows 11 is the successor to Windows 10 and it’s expected to be released later this year.
To enable Windows Sandbox in Windows 11, follow the steps below:
Enable Sandbox from Apps and Features
To enable Windows Sandbox from Apps and Features, press the Window key + R to open the Run apps box. Then type in the commands below into the box and press Enter to open.
When Windows optional features panel opens, select Sandbox from the list and install.
Install from Command Prompt
Another way to enable and disable Windows Sandbox is via Windows Command Prompt. If you’re logged in as administrator, use Windows search and open the Command Prompt as administrator.
Then run the commands below to enable Windows Sandbox feature.
dism /online /Enable-Feature /FeatureName:"Containers-DisposableClientVM" -All
After running the commands above, restart your computer for your changes to apply.
If you want to uninstall Sandbox, run the commands below:
dism /online /Disable-Feature /FeatureName:"Containers-DisposableClientVM"
Enable Windows Sandbox via PowerShell.
Windows Sandbox is also enable and disable via PowerShell. To enable via PowerShell, use Windows search feature to open PowerShell as administrator.
When PowerShell opens, run the commands below to enable.
Enable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM" -All
Restart your computer for the changes to apply.
To disable via PowerShell, run the commands below:
Disable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM" -Online
That should do it!
Using Windows Sandbox
Now that Sandbox is enable, login and begin using Windows Sandbox to test untrusted apps.
That’s should do it!
This post showed you how to enable or disable Windows Sandbox when using Windows 11. If you find any error above, please use the comments form below to report.
You may also like the post below: