How to disconnect shares ?

David J. Heritage dave at udp.net
Tue May 18 18:49:27 GMT 1999


>It seems after logout,the client box keeps the shares connected to
>windows drives (and the next time you login, you have an error
>message saying your device is already in use). What shall I do to
>have all shares disconnected at logout time ?

This is an NT issue from my experience.  NT by default remembers the
share connections (unlike Win9x).  In your script for mapping drives
simply add /yes /persistent:no and all should be well.  (i.e. net use
t: \\samba\share /yes /persistent:no)  



David J. Heritage
Microsoft Certified Systems Engineer
dave at udp.net

PGP Public Key Fingerprint: B028 8B5D E5ED 16B1  228B A93B A743 352A




More information about the samba-ntdom mailing list