I have spent a lot of time dealing with this, but I only briefly tried
using the settings in smb.conf to accomplish this drive mapping.
I have discovered that using group policy does work, but only if you're
mapping the drives in a GPO that is applied to users, not computers.
That is, the mappings work if you have all your users in some OU (mine
is called people) that has some GPO (People_GP) linked to it. In
People_GP, User Configuration->Preferences->Windows Settings->Drive Maps.
I had mistakenly thought that settings in the User Configuration section
of a GPO would apply to any user logging onto a machine which is part of
the OU the GPO is linked with. I wish that were the case, but
unfortunately it's not.
I also had logon scripts working in the same People_GP (User
Config->Administrative Templates->System->Logon). I never tried making
those machine-specific.
-Aaron
On 9/10/2010 4:12 AM, Tony Molloy wrote:
On Thursday 09 September 2010 18:11:38 c grassu wrote:
You can try this. It works for me on vista and win7:
net use m: /HOME
The [homes] share is working fine.
The problem is not with the actual script. The problem is that the script is
not being run at login on Windows 7 wheras it is on WindowsXP
Thanks,
Tony
On Thu, Sep 9, 2010 at 12:04 PM, Tony Molloy<tony.mol...@ul.ie> wrote:
Hi,
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
@echo Setting System Policies: Please Wait.
@echo off
NET TIME \\janus /SET /YES> X
net use M: \\youngmunster\ug2010 /persistent:no> X
del X
The homes share works fine but the logon script does not seem to be
executed. Any ideas how to get this working.
Thanks
Tony
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba