Question : Change Shared Documents location

Hmmm.... I tried TweakUI (logged in as Administrator and changed the Location to the D: drive and hit Apply) - logged out, went back into TweakUI - and it still shows the location on the C: drive...

Tried right clicking on the folder and "moving" it to the D: drive - XP won't let me do it.

How can I change the Shared Documents (and subfolders) location to the D: drive?

Answer : Change Shared Documents location

Hi Sam

The difference between Users Shell Folders and Shell Folders is that User Shell Folders usually contains variables and is evaluated when the string value is actually used whereas shell folders are hard coded.  You will notice that Shell Folders is a string REG_SZ and User Shell Folders are Expanded Strings REG_EXPAND_SZ.
e.g.
Shell Folders=C:\Documents and Settings\Username\My Documents\My Music
User Shell Folders=%USERNAME%\My Documents\My Music

Now regarding the issue with the All Users; My Music; My Pictures etc..  Here is what I'd do,

1.  Copy C:\Documents and Settings\All Users\Documents to D:\Documents and Settings\All Users\Documents
2.  Click Start
3.  Click Run
4.  Type: Regedit
5.  Click OK
Note: It's best that you do the registry changes in this order.
6.  Now navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
7.  make changes to Common Documents=D:\Documents and Settings\All Users\Documents
8.  My Music; My Pictures and My Video aren't required under User Shell Folders

9.  Now navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
10. make changes to Common Documents=D:\Documents and Settings\All Users\Documents
11. make changes to CommonMusic=D:\Documents and Settings\All Users\Documents\My Music
13. make changes to CommonPictures=D:\Documents and Settings\All Users\Documents\My Pictures
14. make changes to CommonVideo=D:\Documents and Settings\All Users\Documents\My Video
15. Exit Regedit
16. Reboot

Now your Shared folder is redirected to D:\Documents and Settings\All Users\Documents

Cheers
Random Solutions  
 
programming4us programming4us