How to change the default location where new programs are installed

This item was filled under [ Productivity Tips, Tips & Tricks, Windows XP ]

By default Windows XP uses the C:\Program Files directory as the base directory into which new programs are installed. But there might be times when you want a new program to be installed in another directory or may be another drive, instead of the default location. Almost all programs allow you to choose where you want to install the program, at the time of installation.

But if you find yourself changing the installation location every time you install a new program, you might probably want to change the default location itself so that Windows automatically installs new programs in the drive/directory of your choice. You can do this with a simple Registry Hack.

programfile_change.jpg

Run the Registry Editor by going to Start > Run, type ‘regedit‘ and press Enter.

Navigate to the following location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Look for the value named ProgramFilesDir. By default,this value will be C:\Program Files. Edit the value to any valid drive or folder and Windows XP will use that new location as the default installation directory for new programs.

Share and Enjoy
  • Print this article!
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Furl
  • LinkedIn
  • Ma.gnolia
  • Netvouz
  • Reddit
  • StumbleUpon
  • MySpace
  • Technorati
  • TwitThis

If you're new here, you may want to subscribe to my RSS feed or get updates through email. Thanks for visiting!

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

4 Comments on “How to change the default location where new programs are installed”

  • Tine Müller
    27 April, 2008, 11:52

    This tip is functioning great BUT now when I try to open the programs which is installed under C it doesn’t work and I only get to the folder where the program is installed. The programs which is installed under F is functioning great.

    What can I do or do I need to change it back again?

  • 27 April, 2008, 12:11

    @Tine Muller: I am surprised that you are not able to open programs installed in C, because all this method does is change the default path. It is kind of similar to changing the destination manually while installing an application. Are you sure that the problem you are facing is caused by applying the above registry change?

  • Tine Müller
    27 April, 2008, 12:31

    Is was not all the programs under C that didn’t functioning so maybe it has been something else. But I changed it back to C and now the programs that I had problems with before is functioning. Strange.

  • Mickeyj4j
    11 July, 2008, 6:38

    Works fine i think Will test it next time I install something and see but thanks for the help.

Leave a Comment