Disconnecting a network session

Disconnecting a network session

Post by Scot » Mon, 14 Feb 2005 08:45:48

Windows 2000 Professional


Sometimes, when I'm in a co-worker's office, I realize I need a file from my
machine. So, in the Windows Explorer address bar, I enter
\\mymachinename\c$. From the authentication dialog that pops up, I login
with my domain credentials, and then copy whatever files I need to my
co-worker's machine.

However, at that point, I want to flush those authentication credentials,
and prevent further access to my machine. I don't know how to do this.

From my machine, I've tried Computer Management --> Shared Folders -->
Sessions, then Action --> Disconnect All Sessions. But, when I go back to
my co-worker's machine, he still has access to my entire C: drive.

I know eventually those authentication credentials expire, but I want to
immediately prevent further access to my machine.

Thanks for any advice you can give.


Disconnecting a network session

Post by Todd J Her » Mon, 14 Feb 2005 08:51:23

Two ways come to mind:

1) Open a CMD prompt and run net use * /delete /y
2) Log the user off then back on again

Todd J Heron, MCSE
Windows Server 2003/2000/NT
This posting is provided "as is" with no warranties and confers no rights