Export (0) Print
Expand All

FolderLocations

The FolderLocations setting specifies the location of the user profile and program data folders.

ImportantImportant
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.
noteNote
This setting is valid for upgrades.
noteNote
This setting accepts only folders as valid input values.

Child Elements

 

ProfilesDirectory

Specifies the path to the user profile folder.

ProgramData

Specifies the path to the program data folder.

Valid Passes

Parent Hierarchy

Microsoft-Windows-Shell-Setup | FolderLocations

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML Example

The following XML output shows how to set the paths to folder locations.

<FolderLocations>
   <ProfilesDirectory>%SYSTEMDRIVE%\Profiles</ProfilesDirectory>
   <ProgramData>%SYSTEMDRIVE%\ProgramData</ProgramData>
</FolderLocations>

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft