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
  1. Under Profile Management, double-click the Path to user store policy.
  2. 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.

Diagram

For more information on using variables when specifying the path to the user store, see the following topics:

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 技术交流群。

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

发布评论

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

词条统计

浏览:38 次

字数:4467

最后编辑:7 年前

编辑次数:0 次

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