• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Changing Program Files Directory

a1ehouse

Chamone M*tha Fu*ka
#1
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------------------------------------
 

a1ehouse

Chamone M*tha Fu*ka
#4
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!
 

Members online

No members online now.

Latest posts

Latest profile posts

Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,015
Latest member
evaiwhitis