Wednesday, April 22, 2009

Disconnect Session after Retrieving File from Server

Previously, I have encountered a situation in Windows when I use my account on someone's machine to access a SAMBA shared folder to retrieve a file that someone needs. The problem is that my account is able to access to some areas that the user is not suppose to access, and once you've accessed the shared folder with your account, the shared folder will be accessible without any further password prompting until it gets auto-disconnected.

The solution is to disconnect the session after you have done whatever that you wish to do on the SAMBA server. To disconnect, just do the following:
  1. Goto Start > Run
  2. Type net session \\[computer name] /delete

The session will be disconnected, and the user will get the password prompt again if they wish to access the same folder.

Hope this helps...

No comments:

Visit Rhinestic's Knick Knacks @ Etsy for handmade goods and supplies!

Related Posts Plugin for WordPress, Blogger...