Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: darmasanthi on March 19, 2010, 04:18:23 AM

Title: Z:\My Documents
Post by: darmasanthi 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
Title: Re: Z:\My Documents
Post by: janet 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.
Title: Re: Z:\My Documents
Post by: darmasanthi 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
Title: Re: Z:\My Documents
Post by: janet 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.
Title: Re: Z:\My Documents
Post by: Stefano 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)
Title: Re: Z:\My Documents
Post by: daniel 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.
Title: Re: Z:\My Documents
Post by: darmasanthi 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
Title: Re: Z:\My Documents
Post by: darmasanthi 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.
Title: Re: Z:\My Documents
Post by: daniel 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 (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.
Title: Re: Z:\My Documents
Post by: axessit 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.

Title: Re: Z:\My Documents
Post by: Stefano 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
Title: Re: Z:\My Documents
Post by: tropicalview 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,