Disconnecting Shared Drive

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

I have two computers A and B in a peer-to-peer network.

To connect from computer A to B, I enter the username and password and
then can operate files at B from A.

When I log off computer A and then somebody else logs on with the same
username, the connection to computer B is still active.

How can I disconnect computer B from A before logging off A?

Once I found a way to do it through many layers of graphical interface
menus -- now I forgot how -- and even if I recall how, I cannot make
my operators to memorize this.

Is there a way to write a DOS script or registry patch to disconnect
the connected shared drive?

Thank you.

Hans
 
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

there is the command line:
NET SHARE [drive] /DELETE
that you can put in a script or do it direct.
but, i think that shutdown is better.

alf


"Vlad Olchanski, PhD" <REMOVEvolchans@vcu.edu> wrote in message
news:eotti19e2pibcljh4vcma7j1vtfofm91gq@4ax.com...
> I have two computers A and B in a peer-to-peer network.
>
> To connect from computer A to B, I enter the username and password and
> then can operate files at B from A.
>
> When I log off computer A and then somebody else logs on with the same
> username, the connection to computer B is still active.
>
> How can I disconnect computer B from A before logging off A?
>
> Once I found a way to do it through many layers of graphical interface
> menus -- now I forgot how -- and even if I recall how, I cannot make
> my operators to memorize this.
>
> Is there a way to write a DOS script or registry patch to disconnect
> the connected shared drive?
>
> Thank you.
>
> Hans
 

Latest posts