根据Microsoft官方doc,我们需要建立一个以.wsb为拓展名的配置文件,内容如下。

<Configuration>
  <VGpu>Disable</VGpu>
  <Networking>Disable</Networking>  #网络,建议关闭
  <MappedFolders>
    <MappedFolder>
      <HostFolder>G:</HostFolder> #要映射的文件夹绝对路径
      <SandboxFolder>C:UsersWDAGUtilityAccountDownloads</SandboxFolder> #沙盒中的绝对路径
      <ReadOnly>false</ReadOnly> #只读
    </MappedFolder>
    #...可继续增加
  </MappedFolders>
  <LogonCommand>
    <Command>explorer.exe C:usersWDAGUtilityAccountDownloads</Command>
  </LogonCommand>
</Configuration>

Categories:

Tags:

No responses yet

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

近期评论
归档
分类