Specify the path to the user store 编辑
Before specifying the path to the user store, refer to Profile Management architecture and, if relevant to your deployment, understand the effect of:
- Storing multilingual profiles
- Combining inclusions and exclusions
- Under Profile Management, double-click the Path to user store policy.
- Select Enabled and enter the path to the directory (the user store) in which the user settings (registry changes and synchronized files) are saved.
The path can be:
A relative path. This path must be relative to the home directory, which is typically configured as the #homeDirectory# attribute for a user in Active Directory (AD).
A UNC path. This path typically specifies a server share or a DFS namespace.
Disabled or unconfigured. In this case, a value of #homeDirectory#\Windows is assumed.
The following types of variables can be used for this setting:
- System environment variables enclosed in percent signs (for example, %ProfVer%). System environment variables generally require extra setup. For more information, see Administer profiles within and across OUs.
- Attributes of the AD user object enclosed in hashes (for example, #sAMAccountName#).
- Profile Management variables. For more information, see Profile Management policies.
User environment variables cannot be used, except for %username%
and %userdomain%
. You can also create custom AD attributes to define organizational variables such as location or users. Attributes are case-sensitive.
Examples:
- \\server\share\#sAMAccountName# stores the user settings to the UNC path \\server\share\JohnSmith (if #sAMAccountName# resolves to JohnSmith for the current user)
- \\server\profiles$\%USERNAME%.%USERDOMAIN%\!CTX_OSNAME!!CTX_OSBITNESS! might expand to \\server\profiles$\JohnSmith.Finance\Win8x64
Important: Whichever attributes or variables you use, check that this setting expands to the folder one level higher than the folder containing NTUSER.DAT. For example, if this file is contained in \\server\profiles$\JohnSmith.Finance\Win8x64\UPM_Profile, set the path to the user store as \\server\profiles$\JohnSmith.Finance\Win8x64 (not the \UPM_Profile subfolder).
This diagram illustrates the components of a typical path to the user store that incorporates AD attributes, environment variables, and Profile Management variables.
For more information on using variables when specifying the path to the user store, see the following topics:
- Share Citrix user profiles on multiple file servers
- Administer profiles within and across OUs
- High availability and disaster recovery with Profile Management
If Path to user store is disabled, the user settings are saved in the Windows subdirectory of the home directory.
If this setting is not configured here, the setting from the .ini file is used. If this setting is not configured here or in the .ini file, the Windows directory on the home drive is used.
For your changes to take effect, run the gpupdate /force
command from the command prompt as documented at https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/gpupdate.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论