The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Changing Vista 64-bit default program installation directory

    Discussion in 'Windows OS and Software' started by Jakamo5, Sep 30, 2008.

  1. Jakamo5

    Jakamo5 Tetra Vaal

    Reputations:
    635
    Messages:
    1,456
    Likes Received:
    105
    Trophy Points:
    81
    Ok, I've looked at two other threads on this forum, and they aren't worth bumping up because they give bad info.

    Recently set my laptop to a raid array with 2 volumes, and reinstalled, I have my OS on one volume (C: ), and I want everything else to go on the other (D: ). So I made a D:\Program Files and D:\Program Files (x86) because I know vista likes to separate 32-bit and 64-bit stuff, and I want these folders to be the default installation directories.

    Vista 64-bit has two registries (one for 64 bit, and one for 32 bit), and two registry editors to go with them. There is one regedit.exe in c:\windows and one in c:\windows\syswow64. Both have a hkey_local_machine>software>microsoft>windows>current version which has two keys ProgramFilesDir and ProgramFilesDir (x86). If I simply modify their values to start with D: instead of C:, it does change the default installation directory.

    Here's the problem, if I do that... a lot of programs/executables stop working, including regedit. Even when I locate regedit.exe and double click it, windows will give me an error saying it could not be found. Same thing with msconfig, services, and a bunch of others including everthing that I download, and including things that are on the D drive. So then I have to boot in safe mode to get back into regedit and undo the changes.

    As you can see, modifying those keys is out of the question, so does anyone have alternatives to change the default installation directory in Vista 64 bit? I tried working with Environmental Variables but could not figure that out.
     
  2. Shyster1

    Shyster1 Notebook Nobel Laureate

    Reputations:
    6,926
    Messages:
    8,178
    Likes Received:
    0
    Trophy Points:
    205
    You probably have to add the new filepaths to your %PATH environmental variable as well - I believe that's kept in another part of the registry, but it should also be editable from the system properties submenus.