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

Helmut Hullen Hullen at t-online.de
Tue Aug 28 12:09:00 GMT 2007


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

Maybe that cures a similar problem in some of my scripts.

Viele Gruesse!
Helmut


More information about the samba mailing list