Share via


FolderLocations

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

Important

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.

Note

This setting is valid for upgrades.

Note

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

oobeSystem

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

Concepts

Microsoft-Windows-Shell-Setup