Registry Home > Windows > Windows Explorer

Change Program and Common Files Directory (All Windows)

This tweak allows you to change the directory used as the default location for software applications and shared files.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find the key below.

Change the value of "ProgramFilesDir" and "CommonFilesDir" to the desired Program Files and Common Files directories.

Restart Windows for the change to take effect.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|CommonFilesDirREG_SZC:\Program Files\Common Files|
|ProgramFilesDirREG_SZC:\Program Files|
-
|HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion|
-
Registry Settings
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
Value Name: CommonFilesDir, ProgramFilesDir
Data Type: REG_SZ (String Value)
Value Data: Directory Name

Related Tweaks

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: July 29, 2002