Koozali.org: home of the SME Server

Z:\My Documents

Offline darmasanthi

  • ****
  • 139
  • +0/-0
Z:\My Documents
« on: March 19, 2010, 04:18:23 AM »
Hi,
Is there any way to point the windows "My Documents" to Z:\My Documents?

Manually we can change the path to Z:, but we need each time we created a new user,
it will be automatically path "My Documents" to Z: ... How To ... ?

regards,
darmasanthi

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Z:\My Documents
« Reply #1 on: March 19, 2010, 06:24:15 AM »
darmasanthi

This is a Windows issue.
You need to create a User profile that has all the standard user settings you require, and then copy that to the Default User profile on the workstation ie for Win XP.
It is done differently for Win Vista onwards, so get on to Google and read up about it.
I seem to recall there may have been some posts about it on these forums.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline darmasanthi

  • ****
  • 139
  • +0/-0
Re: Z:\My Documents
« Reply #2 on: March 19, 2010, 07:22:27 AM »
Hi Mary,
Thank you for your suggestion,
but that way is when the user already login to the workstation and already have a profile. it's done with this way.
We need is - how to make Z:\My Documents since the first time the user login to the workstation. I think is not on windows side

rgds,
darmasanthi

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Z:\My Documents
« Reply #3 on: March 19, 2010, 07:49:11 AM »
darmasanthi

Quote
...that way is when the user already login to the workstation and already have a profile. it's done with this way.

Your statement is not correct.

What I am saying, is that you need to create a Default User profile on all workstations BEFORE anyone ever logs in. That way, the very first time a new user logs in to a workstation, they get a profile based on the Default User profile which has the standard settings in it eg the required My Documents path.

Please read up on Windows Default User profiles.


For any existing user profiles, the only way is to edit the existing profile and change the My Documents path.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Z:\My Documents
« Reply #4 on: March 19, 2010, 08:28:37 AM »
Quote
We need is - how to make Z:\My Documents since the first time the user login to the workstation. I think is not on windows side
sorry but you are wrong and this topic is OT in this forum

this is a windows' issue.. search poledit here and with google (assuming you don't have vista/w7 clients)

Offline daniel

  • ****
  • 146
  • +0/-0
  • Platinum Sponsor
    • http://www.charton-mgmt.com
Re: Z:\My Documents
« Reply #5 on: March 19, 2010, 01:12:36 PM »
I thought this was simple the way I did things.  On each user once they are logged into WinXP, I right clicked on the my documents Icon on their desktop and selected properties.  In the Target Tab, I clicked Move.  Gave it the home directory drive set by the netlogon.bat ( I also have smeserver-logonscript installed).  This moved all links to my documents to the new location. 

The only downside to this is if roaming profiles are turned on SME server.  THis would then copy all the My Documents data from the SME network drive to the SME Samba User Profile storage.  If you don't have roaming profiles turned on then Moving My Documents via the windows Target Button works well.

Offline darmasanthi

  • ****
  • 139
  • +0/-0
Re: Z:\My Documents
« Reply #6 on: March 21, 2010, 03:01:05 AM »
I thought this was simple the way I did things.  On each user once they are logged into WinXP, I right clicked on the my documents Icon on their desktop and selected properties.  In the Target Tab, I clicked Move.  Gave it the home directory drive set by the netlogon.bat ( I also have smeserver-logonscript installed).  This moved all links to my documents to the new location. 

The only downside to this is if roaming profiles are turned on SME server.  THis would then copy all the My Documents data from the SME network drive to the SME Samba User Profile storage.  If you don't have roaming profiles turned on then Moving My Documents via the windows Target Button works well.

Hi Daniel,
could you please give me some script for the netlogon.bat and smeserver-logonscript
rgds,
darmasanthi

Offline darmasanthi

  • ****
  • 139
  • +0/-0
Re: Z:\My Documents
« Reply #7 on: March 21, 2010, 03:02:43 AM »
I thought this was simple the way I did things.  On each user once they are logged into WinXP, I right clicked on the my documents Icon on their desktop and selected properties.  In the Target Tab, I clicked Move.  Gave it the home directory drive set by the netlogon.bat ( I also have smeserver-logonscript installed).  This moved all links to my documents to the new location. 

The only downside to this is if roaming profiles are turned on SME server.  THis would then copy all the My Documents data from the SME network drive to the SME Samba User Profile storage.  If you don't have roaming profiles turned on then Moving My Documents via the windows Target Button works well.

Offline daniel

  • ****
  • 146
  • +0/-0
  • Platinum Sponsor
    • http://www.charton-mgmt.com
Re: Z:\My Documents
« Reply #8 on: March 23, 2010, 01:59:12 AM »
Moving the My Documents is not done by a script or the netlogon.bat.  I do this manually the first time the user is logged in on the SME Domain controller.  I also noticed there is a newer contrib for logonscripts that can be found here.

http://wiki.contribs.org/Smeserver-tw-logonscript
 

I have not tried this one, so I don't know its level of success. 

The contrib I installed was smeserver-loginscript.noarch but I can't find it in any of the repos right now.

Offline axessit

  • *****
  • 213
  • +0/-0
Re: Z:\My Documents
« Reply #9 on: March 23, 2010, 11:44:06 PM »
OK, so this is a Windoze issue. Log onto workstation as local administrator (and if you don't know how to do this then do it the manual way as said before for each user)

[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
 
Change the Personal and Pictures keys to Z:\My Documents as appropriate. This is what M$ call folder redirection and is done through active directory system policies. It makes for faster logons to as you don't actually try and drag everyone's documents over the network every time they log on, especially if they keep loads of photos and music in there. you can also use the SME quotas to limit it.


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Z:\My Documents
« Reply #10 on: March 24, 2010, 12:35:25 AM »
you can also achieve it automagically with poledit (if you are not using vista or 7) even since the first login
« Last Edit: March 24, 2010, 12:38:10 AM by Stefano »

Offline tropicalview

  • *****
  • 196
  • +0/-0
    • http://www.tropicalview.net
Re: Z:\My Documents
« Reply #11 on: June 19, 2011, 06:34:53 PM »
Hi axessit

I have tried your proposed solution but without success.

did you got it working by only editing HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders??

Kind regards,
The sky is not the limit, But when I reach the sky, for sure I will not try to go to the limit.... (donated $25,- upto now)