If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Changing USERPROFILE and ALLUSERSPROFILE
I would like to move my user folders off the system partition. One
way to do this would be to move them and then use JUNCTION to create symbolic links to their new location from their old location in "C: \Documents and Settings". However ... XP has two environment variables USERPROFILE and ALLUSERSPROFILE, which are what all the special folders hang off from. What I can not find is where/how USERPROFILE and/or ALLUSERSPROFILE are ever set. If I could change them from "C:\Documents and Settings\..." to "E:\Users\..." it should take care of everything, shouldn't it? But where do these environment variables get their value pointing to "C:\Documents and Settings" ??? |
Ads |
#2
|
|||
|
|||
Changing USERPROFILE and ALLUSERSPROFILE
From: "rmhartman"
I would like to move my user folders off the system partition. One way to do this would be to move them and then use JUNCTION to create symbolic links to their new location from their old location in "C: \Documents and Settings". However ... XP has two environment variables USERPROFILE and ALLUSERSPROFILE, which are what all the special folders hang off from. What I can not find is where/how USERPROFILE and/or ALLUSERSPROFILE are ever set. If I could change them from "C:\Documents and Settings\..." to "E:\Users\..." it should take care of everything, shouldn't it? But where do these environment variables get their value pointing to "C:\Documents and Settings" ??? They are stored in.. HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Shell Folders -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp |
#3
|
|||
|
|||
Changing USERPROFILE and ALLUSERSPROFILE
Not quite. What is there is the explicit path to each special folder,
e.g. "AppData=C:\documents and settings\hartman\AppData". The "c: \Documents and Settings\hartman" part of that is _from_ the environment variable USERPROFILE. In HKCU\Software\Microsoft\Windows \CurrentVersion\Explorer\Shell Folders, there is a setting where the value is "AppData=%USERPROFILE%\AppData" that gets expanded out and then stored in the HKCU\...\Shell Folders key. I want to be able to alter the value in "USERPROFILE" and move the whole special folders root location. On Feb 25, 11:13*am, "David H. Lipman" wrote: From: "rmhartman" I would like to move my user folders off the system partition. *One way to do this would be to move them and then use JUNCTION to create symbolic links to their new location from their old location in "C: \Documents and Settings". *However ... XP has two environment variables USERPROFILE and ALLUSERSPROFILE, which are what all the special folders hang off from. *What I can not find is where/how USERPROFILE and/or ALLUSERSPROFILE are ever set. *If I could change them from "C:\Documents and Settings\..." to "E:\Users\..." it should take care of everything, shouldn't it? *But where do these environment variables get their value pointing to "C:\Documents and Settings" ??? They are stored in.. HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Shell Folders -- Dave Multi-AV Scanning Tool -http://multi-av.thespykiller.co.ukhttp://www.pctipp.ch/downloads/dl/35905.asp |
#4
|
|||
|
|||
Changing USERPROFILE and ALLUSERSPROFILE
Correction below.
On Feb 25, 12:07*pm, rmhartman wrote: Not quite. *What is there is the explicit path to each special folder, e.g. "AppData=C:\documents and settings\hartman\AppData". * *The "c: \Documents and Settings\hartman" part of that is _from_ the environment variable USERPROFILE. *In HKCU\Software\Microsoft\Windows \CurrentVersion\Explorer\Shell Folders, there is a setting where the Excuse me please. That should be "User Shell Folders" not just "Shell Folders" value is "AppData=%USERPROFILE%\AppData" that gets expanded out and then stored in the HKCU\...\Shell Folders key. I want to be able to alter the value in "USERPROFILE" and move the whole special folders root location. On Feb 25, 11:13*am, "David H. Lipman" wrote: From: "rmhartman" I would like to move my user folders off the system partition. *One way to do this would be to move them and then use JUNCTION to create symbolic links to their new location from their old location in "C: \Documents and Settings". *However ... XP has two environment variables USERPROFILE and ALLUSERSPROFILE, which are what all the special folders hang off from. *What I can not find is where/how USERPROFILE and/or ALLUSERSPROFILE are ever set. *If I could change them from "C:\Documents and Settings\..." to "E:\Users\..." it should take care of everything, shouldn't it? *But where do these environment variables get their value pointing to "C:\Documents and Settings" ??? They are stored in.. HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Shell Folders -- Dave Multi-AV Scanning Tool -http://multi-av.thespykiller.co.ukhttp://www.pctipp.ch/downloads/dl/3... |
#5
|
|||
|
|||
Changing USERPROFILE and ALLUSERSPROFILE
|
#6
|
|||
|
|||
Changing USERPROFILE and ALLUSERSPROFILE
On Sat, 25 Feb 2012 09:35:19 -0800 (PST), rmhartman
wrote: I would like to move my user folders off the system partition. One way to do this would be to move them and then use JUNCTION to create symbolic links to their new location from their old location in "C: \Documents and Settings". However ... XP has two environment variables USERPROFILE and ALLUSERSPROFILE, which are what all the special folders hang off from. What I can not find is where/how USERPROFILE and/or ALLUSERSPROFILE are ever set. If I could change them from "C:\Documents and Settings\..." to "E:\Users\..." it should take care of everything, shouldn't it? But where do these environment variables get their value pointing to "C:\Documents and Settings" ??? I DO NOT KNOW IF THIS WOULD WORK for USERPROFILE, but... Since at home I have a single-user WinXP desktop, I wanted "My Documents" on my D: drive (D: Apps). I know you can drag-drop a user "My Documents" to another drive, but that just makes links, and you end up with "Ed's Documents" and "Ed's Pictures" on the other drive (which I did NOT want). NOW: The question becomes would the drag-drop [Documents and Settings] work? If so what would happen? Need I say, backup your C: FIRST. NOTE: I did find a way to get "D:\My Documents" that does NOT use drag-drop. -- =========== Tecknomage =========== Computer Systems Specialist ComputerHelpForum.org Staff Member IT Technician San Diego, CA |
#7
|
|||
|
|||
Changing USERPROFILE and ALLUSERSPROFILE
rmhartman wrote in
m: I would like to move my user folders off the system partition. One way to do this would be to move them and then use JUNCTION to create symbolic links to their new location from their old location in "C: \Documents and Settings". However ... XP has two environment variables USERPROFILE and ALLUSERSPROFILE, which are what all the special folders hang off from. What I can not find is where/how USERPROFILE and/or ALLUSERSPROFILE are ever set. If I could change them from "C:\Documents and Settings\..." to "E:\Users\..." it should take care of everything, shouldn't it? But where do these environment variables get their value pointing to "C:\Documents and Settings" ??? I believe the procedure for accomplishing this for Windows XP is in the following Microsoft KB article: "An error message informs you that you cannot move or rename the Documents and Settings folder" http://support.microsoft.com/kb/314843 HTH, JW |
#8
|
|||
|
|||
Changing USERPROFILE and ALLUSERSPROFILE
On Feb 27, 6:00*am, Zaphod Beeblebrox
wrote: In article 03c08bcc-0b23-4a75-94c7-b64e2de92e33 @p13g2000yqd.googlegroups.com, says... On Feb 25, 11:13*am, "David H. Lipman" wrote: From: "rmhartman" I would like to move my user folders off the system partition. *One way to do this would be to move them and then use JUNCTION to create symbolic links to their new location from their old location in "C: \Documents and Settings". *However ... XP has two environment variables USERPROFILE and ALLUSERSPROFILE, which are what all the special folders hang off from. *What I can not find is where/how USERPROFILE and/or ALLUSERSPROFILE are ever set. *If I could change them from "C:\Documents and Settings\..." to "E:\Users\..." it should take care of everything, shouldn't it? *But where do these environment variables get their value pointing to "C:\Documents and Settings" ??? They are stored in.. HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Shell Folders Not quite. *What is there is the explicit path to each special folder, e.g. "AppData=C:\documents and settings\hartman\AppData". * *The "c: \Documents and Settings\hartman" part of that is _from_ the environment variable USERPROFILE. *In HKCU\Software\Microsoft\Windows \CurrentVersion\Explorer\Shell Folders, there is a setting where the value is "AppData=%USERPROFILE%\AppData" that gets expanded out and then stored in the HKCU\...\Shell Folders key. I want to be able to alter the value in "USERPROFILE" and move the whole special folders root location. A quick search of the registry shows that 'HKCU\Volitile Environment' contains a USERPROFILE key. *Given the name of the key, it wouldn't surprise me that any changes would be lost on reboot, but I suppose it is worth a shot. -- Zaphod The secret of flying is to hurl yourself to the ground, and miss. I will take a look. Although I wonder why my searches of the registry did not turn that one up ... I guess the question is whether this is the master, from which the rest depends or whether this is merely recording the results after startup. Thanks for the lead. |
#9
|
|||
|
|||
Changing USERPROFILE and ALLUSERSPROFILE
On Feb 27, 7:14*am, Tecknomage wrote:
On Sat, 25 Feb 2012 09:35:19 -0800 (PST), rmhartman wrote: I would like to move my user folders off the system partition. *One way to do this would be to move them and then use JUNCTION to create symbolic links to their new location from their old location in "C: \Documents and Settings". *However ... XP has two environment variables USERPROFILE and ALLUSERSPROFILE, which are what all the special folders hang off from. *What I can not find is where/how USERPROFILE and/or ALLUSERSPROFILE are ever set. *If I could change them from "C:\Documents and Settings\..." to "E:\Users\..." it should take care of everything, shouldn't it? *But where do these environment variables get their value pointing to "C:\Documents and Settings" ??? I DO NOT KNOW IF THIS WOULD WORK for USERPROFILE, but... Since at home I have a single-user WinXP desktop, I wanted "My Documents" on my D: drive (D: Apps). I know you can drag-drop a user "My Documents" to another drive, but that just makes links, and you end up with "Ed's Documents" and "Ed's Pictures" on the other drive (which I did NOT want). NOW: *The question becomes would the drag-drop [Documents and Settings] work? *If so what would happen? Need I say, backup your C: FIRST. NOTE: *I did find a way to get "D:\My Documents" that does NOT use drag-drop. -- =========== Tecknomage =========== * *Computer Systems Specialist ComputerHelpForum.org Staff Member * * * * * *IT Technician * * * * * *San Diego, CA If it were just "My Documents" there is a documented way to accomplish this. However, that is only a little bit of the user data. Much of it is stored under "c:\documents and settings\{username}\Application Data" and "c:\documents and settings\{username}\Local Settings". I want to move _all_ of the user data to another drive. |
#10
|
|||
|
|||
Changing USERPROFILE and ALLUSERSPROFILE
On Feb 27, 8:21*am, John Wunderlich wrote:
rmhartman wrote m: I would like to move my user folders off the system partition. One way to do this would be to move them and then use JUNCTION to create symbolic links to their new location from their old location in "C: \Documents and Settings". *However ... XP has two environment variables USERPROFILE and ALLUSERSPROFILE, which are what all the special folders hang off from. *What I can not find is where/how USERPROFILE and/or ALLUSERSPROFILE are ever set. *If I could change them from "C:\Documents and Settings\..." to "E:\Users\..." it should take care of everything, shouldn't it? But where do these environment variables get their value pointing to "C:\Documents and Settings" ??? I believe the procedure for accomplishing this for Windows XP is in the following Microsoft KB article: "An error message informs you that you cannot move or rename the Documents and Settings folder" * http://support.microsoft.com/kb/314843 HTH, * JW Ok, so you can only really do what I want during installation, you can't do it afterwards. Yes, they do give a procedure that includes changing all instances of "C:\Documents and Settings" in the registry but that approach is a little scary. Also ... what happens when you create the next new user? Will they end up in the old location or the new one? |
#12
|
|||
|
|||
Changing USERPROFILE and ALLUSERSPROFILE
In article 73c3ee4a-78ef-4984-967a-
, says... On Feb 27, 8:21*am, John Wunderlich wrote: rmhartman wrote m: I would like to move my user folders off the system partition. One way to do this would be to move them and then use JUNCTION to create symbolic links to their new location from their old location in "C: \Documents and Settings". *However ... XP has two environment variables USERPROFILE and ALLUSERSPROFILE, which are what all the special folders hang off from. *What I can not find is where/how USERPROFILE and/or ALLUSERSPROFILE are ever set. *If I could change them from "C:\Documents and Settings\..." to "E:\Users\..." it should take care of everything, shouldn't it? But where do these environment variables get their value pointing to "C:\Documents and Settings" ??? I believe the procedure for accomplishing this for Windows XP is in the following Microsoft KB article: "An error message informs you that you cannot move or rename the Documents and Settings folder" * http://support.microsoft.com/kb/314843 HTH, * JW Ok, so you can only really do what I want during installation, you can't do it afterwards. Yes, they do give a procedure that includes changing all instances of "C:\Documents and Settings" in the registry but that approach is a little scary. Also ... what happens when you create the next new user? Will they end up in the old location or the new one? If you load "c:\Documents and Settings\Default User\NTUser.Dat" into the registry editor and change all instances of "C:\Documents and Settings" then save it back out, all new users will get the new location as well. Hope this helps. -- Zaphod "The best Bang since the Big One" - Eccentrica Gallumbits |
Thread Tools | |
Display Modes | |
|
|