- Home
- 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:
- Launch Notepad.
- Click FileSave As.
- Give a name and use the .wsb extension.
- Use the Save As drop-down menu and select All Files option.
- Hit Save.
Once configured, you can now control features like graphics, folder sharing, and startup scripting.

B.Enable/Disable Virtual Network Adapter:
- Open File Explorer.
- Go to the configuration file.
- Right-click .wsb configuration and select the Open with option.
- Select Choose another app option.
- Pick NotepadOK.
- Input the following to disable the VNA.
<Configuration>
<Networking>Disable</Networking>
</Configuration>
- Type the following to enable the VNA
<Configuration>
<Networking>Default</Networking>
</Configuration>
- Go to File and save it.
C.Manage Virtual Graphics on Windows Sandbox:
- Open File Explorer and navigate to the configuration file.
- Right-click .wsb configuration file and select Open withChoose another app.
- Pick NotepadOK.
- Disable the vGPU adapter on Windows Sandbox as follows:
<Configuration>
<VGpu>Disable</VGpu>
</Configuration>
- Enable the vGPU adapter as follows:
<Configuration>
<VGpu>Default</VGpu>
</Configuration>
- Click the File menu and then hit Save.
D.Map A Host Folder:
- Locate your configuration file and right-click the .wsb file.
- Select Open withChoose another appNotepadOK.
- Type the given code to map a folder on Windows Sandbox.
<Configuration>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\temp</HostFolder>
<ReadOnly>true</ReadOnly>
</MappedFolder>
</MappedFolders>
</Configuration>
- Save the file after the changes are made.
E.Run Startup commands:
- Launch File Explorer and find the configuration file.
- Choose Notepad to open it and input the following code:
<LogonCommand>
<Command>cmd.exe</Command>
</LogonCommand>

F.Control Multiple Options:
- 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>