Problema conexion W2003

01/06/2006 - 13:26 por Javier | Informe spam
Hola,

Hace poco instalé un W2003 R2, el cual lleva una aplicación con una
base de datos de Microsoft SQL, el problema viene cuando los clientes
se conectan al servidor, al dejar el equipo unos 15 minutos de
inactivad, el servidor corta la conexión con los clientes, he probado
a trabajar de modo Cliente-Servidor o mediante Terminal Server
directamente en el servidor, en los 2 casos se corta la conexión y la
verdad que no se lo que puede ser

Un saludo y espero vuestras respuestas.
 

Leer las respuestas

#1 Javier Inglés [MS MVP]
02/06/2006 - 09:19 | Informe spam
How Autodisconnect Works in Windows NT and Windows 2000 (Q138365)



The information in this article applies to:

a.. Microsoft Windows 2000 , Professional
a.. Microsoft Windows 2000 , Server
a.. Microsoft Windows 2000 , Advanced Server
a.. Microsoft Windows 2000 , Datacenter Server
a.. Microsoft Windows NT Workstation versions 3.5 , 3.51 , 4.0
a.. Microsoft Windows NT Server versions 3.5 , 3.51 , 4.0






SUMMARY

This article documents the Windows NT and Windows 2000 local area network
(LAN)-related Autodisconnect parameter.

Windows NT and Windows 2000 use two different Autodisconnect parameters; one
for disconnecting Remote Access Service (RAS) connections and another for
disconnecting LAN connections. The RAS Autodisconnect parameter is
documented in the Microsoft Knowledge Base article Q153944, but the LAN
version is undocumented. The only published reference to this Autodisconnect
is in the Windows NT Resource Kit NT Registry Entries help file, in an
overview of entries for the LanmanServer Parameters section.



MORE INFORMATION

You can find the LAN Autodisconnect parameter in the registry under the
subtree HKEY_LOCAL_MACHINE under the subkey:

\System\CurrentControlSet\Services\LanmanServer\Parameters

The purpose 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, you would run
the following command line:

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.)

NOTES :

a.. It is preferable to modify the LAN Autodisconnect directly in the
registry. If you modify it at the command line, Windows NT and Windows 2000
may turn off its autotuning functions. For additional information, click the
article number below to view the article in the Microsoft Knowledge Base:
Q128167 Server Service Configuration and Tuning

The valid value range if you edit the LAN Autodisconnect parameter in the
registry is 0 to 4294967295 (Oxffffffff).

a.. For a Windows 2000 Server in a Domain, running either as a domain
controller or as a server, the maximum value is 65,535 (0xffff). Values set
above this will be returned to 0xffff after policy refresh. Windows 2000
Servers in a workgroup may be set to any value as indicated.

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.
b.. The registry does not allow you to add a -1 value. However, that
modification may be made at the command prompt with the following command:
net config server /autodisconnect:-1

When this is set, two additional registry keys are added:

anndelta: REG_DWORD: 0xbb8
announce: REG_DWORD: 0xf0

Announce : Specifies the network announce rate, in seconds. This rate
determines how often the server is announced to other computers on the
network.

Anndelta : Specifies the delta value for the announce rate, in milliseconds.
This value specifies how much the announce rate can vary from the period of
time specified in the announce member.

The delta value allows randomly varied announce rates. For example, if the
announce member has the value 10 and the anndelta member has the value 1,
the announce rate can vary from 9.999 seconds to 10.001 seconds.

a.. After a few minutes of idle time, your mapped drive or drives may be
disconnected, and a red "X" may appear next to the mapped drives in Windows
Explorer.

For additional information, click the article number below to view the
article in the Microsoft Knowledge Base:
Q305355 Some Compaq Programs Cause Mapped Drives to Be Disconnected


Salu2!!
Javier Inglés
https://mvp.support.microsoft.com/p...B5567431B0
MS MVP, Windows Server-Directory Services




"Javier" escribió en el mensaje
news:
Hola,

Hace poco instalé un W2003 R2, el cual lleva una aplicación con una
base de datos de Microsoft SQL, el problema viene cuando los clientes
se conectan al servidor, al dejar el equipo unos 15 minutos de
inactivad, el servidor corta la conexión con los clientes, he probado
a trabajar de modo Cliente-Servidor o mediante Terminal Server
directamente en el servidor, en los 2 casos se corta la conexión y la
verdad que no se lo que puede ser

Un saludo y espero vuestras respuestas.

Preguntas similares