Wednesday, April 01, 2009

Change the default location that windows installs programs

Windows always wants to install programs to "c:\program files" and changing it every time you want to install a program can be a pain when you want to change the default folder to somewhere else.

After you back up your registry, this is how you can change this default location.

1. Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
2. In the CurrentVersion folder, find ProgramFilesDir whose default should be C:\Program Files

3. Change this to whatever directory you wish. I changed it to D:\Program Files for example.