Discussion Locked

User accounts on 2 hard drives?

0 helpful
15 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a HP Pavilion with three 160GB hard drives and XP Home. The C:-drive is getting pretty stuffed due to that the "Shared Document"-folder (C:\Documents and Settings\All Users\Documents) is containing lots and lots of music and pictures. But there is about 140GB available on my D:-drive.

Now I could move the "Shared Document"-folder to the D:-drive but I expect that in order to maintain the function of i.e. the "Shared Document"-folder I see when opening "My Computer" I would need to change one or two search paths in the registry?

Is there any bright soul who could give me some direction on how to do this?

15 replies

by cg it

you can move or change the target folder in My Documents properties. Once you move the folder to a new drive or volume change it to :\My Documents

by cg it

click start. in the start menu you'll see My Documents. Right click and choose properties. Click Move and select the destination.

by deakb

Yes that works for the "My Document" folder (C:\Documents and Settings\"my user name"\Documents). But there is no eqivalent "move"-button for the "Shared Documents"-folder (C:\Documents and Settings\All Users\Documents)?

I should have noted in the original question that there are 4 user accounts on my PC. And it's the common shared folder I want to move to another drive, not the individual accounts. Any other ideas?

by hal 9000

You should be able to do exactly the same with the Shared Files Folder all you need to do is right click on it go to Proprieties and change the destination from C;\whatever\Shared Folder to just D:\Shared Folder and it will move the entire folder across to the D Drive and still maintain the links so that users still have access to their files.

Col

by deakb

There doesn't seem to be any button as direct as the "Move.." button when I RMB and select properities on the "My Documents"-icon that is located on my desktop. As a matter a fact I can't seem to be able to change the "Shared documents"-folder path when I select properties (Yes, I'm logged in on a Admin account)at all?!

Obviuosly I should be able to do this since every lagre coporation can have hundreds of users where the userhome is on a server rather than the local machine. But what/where to change?

by p.j.hutchison

Is the My Documents folder on the desktop shown with or without an arrow at the bottom left.
If it has an arrow, then you have the wrong icon, to enable the correct icon, select Display Properties, Desktop tab, click on Customize Icon and enable My Documents to appear. Then you should be able to Move the folder as explained earlier.

by deakb

It's the right icon (w/o an arrow) but the key is that it's not the "My Document" I want to move. It's the "Shared Document"-folder (path is C:\Documents and Settings\All Users\Documents). Not the "C:\Documents and Settings\"My User"\Documents". And that's very the trouble starts.

The "Shared Documents" (or "All User"-documents)-folder doesn't have a "move" button in the Properties / Target-tab dialog. The Shared documents doesn't have a target tab at all in the Properties dialog.

And appologies for my typo in the comment on HAL 9000's reply. Quote "when I RMB and select properities on the "My Documents"-icon" should read "when I RMB and select properities on the "Shared Documents"-icon" Sorry....

Any other ideas out there? I still lean towards that there is a registry hack that is needed to sort this but where in the registry?

by p.j.hutchison

If you want to move Shared Folders, then the following registry changes need to changed:

a) Folder location: HKLM\Software\Microsoft\Windows \CurrentVersion\Explorer\Shell Folders and change entry for 'Common Documents'

b) HKLM\System\Services\lanmanserver\Shares and change Path location for SharedDocs.

Hope this helps

by deakb

Sorry about the late rating I'm repainting the house so it's been few hours on the computer. I found the same issues as matra1982 answered below. But doing so I recalled a blog- post on Sysinternal on elevating user privilege. There was something in there about parts of the registry beeing protected and changed back automatically or similar. I'll see if I can find it again.

by mantra1982

I'm a new user and wanted to post a comment on this subject but couldn't figure out how to do so other than using the 'Answer' button, so here goes.

I've been searching for an answer to DEAKB's question for ages and was enthused to have found your p.j.hutchinson's reply, which seemed very plausible; however, it turns out that Windows automatically resets the 'Common Documents' registry key in HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders at reboot, so despite changing the drive location, it's stuck at C:\.

Thanks for the help!

by deakb

Well obviously I cant rate your answer since it's a comment(?!) but I found the same issues as you. And I'm happy to hear more than me looking for this.

And there is no comment functionality on the T?ch Q&A (be nice if there was though). I'll see if I can find that blog-post I mentioned above. It'd be nice to know why it returns to the old path for the shared documents.

by p.j.hutchison

Here's another possible answer (courtsey of K.Miller MVP):
Open Registry Editor (Regedit.exe) and navigate to:
[HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]

In the right-pane, double-click "Common Documents". The default value is:

"%ALLUSERSPROFILE%\Documents".

Change the value to the redirected folder, say 'D:\SharedDocs'

To redirect the Shared Music, Shared Pictures and Shared Video folder along with Shared Documents, try this:

[HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]

In the right-pane:
- Create a REG SZ named CommonMusic and set it's path
- Create a REG SZ named CommonPictures and set it's path
- Create a REG SZ named CommonVideo and set it's path

No space in between these words (CommonVideo, CommonMusic, CommonVideo).
One space in between (Common Documents)

Logoff and login back. See that the Shared folders are now redirected successfully.

by deakb

Thanks p.j.h. Sorry about the lagtime for my rating but summers here and theres more to life than computers (even if they make a good runner-up for my private top-10-things-I'd-like-to-do-during-summertime. But as you may noticed thecomputer didn't make it yet.)

This discussion is closed to new replies.