Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
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.
Microsoft-Windows-Shell-Setup | FolderLocations | ProgramData
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%\Programs</ProgramData>
</FolderLocations>