How to Enable or Disable Sharing Host Folders with Windows Sandbox in Windows 11
You can enable or disable sharing host folders with Windows Sandbox in Windows 11 to control file access between your main system and the isolated environment.
To enable or disable sharing folders with Windows Sandbox, use either the Group Policy Editor or Registry Editor. In Group Policy, navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Windows Sandbox and adjust “Allow mapping folders into Windows Sandbox.” In the Registry, go to 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Sandbox and modify AllowMappedFolders and AllowWriteToMappedFolders.
Windows Sandbox is a lightweight desktop environment that lets you run applications or visit websites in a safe, temporary space, preventing any changes from affecting your primary PC. It’s like a disposable virtual machine that cleans itself up when you close it.
This feature enhances security by isolating potentially harmful software. In Windows 11, you can now choose whether the Sandbox can access folders from your host machine, offering more control over data flow.
For instance, recent builds like Windows 11 build 27686.1000 introduced finer control over this host folder sharing capability.
Was this guide helpful?
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.
[…] new feature that lets you share folders on the host computer with a sandbox environment was added. You can turn off using this feature in Windows, […]