Windows Sandbox configuration files How do they work?

In case you don't know, Windows is working on a tool called Windows Sandbox; which is defined as a desktop environment temporary to isolate particular applications. Similarly, this feature is being tested on the Windows 10 Insider Build. Also, it is possible that Windows Sandbox is installed in Windows 10, in its version 1903.

Now, the initial version of this environment was very simple; users could launch it on Windows 10 devices and use it. But it was only limited in scope on this OS.

Index of contents

Sandbox configuration file

Likewise, and despite the latest configurations; you can use configuration files to customize some aspects. However, file support is critical at this point. However, this allows administrators and users to automatically launch sandboxed applications or scripts. This means that you can automatically run something in the sandbox environment.

However, configuration files use XML language and have the .wsb extension. You can run any file with this extension by double-clicking it. On the other hand, you can run it from the PowerShell command line or using scripts. Therefore, Windows Sandbox .wsb scripts can support the following configuration options:

First of all, you can enable or disable the virtualized GPU. Secondly, you can enable or disable the Sandbox network. Also, you can share folders from the host and run scripts or startup programs.

Virtualized GPU

Disable This script disables sandboxed virtual GPU support. In this case, the software impersonation will be used.

Skills will now enable virtual GPU support.

for networks

disabled This feature disables networking in the Sandbox.

enable in turn enables networking in the sandbox

shared folders

path to the host folder

value

Similarly, you need to specify a folder that you want to share with the host system, an example would be: c:virtual, now, if you want to make it read-only or support write operations as well.

To do this, the values ​​of "ReadOnly" are true (true); for read only. Y (false) for false; for read and write support.

You have to take into account that the folders are always assigned in this path:

C:UsersWDAGUtilityAccountDesktop.

Access command

The command

Here you can specify a filename, path or script. The "explorer.exe" command might work, just like a script would, for example:

C:userswdagutilityaccountdesktopteststart.cmd.

Here is an example XML file

Deactivate

Deactivate

C:Usersuser_nameDownloads

true

<

explorer.exeC:usersWDAGUtilityAccountDesktopDownload

Windows sandboxes

Don't forget to save the file with the .wsb extension. You should also launch it when you want to sandbox with the settings you just programmed. Similarly, it works in a basic way: disable virtual GPU and networking. It in turn maps the Downloads folder to the user in question (you) and launches File Explorer in the sandbox showing the Downloads folder.

Finally, support for configuration files greatly extends the functionality of Windows Sandbox. This way, you can use these files to share folders with Sandbox and run scripts at the same time. Also, you can use it to assign download folders and sandbox those files for added security.

Rate this post

If you want to know other articles similar to Windows Sandbox configuration files How do they work? you can visit the category Tutorials.

Leave a Reply

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

Go up Change privacy settings