Enable file deduplication 编辑

Identical files can exist among various user profiles in the user store. Having duplicate instances of files stored in the user store increases your storage cost.

File deduplication policies let Profile Management remove duplicate files from the user store and store one instance of them in a central location (called shared store). Doing so avoiding file duplication in the user store, thus reducing your storage cost.

To enable file deduplication and specify files to include in the shared store, configure the following policies:

  1. File deduplication > Files to include in the shared store for deduplication
  2. (Optional) File deduplication > Files to exclude from the shared store

After you configure file deduplication policies, Profile Management creates the shared store in the same path as the user store. For example,

  • Path to the user store: \\server\profiles$\%USERDOMAIN%\%USERNAME%\!CTX_OSNAME!!CTX_OSBITNESS!

  • Path to the shared store: \\server\profiles$\%USERDOMAIN%\SharedFilesStore

Include files in the shared store for deduplication

If duplicated files exist in the user store, enable file deduplication and specify files to include in the shared store for deduplication.

Detailed steps are as follows:

  1. Open the Group Policy Management Editor.
  2. Access Policies > Administrative Templates: Policy definitions (ADMX files) > Citrix Components > Profile Management > File deduplication.
  3. Double-click Files to include in the shared store for deduplication.
  4. Select Enabled.
  5. In the List of files to include in the shared store field, click Show.
  6. Enter the file names with paths relative to the user profile.

    Wildcards are supported with the following considerations:

    • Wildcards in file names are applied recursively. To restrict them only to the current folder, use the vertical bar (|).
    • Wildcards in folder names are not applied recursively.

    Examples:

    • Downloads\profilemgt_x64.msi — The profilemgt_x64.msi file in the Downloads folder
    • *.cfg — Files with the .cfg extension in the user profile folder and its subfolders
    • Music\* — Files in the Music folder and its subfolders
    • Downloads\*.iso — Files with the .iso extension in the Downloads folder and its subfolders
    • Downloads\*.iso| — Files with the .iso extension only in the Downloads folder
    • AppData\Local\Microsoft\OneDrive\*\*.dll — Files with the .dll extension in any immediate subfolder of the AppData\Local\Microsoft\OneDrive folder
  7. Click OK and OK again.

Configuration precedence

  1. If this setting is disabled, the shared store is disabled.
  2. If this setting isn’t configured here, the value from the .ini file is used.
  3. If this setting is configured neither here nor in the .ini file, the shared store is disabled.

Exclude files from the shared store

Wildcard characters let you include a group of files in the shared store all at once. To exclude some files from the group, enable and configure the Files to exclude from the shared store policy as follows:

  1. Open the Group Policy Management Editor.
  2. Access Policies > Administrative Templates: Policy definitions (ADMX files) > Citrix Components > Profile Management > File deduplication.
  3. Double-click Files to exclude from the shared store.
  4. Select Enabled.
  5. In the List of files to exclude from the shared store field, click Show.
  6. Enter the file names with paths relative to the user profile.

    Wildcards are supported with the following considerations:

    • Wildcards in file names are applied recursively. To restrict them only to the current folder, use the vertical bar (|).
    • Wildcards in folder names are not applied recursively.

    Examples:

    • Downloads\profilemgt_x64.msi — The profilemgt_x64.msi file in the Downloads folder
    • *.tmp — Files with the .tmp extension in the user profile folder and its subfolders
    • AppData\*.tmp — Files with the .tmp extension in the AppData folder and its subfolders
    • AppData\*.tmp| — Files with the .tmp extension only in the AppData folder
    • Downloads\*\a.txt — The a.txt file in any immediate subfolder of the Downloads folder
  7. Click OK and OK again.

Configuration precedence

  1. If this setting is disabled, no files are excluded.
  2. If this setting isn’t configured here, the value from the .ini file is used.
  3. If this setting is configured neither here nor in the .ini file, no files are excluded.

Change permissions on the shared store

When creating the shared store folder, Profile Management grants the folder to the following principals:

  • Domain computers (with Full control access)
  • Domain users (with Read access)

By default, Profile Management on domain computers manages the shared store files using the current computer identity. If necessary, you can have Profile Management manage those files using a user account instead. To do so, follow these steps:

  1. On the shared store server, grant a user account (for example, admin0) Full control access to the shared store folder.
  2. On each VDA, add a Windows credential for the admin0 user account to sign in to the shared store folder. To do so, use Windows Credential Manager or Workspace Environment Management. See the procedures described in Enable credential-based access to user stores for details.
  3. (Optional) On the shared store server, locate the shared store folder and remove the permission entry for domain computers.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:84 次

字数:8003

最后编辑:6 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文