Windows

How to Enable or Disable Sharing Host Folders with Windows Sandbox in Windows 11

Richard
Written by
Richard
Aug 22, 2024 Updated Apr 17, 2026 3 min read
How to Enable or Disable Sharing Host Folders with Windows Sandbox in Windows 11

Windows Sandbox is a tool that creates a safe, temporary space on your computer. It lets you run programs or visit websites without risking your actual files. Think of it as a disposable computer inside your real one. When you close it, everything inside is wiped clean.

Why use this? It keeps your main system safe from viruses and bad files. What happens when done? You get more control over how your files interact with this safe zone.

With Windows 11 build 27686.1000, Microsoft added the ability to share folders between your real computer and the sandbox. Follow these steps to turn this feature on or off.

Method 1: Using the Local Group Policy Editor

Note: This method requires administrator privileges.

  1. Click the Start menu and search for Edit group policy. Open it.
  2. Go to this path: Computer Configuration -> Administrative Templates -> Windows Components -> Windows Sandbox.
  3. Look on the right side and double-click Allow mapping folders into Windows Sandbox.
Windows Sandbox allow folder mapping

Choose one of the following:

  • Not Configured: Uses the default Windows setting.
  • Enabled: Allows you to share folders from your computer to the sandbox.
  • Disabled: Blocks all folder sharing.

You can also choose to let the sandbox write changes to those folders using the options in that window.

Windows Sandbox allow folder mapping options

Click OK and restart your computer to finish.

Method 2: Using the Windows Registry Editor

Note: This method requires administrator privileges.

You can also use the Windows Registry editor to change these settings. Open the Windows Registry and go to this path:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Sandbox

On the right side, look for these two items:

  • AllowMappedFolders
  • AllowWriteToMappedFolders

If you don’t see them, right-click in an empty space, select New > DWORD (32-bit) Value, and name them exactly as shown above.

Double-click each item and set the value to 0 to turn off folder sharing. To turn it back on, delete these items or set them to 1.

Windows Sandbox allow folder mapping registry

Restart your computer to save your changes.

Windows 11 Sandbox features

Summary

Sharing folders with your Windows Sandbox makes it easier to move files back and forth. You can control this feature using the Group Policy Editor or the Registry Editor. Always remember that you must restart your computer for these changes to work. This helps you balance convenience with the security of your main computer system.

What is Windows Sandbox and how does it work?

Windows Sandbox is a lightweight, isolated environment in Windows 11 that allows users to run untrusted applications safely. It creates a temporary space where all software and files are deleted upon closing, ensuring that potential threats do not affect the main operating system.

How can I enable folder sharing in Windows Sandbox?

To enable folder sharing in Windows Sandbox, open the Local Group Policy Editor and navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Windows Sandbox. Double-click 'Allow mapping folders into Windows Sandbox' and set it to 'Enabled'.

Can I disable folder sharing in Windows Sandbox?

Yes, you can disable folder sharing by accessing the Local Group Policy Editor and setting 'Allow mapping folders into Windows Sandbox' to 'Disabled'. Alternatively, you can use the Windows Registry Editor to change the relevant DWORD values to disable this feature.

What happens if I set the folder sharing option to 'Not Configured'?

If you set the folder sharing option to 'Not Configured', Windows Sandbox will revert to its default behavior, which means that folder mapping will not be permitted. This is useful if you want to ensure that no folders are shared with the sandbox environment.

Is it safe to share folders with Windows Sandbox?

Sharing folders with Windows Sandbox can be safe as the sandbox environment is isolated from the main operating system. However, it's important to be cautious about the files you share, as any malicious software could potentially access those files within the sandbox.

Was this guide helpful?

Tags: #Windows 11
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.

2469 articles → Twitter

📚 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 Reset Local Group Policy in Windows 11
Windows How to Reset Local Group Policy in Windows 11
How to Enable Networking in Windows 11 Sandbox
Windows How to Enable Networking in Windows 11 Sandbox
How to Turn On Windows Sandbox in Windows 11
Windows How to Turn On Windows Sandbox in Windows 11

One response to “How to Enable or Disable Sharing Host Folders with Windows Sandbox in Windows 11”

Leave a Reply

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