Solved

auto disconnect on mapped drives

Posted on 2003-11-03
6
2,364 Views
Last Modified: 2007-12-19
I just setup a new workstation that is serving as a server. This PC is running Windows 2000 Professional. I currently have 2 drives that are mapped to another server so that reports that run in the morning can go from one server to another. The problem that I am having is whenever the computer is sitting idle for say 5 minutes it will disconnect the mapped drives where they will have a red X, but if I double click on them the drive reconnects and all is well. How do I resolve this where they will stay connected when the computer is idle? I've already done the below and made sure the HD was NOT set to turn off after a certain period of time.

http://support.microsoft.com/default.aspxcid=http://support.microsoft.com:80/support/kb/articles/q138/3/65.asp&NoWebContent=1
0
Comment
Question by:BMANDEP
6 Comments
 
LVL 41

Accepted Solution

by:
stevenlewis earned 500 total points
ID: 9675545
see if this helps
It was autodisconnect registry setting. The default is to disconnect after being idle for 15 minutes.

I used the command net config server /autodisconnect:-1 which disables autodisconnect and that stopped the remote users from loosing their Mapped Drive.


It is for w2k server, but may work on workstation (professional)
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9675714
make sure auto disconnect is not enabled in

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\LanmanServer\Parameters

set this value to 0.(mostly it is set to "f").

the command is

net config server /variable ( in your case this autodisconnect).

also check this link for more useful information.
http://www.uwec.edu/Help/Win00/map-drive.html#Map
0
 
LVL 13

Expert Comment

by:rhinoceros
ID: 9675856

Microsoft official Information
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q297684

I hope it can help.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 41

Expert Comment

by:stevenlewis
ID: 9675917
which confirms what shivsa and myself posted :-)
0
 

Author Comment

by:BMANDEP
ID: 9677917
shivsa, I did what you said about setting the value to 0, but it still auto-disconnected and per Microsoft you are not supposed to set it at 0.
NOTE: If you set the autodisconnect value to 0 (zero), the autodisconnect feature is not turned off, and the Server service disconnects mapped network drives after only a few seconds of idle time.

stevenlewis, I had already tried what you had mentioned, but still did not work.

Any other suggestions?
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9680032
I think i gave u wrong value to set.
In the Value data box, type ffffffff.
It will increase the timeout value on server side, but wil not turnoff the autodisconnect.
to turnoff i think from client side u have to put value = -1.

For example, to set the Autodisconnect value to 30 minutes, you would run the following command line:
net config server /autodisconnect:30

also r u using samba. if yes u might want to upgrade samba to latest, since there are some bugfixes relate to autodiscoonect are there.
-----------------
if nothing of this works then maybe this will help
--------------

START | RUN | gpedit.msc

Local Policies
Security Options
look down the list for "Microsoft Network server: amount of idle time required before suspending session - default = 15 minutes".
Right click and Properties.
Set this to an obscenely large number of minutes.
99,999
next...
on the same list... find:
"Microsoft Network Server: Disconnect clients when logo hours expire". Right click and Properties.
Set at "disabled"


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

919 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now