Solved

idle mapped drive

Posted on 2016-09-27
10
68 Views
Last Modified: 2016-10-03
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
Comment
Question by:mwauki
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 24

Expert Comment

by:NVIT
ID: 41818766
As long has the connection has a file open on the share, or if Windows Explorer is open to that share...
0
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 41818776
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
 

Author Comment

by:mwauki
ID: 41818787
that is the problem, i do not see any open file! see attached....
idle.png
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:mwauki
ID: 41818791
the issue is happening on a win7 that acts like a server
0
 
LVL 24

Expert Comment

by:NVIT
ID: 41818803
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
 
LVL 17

Expert Comment

by:bigeven2002
ID: 41818805
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
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 41818882
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
 

Author Comment

by:mwauki
ID: 41819024
is there a cmd to disconnect whateve program that is still open?
0
 
LVL 24

Accepted Solution

by:
NVIT earned 500 total points
ID: 41819030
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
 

Author Closing Comment

by:mwauki
ID: 41827332
thank you all!
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question