Virtualization Windows

How to Create Shared Folder in Windows Sandbox


One feature that I personally like from Microsoft is the Windows Sandbox which comes with the latest Windows 10 update. The value of this sandbox cannot be under-emphasized as it allows you to launch your Windows in a virtual environment so that you can test any untrusted applications before installing them on your system or where you can access some malicious websites. Though any changes you make to the sandbox get lost immediately you close the feature, but it keeps the system safe and secure from malicious attacks.

You can enable Windows Sandbox through the Windows Features and there is no difficulty in setting it up, but you can read How to Configure Windows Sandbox and How to Use Windows Sandbox as a security feature in Windows. Immediately you enable this feature you can launch it from the Start menu and you are ready to use it. But there will always be instances of sharing files between the host and Windows Sandbox, you have the opportunity to create a shared folder in Windows Sandbox, and the shared folder will give you control over how and which files needed to be shared. In this guide, I will show you How to Create Shared Folder in Windows Sandbox. You can also read about how to Create and access a hidden share folder on Windows.

Create Shared Folder in Windows Sandbox

Follow these steps on How to Create Shared Folder in Windows Sandbox

  1. Create a folder and create a text file with any name but it is important that you replace the .txt extension with .wsb.

2. Right-click on the .wsb file and open it with Notepad or any file editor.


3. Copy the below code and paste it into the file editor and add the folder path to the code.


4. You can make the folder to be read-only by changing the false value to true.


5. After adding the code save the file and close it. Now double-click on the .wsb file to launch Windows Sandbox. You will see the Shared Folder icon on the Windows Sandbox desktop and you can start adding other files you want to share between the host and the windows sandbox.


I hope you found this blog post on How to Create Shared Folder in Windows Sandbox. Interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x