Changing Program Files Directory

Discussion in 'Windows Desktop Systems' started by a1ehouse, Jun 29, 2002.

  1. a1ehouse

    a1ehouse Chamone M*tha Fu*ka

    Messages:
    288
    After a fresh install of XP, I change my Program and Common Files directories to another partition. Normally you have to go through and find about 4 different places. So I've made a reg file. Thought you may find it of some use as well!


    Copy between the lines, paste into notepad, save as Change_ProgFiles_Dir.reg (save sa type all files) and double click it! Simple

    -------------------------Copy below--------------------------------------
    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
    "ProgramFilesDir"="D:\\Program Files"
    "CommonFilesDir"="D:\\Program Files\\Common Files"

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\SFC]
    "ProgramFilesDir"="D:\\Program Files"
    "CommonFilesDir"="D:\\Program Files\\Common Files"

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Session Manager\SFC]
    "ProgramFilesDir"="D:\\Program Files"
    "CommonFilesDir"="D:\\Program Files\\Common Files"

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SFC]
    "ProgramFilesDir"="D:\\Program Files"
    "CommonFilesDir"="D:\\Program Files\\Common Files"
    ----------------------------------End Copy------------------------------------
     
  2. Cosmin

    Cosmin Graphic Designer

    Messages:
    1,633
    Location:
    Romania
    Good job !
     
  3. dpr

    dpr NTFS Junkie

    Messages:
    147
    is there a beifit to installing the programs on a different hard drive than windows? (speed ect)
     
  4. a1ehouse

    a1ehouse Chamone M*tha Fu*ka

    Messages:
    288
    Benefits I've found:
    Not having to install all your proggies after a re-install (only biggies like M$ Office) Trial and error really, but a lot don't need reinstalling.
    Quicker defrag times for OS partition and prog files dir.


    Just found this aswell:

    If you use the unattended install option, you can add this to the [Unattended] section:
    ProgramFilesDir=D:
    CommonProgramFilesDir=D:\Common

    Cool huh!?!

    You can also change the Documents and Settings folder under the [GuiUnattended] section:
    ProfilesDir=E:


    Check out
    here for further details!