PDA

View Full Version : Timeouts in win2k???


YMAN
11-08-02, 02:37 PM
I am having a problem with workstations having there mapped
network drives disconecting after a short period of time.
I believe it is linked to the new server I have.

All the workstations run win2k pro and the server runs win2k
adv server.

How can I make it so the server does not disconect the
connections to the network drives.

Jon
11-08-02, 05:44 PM
Well, after a period of non-use, any Microsoft mapped drive will disconnect after a period of time by default. It will then reinitialize itself when accessed again. This is simply to reduce unnecessary network traffic.

When the drive disconnects are you having trouble reconnecting? If that's the case then there is a problem, otherwise, I don't understand why you would want it constantly online for use even when it's not being accessed.

YMAN
11-08-02, 06:26 PM
no, im not having problems reconnecting.

It seems like it disconects after 15 minutes or so, but the problem
is that it disconects when people are in programs typing information,
then when they need to save it, they cant because it disconected or lost connection.

Jon
11-08-02, 06:47 PM
Are these PCs using mixed SP versions? Some with 2, others with 3, by chance?

YMAN
11-08-02, 08:10 PM
not sure, is there a way for me to check?

the server is running 2k adv server
and the workstations are all 2k pro

Jon
11-09-02, 05:44 AM
If you right click on My Computer it will tell you which SP is installed. There is a PMTU bug in SP2 that cause network disconnections. When running a machine with SP2 installed the MTU value must match whatever MS OS it is connecting to or you'll get an error 64, eventually (Network name not found)...there are 2 or 3 other errors you could get as well but all point to the same problem.

The only solutions are to either ensure all systems are updated to SP2/3 or if you're in a mixed SP environment, the SP2 machines must have the PMTU patch installed in order to keep connections to other systems. You can find this patch at Microsoft's website by doing a search in the Knowledge Base for PMTU patch.

This may not be the problem, but it's a start.

YMAN
11-09-02, 11:59 AM
Ok, the server and a few other workstations dont appear
to be using a service pack, the others are using service
pack 2 or 3. I am updating all the systems to service pack
3 right now, i'll keep you posted.

YMAN
11-09-02, 01:35 PM
All the workstations and server have been updated to
service pack 3 and the problem still happens.

su root
11-09-02, 02:54 PM
this "problem" is actually a "feature" to stop excessive network traffic

there is a 15-minute timeout for the connections, if they aren't being used. if you want to keep them alive.

run the command on the server:
NET CONFIG SERVER /AUTODISCONNECT:[timeout]
where [timeout is the number of minutes before it drops the connection.

or, you can manually edit in the values:
HKLM\System\CurrentControlSet\Services\lanmanserve r\parameters
you are looking for "autodisconnect" binary value.. should be set to 0x0000000f = 15 minutes

I ran into this problem myself. I'm surprised more people don't run into this...

Jon
11-09-02, 09:12 PM
Originally posted by su root
this "problem" is actually a "feature" to stop excessive network traffic

there is a 15-minute timeout for the connections, if they aren't being used. if you want to keep them alive.

run the command on the server:
NET CONFIG SERVER /AUTODISCONNECT:[timeout]
where [timeout is the number of minutes before it drops the connection.

or, you can manually edit in the values:
HKLM\System\CurrentControlSet\Services\lanmanserve r\parameters
you are looking for "autodisconnect" binary value.. should be set to 0x0000000f = 15 minutes

I ran into this problem myself. I'm surprised more people don't run into this...

LOL, that was my next stop. Sometimes I wonder why I don't start with the simplest stuff first.

I may actually copy that down into a regfile for instantly changing that...be handy to have.

su root
11-09-02, 09:50 PM
yeah, that's a good idea, actually. I can't for the life of me remember the command line... always have to go look it up.

if you set it at -1 minutes then it will never timeout, but on reboot it will correct that to the default 15.. you could put "NET CONFIG SERVER /AUTODISCONNECT:-1" in your server's startup.