NOTE: This article has been fully plagiarized from Microsoft
KnowledgeBase Article Q138365.
You can find the LAN Autodisconnect parameter in the registry under
the subtree HKEY_LOCAL_MACHINE under the subkey:
\System\CurrentControlSet\Services\LanmanServer\Parameters
Purpose: The function is to disconnect idle sessions after a set
number of minutes. The number of minutes can be set at a command
prompt using the Net Config Server command. For example, to set the
Autodisconnect value to 30 minutes:
Net Config Server /autodisconnect:30
The valid value range is -1 to 65535 minutes at the command line.
To disable Autodisconnect set it to: -1
Setting Autodisconnect to 0 does not turn it off and results in very
fast disconnects, within a few seconds of idle time. (However, the
RAS Autodisconnect parameter is turned off if you set it to a value
of 0.)
NOTE: It is preferable to modify the LAN Autodisconnect directly in
the registry. If you modify it at the command line, Windows NT may
turn off its autotuning functions.
The valid value range if you edit the LAN Autodisconnect parameter in
the registry is 0 to 4294967295 (Oxffffffff). If you configure the
Autodisconnect option to -1 at the command prompt, Autodisconnect is
set to the upper value in the registry. This is approximately 8,171
years (not tested), which should be long enough to be the equivalent
of turning Autodisconnect off.
NOTE :The registry does not allow you to add a -1 value, however,
that modification may be made at the cmd prompt with the following
command:
net config server /autodisconnect:-1
For the whole picture see Microsoft KnowledgeBase Article Q138365 and
related documents.
KnowledgeBase Article Q138365.
You can find the LAN Autodisconnect parameter in the registry under
the subtree HKEY_LOCAL_MACHINE under the subkey:
\System\CurrentControlSet\Services\LanmanServer\Parameters
Purpose: The function is to disconnect idle sessions after a set
number of minutes. The number of minutes can be set at a command
prompt using the Net Config Server command. For example, to set the
Autodisconnect value to 30 minutes:
Net Config Server /autodisconnect:30
The valid value range is -1 to 65535 minutes at the command line.
To disable Autodisconnect set it to: -1
Setting Autodisconnect to 0 does not turn it off and results in very
fast disconnects, within a few seconds of idle time. (However, the
RAS Autodisconnect parameter is turned off if you set it to a value
of 0.)
NOTE: It is preferable to modify the LAN Autodisconnect directly in
the registry. If you modify it at the command line, Windows NT may
turn off its autotuning functions.
The valid value range if you edit the LAN Autodisconnect parameter in
the registry is 0 to 4294967295 (Oxffffffff). If you configure the
Autodisconnect option to -1 at the command prompt, Autodisconnect is
set to the upper value in the registry. This is approximately 8,171
years (not tested), which should be long enough to be the equivalent
of turning Autodisconnect off.
NOTE :The registry does not allow you to add a -1 value, however,
that modification may be made at the cmd prompt with the following
command:
net config server /autodisconnect:-1
For the whole picture see Microsoft KnowledgeBase Article Q138365 and
related documents.
----- Original Message -----
From: "Troy Funte" <tfunte@e...>
Date: Wed Dec 12, 2001 7:47 am
Subject: Re: [Vantage] [OT] Strange network behavior
Is there a way to see what the "autodisconnect" setting on a
Windows2000Server
machine is BEFORE running any of these commands?
Troy Funte
Liberty Electronics