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:
- File deduplication > Files to include in the shared store for deduplication
- (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:
- Open the Group Policy Management Editor.
- Access Policies > Administrative Templates: Policy definitions (ADMX files) > Citrix Components > Profile Management > File deduplication.
- Double-click Files to include in the shared store for deduplication.
- Select Enabled.
- In the List of files to include in the shared store field, click Show.
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 subfoldersMusic\*
— Files in the Music folder and its subfoldersDownloads\*.iso
— Files with the .iso extension in the Downloads folder and its subfoldersDownloads\*.iso|
— Files with the .iso extension only in the Downloads folderAppData\Local\Microsoft\OneDrive\*\*.dll
— Files with the .dll extension in any immediate subfolder of the AppData\Local\Microsoft\OneDrive folder
- Wildcards in file names are applied recursively. To restrict them only to the current folder, use the vertical bar (
- Click OK and OK again.
Configuration precedence
- If this setting is disabled, the shared store is disabled.
- If this setting isn’t configured here, the value from the .ini file is used.
- 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:
- Open the Group Policy Management Editor.
- Access Policies > Administrative Templates: Policy definitions (ADMX files) > Citrix Components > Profile Management > File deduplication.
- Double-click Files to exclude from the shared store.
- Select Enabled.
- In the List of files to exclude from the shared store field, click Show.
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 subfoldersAppData\*.tmp
— Files with the .tmp extension in the AppData folder and its subfoldersAppData\*.tmp|
— Files with the .tmp extension only in the AppData folderDownloads\*\a.txt
— The a.txt file in any immediate subfolder of the Downloads folder
- Wildcards in file names are applied recursively. To restrict them only to the current folder, use the vertical bar (
- Click OK and OK again.
Configuration precedence
- If this setting is disabled, no files are excluded.
- If this setting isn’t configured here, the value from the .ini file is used.
- 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:
- On the shared store server, grant a user account (for example,
admin0
) Full control access to the shared store folder. - 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. - (Optional) On the shared store server, locate the shared store folder and remove the permission entry for domain computers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论