Home » Tips & Tricks: PC

Change The Default Installation Directory

Posted By: BioTecK on Tuesday 5 February 2008 with 3 Comments

As the size of hard drives increase, more people are using partitions to separate and store groups of files. XP uses the C:\Program Files directory as the default base directory into which new programs are installed. However, you can change the default installation drive and / or directory by using a registry hack.

  1. Start
  2. Run
  3. Type regedit
  4. Go to this directory:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

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

And that’s it! :wink: I recommend this after when you’ve formated your Windows, this way you have a clean and fresh install and you’re sure that there wouldn’t be any trouble with previously installed applications.


3 Comments so far, be the next one! »

  • nicoleb said:

    Cool – Thanks – I always am working around and around to get stuff to the right spot :D

  • Keshav Khera said:

    Great tip! Thanks :wink:

    Keshav Khera’s last blog post..Mashup Blogging With Photos, Files And Videos

  • BioTecK said:

    2 Nicole: I hope that this was a very good help to you! :wink:

    2 Keshav Khera: Thnx for your comment and welcome on my blog! I hope it was a good help to you too!! :wink: