unmap shares

Doug Douglass samba at denverdata.com
Wed Nov 21 13:06:07 GMT 2001


Use the PERSISTENT switch to NET USE. This can be set once for all NET USE
commands or on each command individually.

For example:

NET USE /PERSISTENT:NO
NET USE M: \\foo\bar

OR

NET USE X: \\foo\bar /PERSISTENT:NO

will prevent Windows from "remembering" these drive mappings the next time
the user logs on.

HTH,
Doug

> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of Steve Lee
> Sent: Tuesday, November 20, 2001 9:38 PM
> To: samba at lists.samba.org
> Subject: unmap shares
>
>
> I have currently setup a PDC, while
> a system logs in, it executes a batch
> script that maps some shares, However,
> they do not unmap after one logs off.
> how would i do that
>
> Thank you
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>





More information about the samba mailing list