Windows沙盒的配置

Windows 沙盒可以通过conf.wsb文件进行个性化配置,具体配置文件如下。

<Configuration>
    <vGPU>Enable</vGPU>
    <VideoInput>Disable</VideoInput>
    <AudioInput>Disable</AudioInput>
    <ClipboardRedirection>Enable</ClipboardRedirection>
    <MappedFolders>
        <MappedFolder>
        <HostFolder>C:\Users\xxx\Downloads\sandbox</HostFolder>
        <SandboxFolder>C:\Users\WDAGUtilityAccount\Downloads</SandboxFolder>
        <ReadOnly>false</ReadOnly>
        </MappedFolder>
    </MappedFolders>
    <LogonCommand>
        <Command>C:\Users\WDAGUtilityAccount\Downloads\ChromeStandaloneSetup64.exe</Command>
    </LogonCommand>
</Configuration>

沙盒里的默认用户名为WDAGUtilityAccount,因此在映射文件夹和执行登录自动安装LogonCommand时需要正确指定。

posted @ 2024-05-30 09:53  7hu95b  阅读(237)  评论(0)    收藏  举报