Specify the storage size and path for VHDX files 编辑
This article shows you how to specify the storage size and path for VHDX files that Profile Management creates.
Overview
Profile Management provides the following VHDX-based features:
By default, all VHDX files are stored in the user store. If needed, you can specify a separate path to store them. The following table lists the storage paths of VHDX files.
Policy | Default storage path | Custom storage path |
---|---|---|
Profile container settings | {USER_STORE_PATH}\ProfileContainer\{OS_NAME_SHORT}\ | {VHDX_STORE_PATH}\ProfileContainer\{OS_NAME_SHORT}\ |
Outlook search index roaming | {USER_STORE_PATH}\VHD\{OS_NAME_SHORT}\ | {VHDX_STORE_PATH}\VHD\{OS_NAME_SHORT}\ |
Accelerate folder mirroring | {USER_STORE_PATH}\MirrorFolders\ | {VHDX_STORE_PATH}\MirrorFolders\ |
Enable OneDrive container | {USER_STORE_PATH}\OneDrive\ | {VHDX_STORE_PATH}\OneDrive\ |
Profile Management now impersonates the current user to access the VHDX files and does not grant Domain Computers full control
permission to the storage path of the VHDX files.
Specify the storage size
The maximum size for all VHDX files defaults to 50 GB. To change the default maximum size, configure the following registry value before any VHDX policy is enabled: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\UserProfileManager\VhdCapacity
(DWORD, size in GB).
The VHDX files don’t shrink automatically, even if you manually delete files from them. To reduce the size of the VHDX files, go to Disk Management, right-click the applicable volume, and then select Shrink Volume.
Specify the storage path
Prepare a network storage location for the VHDX files. Make sure that you grant your users Modify
permission or higher to the storage location.
Specify the storage path for VHDX files by following these steps:
- Open the Group Policy Management Editor.
- Under Computer Configuration > Administrative Templates > Citrix Components > Profile Management > Advanced settings, double-click the Customize storage path for VHDX files policy.
- Select Enabled.
- In the Path to store VHDX files field, type the full path of the storage location. Example:
\\myservername\vhdx_store
. - Click Apply, and then click OK.
To enable the setting to take effect, do the following:
- Log off from all sessions that are using the user profile.
Run the
gpupdate /force
command from the command prompt.When the policy takes effect varies depending on the use cases:
- If it is the first time you specify a storage path for VHDX files, the policy takes effect after the user logs on.
- If it is you change the storage path for VHDX files, the policy takes effect after the user logs off for the first time.
For more information about the gpupdate
command, see the Microsoft document.
If this setting is not configured here, the value from the .ini file is used. If this setting is not configured here or in the .ini file, Profile Management stores the VHDX files in the user store.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论