ProgramData

The ProgramData setting specifies the path to the program data folder.

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.

Warning

Using this setting to redirect folders to a drive other than the system volume blocks upgrades.

Values

Path_to_program_data_folder

Specifies the path to the program data folder. Path_to_program_data_folder is a string with a maximum length of 259 characters.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes

oobeSystem

Parent Hierarchy

Microsoft-Windows-Shell-Setup | FolderLocations | ProgramData

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%\Programs</ProgramData>
</FolderLocations>

See Also

Concepts

FolderLocations