Home / Technology / How Windows Sandbox config files work

How Windows Sandbox config files work

Microsoft is engaged on Windows Sandbox, a sandboxed surroundings for the Windows working system, at present.

The function is being examined in Windows 10 Insider Builds at present and it’s potential that Windows Sandbox will discover its method into Windows 10 model 1903.

The preliminary model of Windows Sandbox was fairly fundamental: customers might launch it on Windows 10 units and use it, however that was in regards to the scope of it.

Sandbox Config files

SandboxConfigFile

Starting with the latest builds, it’s now potential to make use of config files to customise sure features. Config file help is fundamental at this level however it permits directors and customers to launch apps or scripts robotically within the sandbox. In different phrases: it’s possible you’ll run one thing within the sandboxed surroundings robotically.

The config files use XML and have the extension .wsb. You might run any .wsb file with a double-click or by working it from the command line or through the use of scripts.

Windows Sandbox .wsb scripts help the next configuration choices at present:

  • Enable or disable the virtualized GPU.
  • Enable or disable networking within the sandbox.
  • Share folders from the host.
  • Run a startup script or program.

Most choices are easy at this time limit.

Virtualized GPU

  • Disable — Disables digital GPU help within the sandbox. Software rendering will likely be used.
  • Enable — Enables digital GPU help.

Networking:

  • Disable — Disables networking within the sandbox.
  • Enable — Enables networking within the sandbox.

Shared Folders:


path to the host folder
worth

You must specify a folder that you simply need to share with the host system, e.g. c:digital, and whether or not you need it to be read-only or help write operations as effectively.

ReadOnly values are true (make it read-only) or false (learn and write help).

Note that folders are at all times mapped underneath the trail C:UsersWDAGUtilityAccountDesktop.

Command on Logon


The command

You might specify a file identify and path or a script. The command explorer.exe would work, as would reference to a script, e.g. C:userswdagutilityaccountdesktopteststart.cmd.

Example XML file


Disable
Disable


C:CustomersMartinDownloads
true



explorer.exe C:usersWDAGUtilityAccountDesktopDownloads

Save the file as one thing.wsb and launch it everytime you need to run the sandbox with this configuration. It is fairly fundamental: disables the digital GPU and networking, maps the Downloads folder of the person account Martin, and launches File Explorer within the sandbox that shows the Downloads folder.

Closing Words

Config file help extends Windows Sandbox performance considerably as it’s possible you’ll use these files to share folders with the sandbox and run scripts. You might use it to map a downloads folder and run downloaded files within the sandbox for that additional little bit of safety.

We will replace the information when new options are launched.

Now You: What is your tackle the Windows Sandbox to date? What would you prefer to see?

Check Also

Firefox Focus not a high priority currently

Mozilla launched fairly a few net browsers for Android up to now and is engaged …

Leave a Reply

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