XP: Change Default Installation Directory

Contributor Icon Contributed by AlexTheBeast Date Icon November 30, 2003  
Tag Icon Tagged: Windows

This recipe will change the default location that windows installs programs.


I have always been a two hard drive kinda guy. I like to keep my main drive running mean and lean with mainly just the OS running. On my second drive I like to install the majority of my programs. However, windows always wants to install programs to “c:\program files” and changing it everytime can be a pain.

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

Remember you have to reboot for your changes to show.

Previous recipe | Next recipe |
 

Viewing 19 Comments

 
close Reblog this comment
blog comments powered by Disqus