Share this article

Improve this guide

This is How You Can Configure Windows Sandbox [Easy Steps]

Give a try to these quick methods now

4 min. read

Updated onDecember 13, 2023

updated onDecember 13, 2023

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Since late May 2019, Microsoft has rolled out theWindows 10 version 1903 updateto more and more users. That update includes a newWindows Sandboxfor theWindows 10Enterprise and Pro editions.

Windows Sandbox lets users open untrusted programs and files in a secure container. Then, dodgy programs can’t have any impact when opened within the sandbox.

Windows Sandbox doesn’t include any notable configuration options on its window. Thus, at first glance, there doesn’t seem to be any way users can configure thesandbox.

However, users can adjust a few Windows Sandbox settings by saving a WSB configuration file. Users can add a few configuration commands to the WSB file to adjustsandboxsettings.

But first, you need to enable Windows Sandbox. Check out thisstep-by-step guide on how to enable Windows Sandbox.

Once you’ve turned Windows Sandbox on, you can configure it depending on your needs.

How can I configure Windows Sandbox?

How can I configure Windows Sandbox?

The virtual GPU is enabled by default, and users can turn that off with the VGpu command. To do that, enter ‘Disable’ in Notepad. Users can enable VGpu again by entering ‘Enable’ in the text editor.

Users can add a Logon command to the configuration file to open a programs when they launch Sandbox. For example, to launch Paint with Sandbox, users would enter ‘’ and ‘’ in the text editor.

Then they would enter ‘mspaint.exe’ inbetween the Logon tags as shown in the snapshot directly below.

There is also a command that enables users to share folders by mapping them. That command specifies the path of the folder to map and whether the folder is read only or not. Users enter ‘’ and ‘’ tags in the text file to map folders.

Then users enter the full command as shown directly below.

Thus, the ‘’ tags specify the path of the folder to map. Then users specify whether the folder is read-only by entering ‘true’ or ‘false’ between the ‘’ tags.

When users have entered all the configuration tags, clickFile>Saveas in Notepad. SelectAll Fileson the Save as Type drop-down menu. Enter a title for the file in the text box, which must include .WSB at the end.

For example, users could enter something like ‘Sandbox config.WSB’ in the File name box. Then press theSavebutton.

Overall, thesandboxconfiguration commands are fairly straightforward. The commands are similar to HTML tags, with users entering page content between opening and closing tags.

So, this is the list of Windows Sandbox commands you can use right now.

With those commands, users can instruct Windows Sandbox in various ways.

Ifcopy/paste is not working in Windows Sandbox, read the highlighted guide for tested fixes.

Keep in mind that many users reported gettingWindows Sandbox error 0x80070002. If you’re experiencing the same issue after configuring Sandbox, use this guide to fix it for good.

More about the topics:windows 10

Matthew Adams

Windows Hardware Expert

Matthew is a freelancer who has produced a variety of articles on various topics related to technology. His main focus is the Windows OS and all the things surrounding it.

He is passionate about the tech world, always staying up-to-date with the latest and greatest. With an analytical view, he likes problem-solving, focusing on errors and their causes.

In his free time, he likes to read and write about history and tries to always develop new skills.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Matthew Adams

Windows Hardware Expert

He is passionate about everything surrounding Microsoft’s OS, focusing on troubleshooting guides & tips for everyday problems.