Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 90
  • Last Modified:

idle mapped drive

how do you tell the server or the workstation to disconnect an idle mapped drive?

here is the scenario:  i know the limit for concurrent connection to a server is 20. for this scenario, how do you automatically disconnect the connections that have idle for days? i have changed the idle time via net config server /autodisconnect     but still, some connections stays up to days...
0
mwauki
Asked:
mwauki
  • 4
  • 3
  • 2
  • +1
1 Solution
 
NVITCommented:
As long has the connection has a file open on the share, or if Windows Explorer is open to that share...
0
 
David Johnson, CD, MVPOwnerCommented:
i know the limit for concurrent connection to a server is 20  To a Client OS it is 20, A server is by default unlimited.
0
 
mwaukiAuthor Commented:
that is the problem, i do not see any open file! see attached....
idle.png
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
mwaukiAuthor Commented:
the issue is happening on a win7 that acts like a server
0
 
NVITCommented:
From that server workstation, use

NET SESSION to List all sessions connected to this machine
NET SESSION /DELETE /Y to delete all connections
NET SESSION \\ComputerName /DELETE /Y to disconnect sessions from a given machine

http://ss64.com/nt/net_share.html
0
 
bigeven2002Commented:
I just realized the duplicate question.  Windows 7 will only allow 20 connections so you. An disregard my comment on the other question about raising the limit.  You. An force disconnect users in the share files window.  Make sure users close the explorer windows and programs that utilize the share and then it should disconnect from idle activity.
0
 
David Johnson, CD, MVPOwnerCommented:
if you need more than 20 concurrent connections your only resource is to use a server operating system rather than a client operating system.
0
 
mwaukiAuthor Commented:
is there a cmd to disconnect whateve program that is still open?
0
 
NVITCommented:
mwauki,

> is there a cmd to disconnect whateve program that is still open

For closing programs, use TASKLIST and TASKKILL. See my post here: https://www.experts-exchange.com/questions/28972793/Is-there-a-way-to-send-a-close-program-command-via-remote-session.html#a41818645
0
 
mwaukiAuthor Commented:
thank you all!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now