Skip to content
Follow
Windows

How to Enable Networking in Windows 11 Sandbox

Richard
Written by
Richard
Nov 10, 2022 Updated Jul 14, 2026 3 min read
How to Lock and Unlock OneDrive Personal Vault in Windows 11
How to Lock and Unlock OneDrive Personal Vault in Windows 11

Windows 11 Sandbox networking lets you connect to the internet or your local network from within the isolated Sandbox environment.

Windows Sandbox is a safe, temporary desktop that appears when you turn on the Windows Sandbox feature. It’s perfect for trying out apps or visiting websites without risking your main computer.

By default, Sandbox blocks internet access to keep your main system secure. However, you can change this setting by editing a `.wsb` configuration file.

Enabling networking is helpful if you need to download files or test web apps inside the Sandbox, like checking a new software installer or a website’s security. Just remember that adding networking does make the Sandbox slightly less isolated.

⚡ Quick Answer

Enable networking in Windows 11 Sandbox by editing Group Policy, using a .wsb file, or modifying the Registry. Navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Sandbox and enable “Allow networking in Windows Sandbox” via Group Policy, or set 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Sandbox\AllowNetworking to 1 in the Registry.

How to turn on or off networking with Sandbox in 🪟 Windows 11

You can control internet access for your Windows Sandbox by turning networking on or off. By default, networking is off for security, but you can change this setting if your Sandbox needs to connect to the internet. This guide shows you how to manage Sandbox networking.

Networking is turned off by default to keep your computer secure. If you need to access the internet, you can change this.

First, open the Local Group Policy Editor. You can do this by clicking the Start Menu and searching for “Edit group policy.”

windows 11 edit group policy
windows 11 edit group policy

Once it’s open, navigate through the left folder tree:

Computer Configuration > Administrative Templates > Windows Components > Windows Sandbox

Look for the setting “Allow networking in Windows Sandbox” and double-click it.

windows 11 allow networking in windows sandbox
Windows 11 allow networking in windows Sandbox.

Then, select your preference:

  • Not Configured: The default setting (Networking is off).
  • Enabled: Allows the Sandbox to connect to the network.
  • Disabled: Explicitly turns off all networking.
windows 11 allow networking in windows sandbox options
windows 11 allows networking in windows sandbox options

Using a .wsb file to enable networking

A .wsb file ensures networking is enabled every time you start your Windows Sandbox. You can create a basic configuration file that tells the Sandbox to allow internet access when it launches. This method helps you consistently use your Sandbox online.

💻Code
<Configuration>
  <Networking>Enable</Networking>
</Configuration>
💡Tip
Save the file with a .wsb extension (for example: MySandbox.wsb). Double-clicking this file will launch the Sandbox with networking turned on.

Enable or disable networking with Sandbox via Windows Registry

To enable or disable networking for your Windows Sandbox, make changes in the Windows Registry, especially if other methods haven’t worked. This involves navigating to a specific location within the registry editor and adjusting a setting. Be cautious when editing the registry, as incorrect changes can affect your system.

Open the Windows Registry and go to this path:

🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Sandbox

windows 11 enable disable printer sharing with sandbox registry
Windows 11 enables disabling printer sharing with the sandboxed registry

If a folder named “Sandbox” isn’t there, right-click the “Windows” folder, select New, then Key, and name it “Sandbox.”

Create a new DWORD (32-bit) value in the Windows 11 Sandbox registry editor. A DWORD value is a type of data used in the registry. To do this, right-click in an empty space on the right side of the editor, select “New,” and then choose “DWORD (32-bit) Value.” Name this new value “AllowNetworking” to enable networking features within the Sandbox environment.

AllowNetworking, a DWORD value, controls internet access in Windows 11 Sandbox. Double-click AllowNetworking and change its “Value data” to 1. This turns networking on, allowing the Sandbox to connect to the internet. Change the “Value data” to 0 to turn networking off.

windows 11 allow networking to sandbox registry editor
Windows 11 allow networking to sandbox the registry editor

That’s all there is to it!

Reference: Microsoft.com

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Share Host Folders with Windows Sandbox in Windows 11
Windows How to Share Host Folders with Windows Sandbox in Windows 11
How to Enable or Disable Sharing Host Folders with Windows Sandbox in Windows 11
Windows How to Enable or Disable Sharing Host Folders with Windows Sandbox in Windows 11
How to Enable or Disable Regedit in Windows 11
Windows How to Enable or Disable Regedit in Windows 11
How to View Local Group Policies that are Configured in Windows 11
Windows How to View Local Group Policies that are Configured in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

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