A few words of thanks would be greatly appreciated.

Change the Default Installation Folder (C: \ Program Files)

Once software programs are installed they go by default to C: Program files on the computer. This can however be changed by choosing another partition . This article will show you how to change the default installation folder.

How to Change the Default Installation Folder

To change the default installation folder, the data must be modified in the ProgramFilesDir key and a new path must be chosen for the installation folder. This process is possible on the Windows operating system. First, from the start menu, run has to be selected and it should be followed by the keying of the regedit. Then, with the help of Run Keys included in the Windows registry, the default settings of the C: Program files can be changed.

Most software will be installed in C: Program Files by default. You can change this so that programs are installed on a different partition if you wish.

Necessary Steps

  • For users running Windows Vista, select "Run" from the Start menu.
  • Type regedit and click OK.
  • Scroll to the key: HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion
  • On the right window, double click on the key ProgramFilesDir and modify it to include the new path for the installation folder.
    • For example, D: Program Files would install files on the D partition instead.

Photo: Unsplash

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.


This document, titled « Change the Default Installation Folder (C: \ Program Files) », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).