How to Turn On Windows Sandbox in Windows 11

Windows Sandbox is a safe place on your computer where you can try out apps or files without worrying about harming your main system. It’s like a little computer inside your computer!

This guide will show you simple steps to turn on Windows Sandbox on your Windows 11 PC.

What is Windows Sandbox?

Windows Sandbox lets you run apps in a separate, temporary space. Anything you do inside the Sandbox won’t affect your main Windows system. When you close Sandbox, everything inside it is deleted.

This is great if you want to test apps you don’t fully trust or just want to keep things safe.

How to Turn On Windows Sandbox

Method 1: Using Apps & Features

  1. Press Windows key + R on your keyboard. This opens the Run box.
  2. Type optionalfeatures.exe and press Enter.
  3. The Windows Features window will open. Scroll down and find Windows Sandbox.
  4. Check the box next to Windows Sandbox and click OK.
  5. Windows will install the feature. You might need to restart your computer.
Run box with optionalfeatures.exe typed
Windows Features with Windows Sandbox selected

Method 2: Using Command Prompt

If you like typing commands, you can turn on Sandbox this way:

  1. Click the Start button, type Command Prompt.
  2. Right-click on Command Prompt and choose Run as administrator.
  3. In the Command Prompt window, type this and press Enter:

    dism /online /Enable-Feature /FeatureName:"Containers-DisposableClientVM" -All
  4. After it finishes, restart your computer.
Command Prompt running as administrator

Method 3: Using PowerShell

You can also use PowerShell, another tool for running commands:

  1. Click the Start button, type PowerShell.
  2. Right-click on Windows PowerShell and choose Run as administrator.
  3. Type this command and press Enter:

    Enable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM" -All
  4. Restart your computer when done.
PowerShell running as administrator

How to Turn Off Windows Sandbox

If you want to turn off Sandbox later, use the same methods but run these commands instead:

  • Command Prompt:

    dism /online /Disable-Feature /FeatureName:"Containers-DisposableClientVM"
  • PowerShell:

    Disable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM" -Online

How to Use Windows Sandbox

Once Sandbox is turned on, here’s how to open and use it:

  1. Click the Start button and type Windows Sandbox.
  2. Click on the Windows Sandbox app to open it.
  3. A new window will open with a clean Windows desktop.
  4. You can copy files or apps into this window and run them safely.
  5. When you close Sandbox, everything inside it will be deleted automatically.
Windows Sandbox running on Windows 11

Summary

  • Windows Sandbox is a safe way to try apps without risking your main computer.
  • You can turn it on using Apps & Features, Command Prompt, or PowerShell.
  • Don’t forget to restart your PC after turning it on or off.
  • Use Sandbox to keep your computer safe from harmful software.

If you want to learn more about Windows Sandbox, you can visit the official Microsoft guide.

Categories:

Tags:

You May Also Like

Leave a Reply

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

Explore Topics

Exit mobile version