how to move the program files directory

Z

zerostealth

Guest
#1
How can I change the program files directory, so that by default it would install programs on another drive? i would really appreciate your help..
 
D

Dirk Diggler

Guest
#2
This is best done on a newly installed O.S.
Open up the Registry by clicking "Start", "Run" and typing Regedit and clicking "OK".
Make sure HKEY_LOCAL_MACHINE is highlighted and click "Edit" on the toolbar then click "Find".
In the box that pops up type
ProgramFilesDir
Regedit will find it, so double-click the word and type in the box the new address you would like.
Above ProgramFilesDir is another word called
CommonFilesDir
double-click this word and type in the same address as you did for ProgramFilesDir, but include "Common Files" at the end.

Continue searching for ProgramFilesDir, there should be at least 4 of them. Change all of them and all of the CommonFilesDir then re-boot and all newly installed programmes will default to that new location.
You will of course still be offered an alternative.
Any programmes you installed prior to this change may need to be re-configured.
 
Z

zerostealth

Guest
#3
Thank you very much.. i really appreciate your help. I was looking in the registry for Program File Dir, and not the thing written together :) thx again.
 
R

roberto

Guest
#5
Tweak UI

Yeah your right, you need PowerToysXP, when you open TweakUI
select Special Folders and from the drop down select Installation path, from there just browse to the different location and OK!

I think this is right, as i'm doing it from memory at the mo.

good luck;)
 
S

stuy_b

Guest
#6
does that work for My documents folder & profiles.. I'd really like to move the doc&settings folder with the profiles etc to another drive.
 
M

mcdruid

Guest
#7
If you just want to move the My Documents folder you can right click on it (either on your desktop if you have it showing there, or on the XP Start Menu), and choose Properties. There's an option to move the target folder - to another drive if you want.

Not so sure about the Documents and Settings folder with profiles in it though.
 

madmatt

Bow Down to the King
Political User
#8
After viewing the settings you are able to change for folder locations using Tweak-XP and Tweak UI I do not think it is possible to move the location of the entire "Documents and Settings" folder. I think to do this you would have to edit a lot more than one value/key and it is probably not worth your time. Good luck.
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
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,971
Messages
673,300
Members
89,016
Latest member
Poseeut