Change Default Program Install Directory

How to change the default install directory for computers with several HDDs.

I recently bought a new, fine computer. It came packed with 3 HDDs. C:/ for storing core files, only contained about 100mb storage. Then the D:/ and E:/ which held about 900mb together. Now, when installing a new program, it was set to default as “C:/Program Files”. Installing there would soon run out of memory.

Note: said to work with XP, verified to work under Vista.

So, to change this do following:

1) Open “run” and typ “regedit”.

2) Navigate to: HKEY_LOCAL_MACHINE –> SOFTWARE –> Microsoft –> Windows –> CurrentVersion (select this one, not expand).

3) Find “ProgramFilesDir” and change the value to what you want. First my was “C:/Program Files”, then I changed it to “D:/Program”.

Note: You might have to change the “ProgramFilesPath” too.

Known problems: When opening certain files, it might say “can’t find D:/Program/Something.dll” or simular. This is because the path is D:/, but the file lies in C:/.

Fix: Move or copy the files from C:/ to D:/.

Leave Your Response