You can try this. It works for me on vista and win7: net use m: /HOME
On Thu, Sep 9, 2010 at 12:04 PM, Tony Molloy <[email protected]> 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
