Sunday, 29 August 2010

Change default program installation folder in XP

Whenever you install any programs in your computer, the installation will be done in C:\program files folder. But what if you wanted to change this setting and make your programs install in the different drive or location by default. There is a simple registry hack in order to change the default installation folder.


First, start registry editor by typing regedit.exe in run menu. Then, go to the following:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion

Now, change the value of ProgramFilesDir to whatever you prefer. Now exit registry and reboot your system to have your default software installation folder changed from program files to that of your choice.
Thanks.