4722 E Monte Vista Rd, Phoenix, AZ 85008 | Mon–Fri 8am–5pm

How to create a secure environment with Windows Sandbox

Updated November 8, 2026

As cybersecurity threats evolve, having a safe place to test unfamiliar software or files becomes increasingly useful. Windows Sandbox is a built-in feature that creates a temporary, isolated desktop environment for exactly this purpose. Anything you run inside it stays contained, and when you close it, everything is gone.

How to create a secure environment with Windows Sandbox

Before diving into the setup process, it is important to understand what Windows Sandbox is. Essentially, it is a temporary, lightweight, isolated desktop environment that lets you run software without worrying about affecting your primary operating system.

Windows Sandbox is designed for testing, not for running mission-critical apps or for long-term use. Changes made in the Windows Sandbox environment are discarded when you close the sandbox, ensuring your primary system remains unaffected.

System requirements

To use Windows Sandbox, ensure your system meets the following prerequisites:

  • Windows version: Professional or Enterprise versions of Windows (10/11). The Home version is not supported.
  • Virtualization support: Your PC needs to have virtualization enabled in the BIOS/UEFI settings. Most modern CPUs support this feature (Intel VT-x or AMD-V).
  • RAM: You need at least 4 GB of RAM, but 8 GB is recommended for performance.
  • CPU: You need at least two (2) cores and a 64-bit processor.
  • Disk space: You need at least 1 GB of free disk space.

Enabling Windows Sandbox

To get started, you need to enable Windows Sandbox on your system using the Control Panel:

  1. Open a Run dialog box by pressing the Windows logo key Windows logo key + R, type Control, and then left-click on OK to open the Control Panel.
  2. Left-click on either Programs (category view) and then Programs and Features or Programs and Features (large/small icons view).
  3. In the left column, left-click on Turn Windows features on or off.
  4. The Windows Features dialog box will appear. Scroll down the list, place a check mark next to Windows Sandbox,
    Windows Features dialog box with Windows Sandbox selected
    and then left-click OK. Windows will then install the required files for Windows Sandbox.

You may need to restart your computer for the changes to take effect.

Launching Windows Sandbox

Once the installation is complete, you can launch Windows Sandbox:

  1. Left-click on the Start Windows logo key button to bring up the Start menu.
  2. Scroll down the Start menu to the All section and make sure you are viewing it by List.
  3. Scroll down the list of programs and left-click on Windows Sandbox.

After a brief loading period, you will see a clean Windows desktop, similar to your primary system but in a contained environment.

Customizing Windows Sandbox

While Windows Sandbox works perfectly out of the box, you can customize it to fit your needs. You can create a configuration file that enables features such as clipboard sharing, folder sharing, and more.

  1. Create a configuration file: Use a simple text editor to create a configuration file with the extension .wsb. Here is a sample XML configuration file:
    <Configuration>
    <Networking>enable</Networking>
    <Clipboard>enable</Clipboard>
    <MappedFolders>
    <MappedFolder>
    <HostFolder>C:\Users\YourUsername\Folder</HostFolder>
    <SandboxFolder>C:\Users\YourUsername\Desktop\Folder</SandboxFolder>
    <ReadOnly>true</ReadOnly>
    </MappedFolder>
    </MappedFolders>
    </Configuration>
  2. Save the file: Save it with a .wsb extension so you can double-click it to launch the Windows Sandbox with your desired settings.

For more detailed information on configuring Windows Sandbox, please refer to the following article.

Use and configure Windows Sandbox

Using Windows Sandbox securely

  • Transfer Files: You can transfer files to the sandbox by copying them from your primary system. If you have set up folder mappings, this process becomes easier.
  • Testing Applications: Download or install the software you wish to test. Since the environment is isolated, any malware or viruses will not affect your primary OS.
  • Internet Access: Windows Sandbox has internet access by default, so you can safely test various online applications.

Closing Windows Sandbox

When you are finished, simply close the Windows Sandbox window. All data, applications, and changes made during the session will be discarded, ensuring your primary operating system remains untarnished.

Benefits of Windows Sandbox

  • Isolation: Applications run in a completely isolated environment, preventing them from interacting with the host OS.
  • No permanent changes: All changes in Windows Sandbox are temporary and discarded when you close the sandbox.
  • Easy setup: It is easy to enable and use without needing complex configurations.
  • Cost-effective: It eliminates the need for third-party virtual machines or additional software.

Limitations

Windows Sandbox has some important limitations to be aware of before relying on it. First, it does not support running 32-bit applications on 64-bit Windows systems. Additionally, it wipes every session when you close it, so it can't maintain a persistent test environment. It is also unavailable on Windows Home editions.

While Windows Sandbox is a powerful tool, it is designed primarily for short-term use. You cannot run multiple instances at the same time, and it is not suitable for long-term use or for installing applications permanently.

Windows Sandbox is one of the most practical built-in security tools in Windows 10 and Windows 11. It gives you a clean, throwaway environment to test software you do not fully trust, without putting your main system at risk. If you are on a Professional or Enterprise edition and haven't enabled it yet, it takes just a few minutes to set up.

Add comment

Need Help Now?

Free basic in-shop diagnostics on all repair services. Same-day service on most repairs.

Call (602) 795-1111 Send a Message

4722 East Monte Vista Rd
Phoenix, AZ 85008

Mon–Fri, 8am–5pm

Free Basic In-Shop Diagnostics BBB Accredited Same-Day Service

Ready to Get Your Computer Fixed?

Free basic in-shop diagnostics. Honest pricing. Same-day service on most repairs.

4722 East Monte Vista Rd, Phoenix, AZ 85008  ·  Mon–Fri 8am–5pm