Fwd: [Samba] Problem with netlogon\logon.bat not mapping all drives

John Drescher drescherjm at gmail.com
Tue Aug 28 13:14:34 GMT 2007


On 28 Aug 2007 14:09:00 +0200, Helmut Hullen <Hullen at t-online.de> wrote:
> Hallo, John,
>
> Du (drescherjm) meintest am 28.08.07:
>
> >> My logon.bat file:
>
> >> @echo off
> >>
> >> NET TIME %LOGONSERVER% /SET /YES
> >>
> >> NET USE * /DEL /YES
>
> [...]
>
> > I have seen this with a similar script. What I have seen is that the
>
> > NET USE * /DEL /YES
>
> > finishes but does not always fully execute for all drives but is
> > waiting and running in the background. Then the drive mapping
> > actually succeeds and sometime after that (even a minute or  two
> > later) the delete actually happens. If you can I think it is best to
> > avoid the delete.
>
> Or he writes
>
>         start /w NET USE * /DEL /YES
>         rem waits until succeeded
>
Thank You. I will check into that as my users are not very happy the 1
out of 100 times this fails...

John


More information about the samba mailing list