Skip to content

Instantly share code, notes, and snippets.

@zhiyuan-lin
Created May 14, 2022 11:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhiyuan-lin/9674cdbc08d17184d547d467ae1814a7 to your computer and use it in GitHub Desktop.
Save zhiyuan-lin/9674cdbc08d17184d547d467ae1814a7 to your computer and use it in GitHub Desktop.
Windows Sandbox script for WeChat
<Configuration>
<vGPU>Enable</vGPU>
<Networking>Default</Networking>
<AudioInput>Enable</AudioInput>
<VideoInput>Enable</VideoInput>
<ProtectedClient>Enable</ProtectedClient>
<PrinterRedirection>Disable</PrinterRedirection>
<ClipboardRedirection>Default</ClipboardRedirection>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\Users\Public\AppData\Local\Windows Sandbox\WeChat\Installer</HostFolder>
<SandboxFolder>C:\Users\WDAGUtilityAccount\Downloads</SandboxFolder>
<ReadOnly>true</ReadOnly>
</MappedFolder>
<MappedFolder>
<HostFolder>C:\Users\Public\AppData\Local\Windows Sandbox\WeChat\Program</HostFolder>
<SandboxFolder>C:\Program Files (x86)\Tencent\WeChat</SandboxFolder>
<ReadOnly>false</ReadOnly>
</MappedFolder>
<MappedFolder>
<HostFolder>C:\Users\Public\AppData\Local\Windows Sandbox\WeChat\Documents</HostFolder>
<SandboxFolder>C:\Users\WDAGUtilityAccount\Documents\WeChat Files</SandboxFolder>
<ReadOnly>false</ReadOnly>
</MappedFolder>
<MappedFolder>
<HostFolder>C:\Users\Public\AppData\Local\Windows Sandbox\WeChat\AppData</HostFolder>
<SandboxFolder>C:\Users\WDAGUtilityAccount\AppData\Roaming\Tencent\WeChat</SandboxFolder>
<ReadOnly>false</ReadOnly>
</MappedFolder>
</MappedFolders>
<LogonCommand>
<Command>C:\Users\WDAGUtilityAccount\Downloads\WeChatSetup.exe /S</Command>
</LogonCommand>
</Configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment