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
%userdomain%. You can also create custom AD attributes to define organizational variables such as location or users. Attributes are case-sensitive.
- \\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.