TechNet
ProgramData
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

ProgramData

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

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.
CautionCaution
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

Parent Hierarchy

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

Show:
© 2016 Microsoft