[Samba] Samba Windows 7 and logon scripts
tony.molloy at ul.ie
Thu Sep 9 04:04:42 MDT 2010
I'm trying to get Windows 7 to run a logon script which mounts a share at
login. This works fine for Windows XP
In my smb.conf I have the following
logon script = %G.cmd
logon path = \\%L\profiles\%U
logon drive = H:
logon home = \\YOUNGMUNSTER\homes
The script is
@echo Setting System Policies: Please Wait.
NET TIME \\janus /SET /YES > X
net use M: \\youngmunster\ug2010 /persistent:no > X
The homes share works fine but the logon script does not seem to be executed.
Any ideas how to get this working.
More information about the samba