* Re[2]: Scriptor Utility to Disconnect Users
@ 1996-05-13 19:57 Jim Crozier
0 siblings, 0 replies; 2+ messages in thread
From: Jim Crozier @ 1996-05-13 19:57 UTC (permalink / raw)
But, If your users are on Win95, this will be fairly useless, since
the connection will be pretty much immediately re-established, which
is why, I drop the named share (and use the administrative share) when
necessary to get exclusive access to a database (such as ccMail).
______________________________ Reply Separator _________________________________
Subject: RE: Scriptor Utility to Disconnect Users
Author: "Sakovich, Aaron" <ASakovich@ncs.com> at INTERNET
Date: 5/13/96 11:11 AM
owner-alphant wrote:
>Hello All:
>
>I'm looking for a script or batch utility to disconnect users from
shares on
>remote servers so that some database maintenance can take place
unattended
>on a number of Access databases during the night.
>
>Anyone know anthing that will work for this?
>
>Peter
NET SESSION /DELETE
For more information on this and other fine NET commands, type NET HELP
or NET HELP {topic}.
Aaron
--
Aaron Sakovich ---------------------------------------- aaron@garply.com
Alpha NT mail list ------------------------------- Alpha NT file archive
alphant@garply.com http://www.garply.com/tech/comp/sw/pc/nt/alpha.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Re[2]: Scriptor Utility to Disconnect Users
@ 1996-05-13 23:18 Sakovich, Aaron
0 siblings, 0 replies; 2+ messages in thread
From: Sakovich, Aaron @ 1996-05-13 23:18 UTC (permalink / raw)
Jim Crozier wrote:
> But, If your users are on Win95, this will be fairly useless, since
> the connection will be pretty much immediately re-established,
which
> is why, I drop the named share (and use the administrative share)
when
> necessary to get exclusive access to a database (such as ccMail).
Ah, two different problems. You'd asked for a way to disconnect users.
To limit the access to a share (before you do your NET SESSION /DELETE),
you'll need to do a NET SHARE sharename /USERS:# where # is 0 if no one
is to access it, or 1 if only your administrative access is to be
allowed. You can also completely turn off sharing on your server if you
want to disallow any access to the system by doing a NET PAUSE SERVER; to
restore, do a NET CONTINUE SERVER.
>>I'm looking for a script or batch utility to disconnect users from
>shares on
>>remote servers so that some database maintenance can take place
>unattended
>>on a number of Access databases during the night.
>>
>>Anyone know anthing that will work for this?
>>
>>Peter
>
>
>NET SESSION /DELETE
>
>For more information on this and other fine NET commands, type NET HELP
>or NET HELP {topic}.
Aaron again...
--
Aaron Sakovich ---------------------------------------- aaron@garply.com
Alpha NT mail list ------------------------------- Alpha NT file archive
alphant@garply.com http://www.garply.com/tech/comp/sw/pc/nt/alpha.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-05-13 23:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-13 19:57 Re[2]: Scriptor Utility to Disconnect Users Jim Crozier
-- strict thread matches above, loose matches on Subject: below --
1996-05-13 23:18 Sakovich, Aaron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox