How to change the default location for installing applications in Windows
Posted on May 27, 2008 at 5:31 am
If you’re like me, you like to keep your computer running smooth and hassle-free. One way to do this is to install applications on a drive other than the drive where Windows is installed. So by default, most computers will have Windows installed on the C partition and most programs will be installed in C:\Program Files.
Of course, whenever you install an application, there are some system files that have to be installed into Windows directories on your C drive, but it still can take a major load off your Windows partition if you’re running very data intensive applications like Photoshop, video editing software, etc.
If you have a desktop computer, it might actually be much better because you could pop in a secondary drive that is much faster than the original drive. Also, you might be asking yourself “Well why would I change the path in the registry when I can choose the path I want to install to during the program setup?”
Good question! Well, for two reasons: some programs don’t give you an option of where to install the app to and sometimes you might just forget to change it manually.
How to change default install path for applications in Windows
You can do this by making a quick change to the registry. Firstly, you’re going to want to make a backup of your registry before making any changes. You can back it up by opening the registry editor and choosing File and then Export.
To get into the registry, click on Start, then click on Run and type in regedit. In Windows Vista, just type in regedit into the instant search box and press Enter. Now navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
Now look for a key in the right pane called ProgramFilesDir. You should see that the value is C:\Program Files.
Now you can simply double-click on the value and edit it to whatever you like, i.e. “D:\My Apps\”. Whenever you install a new program, Windows will use the new location as the default installation directory. Nifty! Source: TechBold
[tags]change default installation directory, windows install path, change default install path[/tags]
» Filed Under Computer Tips
Related Posts
- How to create custom Run commands in Windows
- Change the location of the My Pictures folder
- Add Wikipedia, Google to Vista start menu instant search
- Change View Source Code editor in IE
- How to edit the right click menu in Windows























I also used to think like that, it is better to install applications some where else other than the os drive…as it may increase the system speed and decrease the space on the os drive.
as far as space saving is considered its good…but if we are installing apps somewhere else for the sake of system speed i would say it is nothing but illusion.
Let me know if you want to discuss abt this…
Abhishek – Can you clarify why you think installing applications on a different drive other than the OS is not good? I know that most programs will still put files on the system partition anyway, but if a majority are moved to a secondary hard disk, it could help with the speed of the computer.
I agree that if both partitions are on the same physical hard drive, it may not make a difference, but definitely if you have a second hard drive in your computer, the OS running on one and the programs running on another will increase system performance.
I’m guessing this: [By default] The more programs you install, the more the files on the partition where the OS is present in. This causes ‘fragmentation’ and should eventually slow down your PC.
Changing the Program Files location to some other location might keep the primary partition much less fragmented, and this could aid in a speed boost.
Right?
I’m planning to implement this when I do a Windows reinstall/install it on a new computer.
Thanks for the tip, Aseem
when we take backup all installed programs are also added in the backup if i use this method?
useful tip!
na instalação do vista business é possivel eu mudar o diretório de DADOS onde o padrão é no C:\Users para outra partição , por Exemplo: D: ? ou seja eu gostaria que os aplicativos ficassem no C: e os dados no D:
é possivel.
I want to change the default drive for my user files in Windows Vista. Can you tell me how to do that?
I too used to do the same; edit the registry and change the Program Files directory. In XP it worked fine, BUT in Vista:
> Some programs are not working including the default picture viewer is NOT working after changing the Program Files location.
> IE, Media Player etc. are working fine. (The icons will not appear, but once you run it the icons will be restored.)
Is there anyway to change the Program Files location without troubling the Windows Vista default programs?
–
there is one good reason to install the apps to the other partition using this scheme. it saves a big amount of ghost backup size
I used to follow this scheme back in the days of win98 and very small HDDs and honestly I didn’t see any increase of speed.
Since computer’s hardware got Harder/Better/Faster/ Stronger since XP came along I can’t really see a good reason to do this. Now I have a quad processor with 8GB of ram, 10k rpm drives and I’m a happy camper
Thank you for the computer tips, computer guy!
If I install my applications to another hard drive, will that allow me to format my main system partition and install a fresh OS without having to reinstall all my programs? Aren’t some program setting stored in the registry? Thanks.
thanks for the article…it really helped me out with my Windows machine
thanx for sharing a nice tip….
If two drives are running at the same time, one drive for OS the other drive for a program seems to me most everything would be faster.
My brain is capable of thinking of two thoughts at once which allows my left hand to write the top paragraph on the whiteboard while my right hand writes this bottom paragraph. That is faster than writing with one hand.
I know the bottom paragraph has more letters.
That is because my right hand can write faster.
Maybe my right hand is connected to a faster brain processor.
Then again, maybe I will stop
by saying thank you for the information.