[Samba] With a PDC, is homes mapping automatic?

Nick Sharp nick.sharp at valex.com.au
Thu Apr 23 03:50:34 GMT 2009


I know its a little un samba ish, but we force this registry change via the
login scripts and its pretty useful - you might want to turn off Offline
Files in windows to sync all folders otherwise when any user logs off it
tries to sync all other users and this prompts for their password.

Logon.bat:
regedit /s \\<server_IP_or_name>\netlogon\user_shell_folder.reg

user_shell_folder.reg:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders]
"Personal"="h:\\"
"My Pictures"="h:\\My Pictures"
"My Music"="h:\\My Music"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders]
"Personal"="h:\\"
"My Pictures"="h:\\My Pictures"
"My Music"="h:\\My Music"

Assuming h: is the users mapped drive letter.

Nick




More information about the samba mailing list