Logon-Script

C.Lee Taylor lee.taylor at scania.co.za
Wed Mar 1 15:40:26 GMT 2000


> my logon-script is mapping a lot of drives from my PDC with the clients.
> This script is executed the first time a User logs on the PDC.
> When the User log on the second time the script is giving some
> errormessages:
> "Can´t map the drives the drives are already in use or something like
> that.
> Is there a possibility to delete the "net use" commands in first step and
> the connect them again?
> Like
> delete all net use
> and then
> net use \\PDC\drive

Why not just try "net use \\PDC\drive /yes" which should override what ever
drive mappings that are there.  You should be able to check these options at
the DOS command prompt by typing "Net Help Use | More"

Hope this helps.

Mailed
C.Lee Taylor
Scania South Africa



More information about the samba-ntdom mailing list