I want to change the default install location for all apps from:

C:\Program Files


D:\Program Files

I found a couple of articles that say to edit the registry here:


They say to edit both:

  • ProgramFilesDir
  • ProgramFilesDir (x86)

However, when I do this, I now have a serious problem. When I try to OPEN an EXISTING app that was installed on the C drive, it tries to find it on the D drive, and of course it can't.

Is there a way to change ONLY the default install location? Or do I have to try and remember every time I install something to change it?

  • Why can't you simply move the files from the original location (other than WindowsApps) since that is performed within Store/Settings
    – Ramhound
    May 13 at 18:38
  • @Ramhound, this only works for certain apps. May 13 at 18:40
  • You can change the location, but lots of people who do this have long term problems with their computer - I always recommend against doing this.
    – John
    May 13 at 18:42
  • Are we talking about desktop Win32 applications or UWP applications? UWP applications should be uninstalled/installed to the new location. You should be able to just move the installation folder for Win32 applications yourself.
    – Ramhound
    May 13 at 18:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.