Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista
ProfilesDirectory specifies the path to the user profile folder (normally C:\Users).
When you use a folder name other than "Users", like
C:\Documents and Settings, then Windows creates the Users folder on that drive (C:\Users), and also creates an redirect folder (C:\Documents and Settings) that points to the Users folder.
|We don’t recommend using this setting, except perhaps in a test environment. When this setting is changed, the Windows® Store and Windows Store apps are not supported.|
Using drives other than the system drive:
Use this setting to move the user-profile folder (typically %SYSTEMDRIVE%\Users) to another location during deployment. The destination path can be on a volume other than the system drive, as long as it meets the following requirements:
Specifies the path to the user profile folder. Path_to_profiles_directory is a string with a maximum length of 256 characters.
This string type does not support empty elements. Do not create an empty value for this setting.
For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.
The following XML example shows how to set the paths to folder locations.
<FolderLocations> <ProfilesDirectory>%SYSTEMDRIVE%\Profiles</ProfilesDirectory> <ProgramData>%SYSTEMDRIVE%\ProgramData</ProgramData> </FolderLocations>