FolderLocations setting specifies the location of the user profile and program data folders.
|This setting should be used only in a test environment. By changing the default location of the user profile directories or program data folders to a volume other than the System volume, you will not be able to service your Windows installation. Any updates, fixes, or service packs will fail to be applied to the installation. Microsoft does not recommend that you change the location of the user profile directories or program data folders.|
|This setting is valid for upgrades.|
|This setting accepts only folders as valid input values.|
Specifies the path to the user profile folder.
Specifies the path to the program data folder.
Microsoft-Windows-Shell-Setup | FolderLocations
For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.
The following XML output shows how to set the paths to folder locations.
<FolderLocations> <ProfilesDirectory>%SYSTEMDRIVE%\Profiles</ProfilesDirectory> <ProgramData>%SYSTEMDRIVE%\ProgramData</ProgramData> </FolderLocations>