german@tybsa.com
2008-Jan-14 14:29 UTC
[Samba] Folder redirection without roaming profiles
Hi, i'm new in the mailing list :)... I have a little question... Is there any way to enable folder redirection for some folders like My Docs, or Desktop without using roaming profiles? That's all :P Thanks
german@tybsa.com a ?crit :> Hi, i'm new in the mailing list :)... > > I have a little question... > > Is there any way to enable folder redirection for some folders like My > Docs, or Desktop without using roaming profiles?You can just update you registry key during netlogon. Here are some of the relevant registry key : [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] "Personal"="U:" "My Pictures"="U:" "My Music"="U:" "My Video"="U:" By the way, roaming profiles do not redirect My docs/Desktop folders, but just sync them back to the server on logout. Cheers, Denis> > That's all :P > > Thanks >-- Denis Cardon Tranquil IT Systems 44 bvd des pas enchant?s 44230 Saint S?bastien sur Loire tel : +33 (0) 2.40.97.62.67 http://www.tranquil-it-systems.fr
set a group policy to redirect it and put it in the netlogon share, or go to each user and right click on my documents and redirect it to wherever you want. german@tybsa.com wrote:> Hi, i'm new in the mailing list :)... > > I have a little question... > > Is there any way to enable folder redirection for some folders like My > Docs, or Desktop without using roaming profiles? > > That's all :P > > Thanks > >
german@tybsa.com wrote:>> set a group policy to redirect it and put it in the netlogon share, or >> go to each user and right click on my documents and redirect it to >> wherever you want. >> >> > > Great idea, it's just what a windows administrator does in this cases... > > But... How do i do that in samba? > > >download windows 2000 SP4 file from microsoft.com, then extract it by running it in a dos window with the /x flag, in the i386 directory is adminpak.msi. run that, let it install, then you can run poledit, create a new policy, load common.adm, wuau.adm, and there's one other that escapes me at the moment, just search your PC for .adm files, and load them all. and you can get .adm files for Vista at http://www.pcc-services.com/custom_poledit.html anyway, select the options you want, one of the selections with the default templates adminpak.msi installs allows you to redirect folders. I think the My Documents folder is labeled Personal. Just redirect it to \\server\homes or z:\username, etc, whatever you have their home directory mounted as. then save the policy as NTConfig.POL and drop it into the directory that is your [netlogon] share, the 2000/XP/Vista check there automatically on log on for that file and load whatever is in it. The next time they log in the redirection will happen and it won't move their stuff from their my documents to the new location, so for each user you will have to go to their PC or VNC in (you have VNC installed on all your PCs right?) and go to c:\documents and settings\user\my documents and drag and drop it to their my documents folder. and you will probably want to go in as administrator on their PCs and turn off synchronization and offline files, or each time they log out, XP will put a copy of their my documents in the offline files folder which will cause them to still take a long time to log out if they have several hundred megs to gigabytes of stuff in their my documents folder.