• How To Change Windows Sandbox Settings In Windows 10

How To Change Windows Sandbox Settings In Windows 10?

Windows Sandbox is a feature that offers a secure environment to test programs and files downloaded from unknown sources on the Internet. It uses a text-based configuration file, yet it is easy. Launch Windows Sandbox with XML files and set the parameters.

A.Create a Configuration File:

  1. Launch Notepad.
  2. Click FileSave As.
  3. Give a name and use the .wsb extension.
  4. Use the Save As drop-down menu and select All Files option.
  5. Hit Save.

Once configured, you can now control features like graphics, folder sharing, and startup scripting.

B.Enable/Disable Virtual Network Adapter:

  1. Open File Explorer.
  2. Go to the configuration file.
  3. Right-click .wsb configuration and select the Open with option.
  4. Select Choose another app option.
  5. Pick NotepadOK.
  6. Input the following to disable the VNA.

    <Configuration>

    <Networking>Disable</Networking>

    </Configuration>

  7. Type the following to enable the VNA

    <Configuration>

    <Networking>Default</Networking>

    </Configuration>

  8. Go to File and save it.

C.Manage Virtual Graphics on Windows Sandbox:

  1. Open File Explorer and navigate to the configuration file.
  2. Right-click .wsb configuration file and select Open withChoose another app.
  3. Pick NotepadOK.
  4. Disable the vGPU adapter on Windows Sandbox as follows:

    <Configuration>

    <VGpu>Disable</VGpu>

    </Configuration>

  5. Enable the vGPU adapter as follows:

    <Configuration>

    <VGpu>Default</VGpu>

    </Configuration>

  6. Click the File menu and then hit Save.

D.Map A Host Folder:

  1. Locate your configuration file and right-click the .wsb file.
  2. Select Open withChoose another appNotepadOK.
  3. Type the given code to map a folder on Windows Sandbox.

    <Configuration>

    <MappedFolders>

    <MappedFolder>

    <HostFolder>C:\temp</HostFolder>

    <ReadOnly>true</ReadOnly>

    </MappedFolder>

    </MappedFolders>

    </Configuration>

  4. Save the file after the changes are made.

E.Run Startup commands:

  1. Launch File Explorer and find the configuration file.
  2. Choose Notepad to open it and input the following code:

    <LogonCommand>

    <Command>cmd.exe</Command>

    </LogonCommand>

F.Control Multiple Options:

  1. To customize the Sandbox with all the available options, input the below-given code:

    <Configuration>

    <Networking>Disable</Networking>

    <VGpu>Disable</VGpu>

    <MappedFolders>

    <MappedFolder>

    <HostFolder>C:\Temp</HostFolder>

    <ReadOnly>True</ReadOnly>

    </MappedFolder>

    </MappedFolders>

    <LogonCommand>

    <Command>cmd.exe</Command>

    </LogonCommand>

    </Configuration>

Installation Guide