Windows Legacy OS forum

General discussion

Logoff of network shares

by quack322 / March 11, 2004 1:05 PM PST

I am useing Windows XP Profesional
that is connecting (a folder)on a samba server.
I have users go to
the share ,and enter their username
and password to access the folder,
but when another user whants to use
the the folder, I dont want that person to log
off and log back in to access the share
under thier username.
I need the users to be able to run a script
that will disconnect them from the
share and then the next user can
enter thier password.
-- Thanks

Discussion is locked
You are posting a reply to: Logoff of network shares
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Logoff of network shares
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re:Logoff of network shares
by Yew / March 11, 2004 7:47 PM PST

I think this will have to be done on the SAMBA side, and so you'd probably have better luck asking this question in the Linux forum. Chances are much greater you'll find someone with some SAMBA expertise over there.

Collapse -
Re:Logoff of network shares
by R. Proffitt Forum moderator / March 11, 2004 8:06 PM PST

The subject title is an oddity. Usually I hear that you disconnect from a share, not that you logoff. Your message body explains this a bit better.

In short, the command you want to put in the script is...


You'll have to look up the syntax and fill it in, but it can be used to disconnect as well as connect to a share with an user name.

This is an ODDBALL way to run a ship, but it's your ship. Any oddities that occur because you did this are your problems.


Popular Forums

Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Your favorite shows are back!

Don’t miss your dramas, sitcoms and reality shows. Find out when and where they’re airing!