Skip to content

Instantly share code, notes, and snippets.

@supermarsx
Last active April 28, 2024 17:40
Show Gist options
  • Save supermarsx/a24dc94878f0e73e08dec8c1d8b48066 to your computer and use it in GitHub Desktop.
Save supermarsx/a24dc94878f0e73e08dec8c1d8b48066 to your computer and use it in GitHub Desktop.
Windows Sandbox configuration example
<Configuration>
<VGpu>Enable</VGpu>
<Networking>Enable</Networking>
<AudioInput>Disable</AudioInput>
<VideoInput>Disable</VideoInput>
<PrinterRedirection>Disable</PrinterRedirection>
<ProtectedClient>Enable</ProtectedClient>
<ClipboardRedirection>Enable</ClipboardRedirection>
<MemoryInMB>2048</MemoryInMB>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\Containers\SpecialSandbox</HostFolder>
<SandboxFolder>C:\StartupContents\</SandboxFolder>
<ReadOnly>True</ReadOnly>
</MappedFolder>
</MappedFolders>
<LogonCommand>
<Command>powershell.exe -ExecutionPolicy Bypass -File C:\StartupContents\Startup-Script.ps1</Command>
</LogonCommand>
</Configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment