Losing shares on clients

G

Gregvee

I have a question. I have a W2K server network with a
server that has N drive as a mounted share on each client.
When I encounter a temperary lose in connectivity to the
server with the share that the clients mount to, and then
the connectivity is restored some clients are able to
contiune to access the share while other are forced to log
off and log back on to have the share restored. Is there
some tweaking I can do to increase the Timeout levels the
server uses before it terminates the session with the
clients who have the share mounted. Has anyone else come
across this issue. Any help would be greatly appriciated.

Thanks


Greg
 
S

Shilpa Sinha [MSFT]

Hi

You can try this


1. Change the TIME_WAIT Timeout to Increase Connections (Windows
NT/2000/XP)
This setting determines the length of time that a connection will stay in
the TIME_WAIT state before being closed. The default is 240 seconds which
on a busy server will limit the maximum connections to around 200/sec.
Reducing this setting will increase the maximum connection limit.

Open your registry and find or create the key below.
Create a new DWORD value, or modify the existing value, called
"TcpTimedWaitDelay" and set it according to the value data below.
Exit your registry, you may need to restart or log out of Windows for the
change to take effect.

Registry Settings
System Key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
Value Name: TcpTimedWaitDelay
Data Type: REG_DWORD (DWORD Value)
Value Data: 30-300 seconds (decimal)

Other things that you can try are....

2. To Set the amount of time a network connection is kept between a remote
PC.

To manually edit the registry.
Edit the key
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters
\autodisconnect. Modify the REG_DWORD value.

3. Change LAN Auto-disconnect Timeout (Windows NT/2000/XP)
Windows can be configured to automatically disconnect idle LAN sessions are
a set number of minutes.

Open your registry and find the key below.
Modify the value, or create a new string value, called 'Autodisconnect' and
set it to equal the time in minutes before a session is disconnected.
Restart Windows for the change to take effect.
Note: Set the value to 0xffffffff to disable the disconnection function.

Registry Settings
System Key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\
Parameters]
Value Name: Autodisconnect
Data Type: REG_DWORD (DWORD Value)
Value Data: 0 to 4,294,967,295 (0xffffffff) in minutes

Disclaimer: Modifying the registry can cause serious problems that may
require you to reinstall your operating system. We cannot guarantee that
problems resulting from modifications to the registry can be solved. Use
the information provided at your own risk.



Shilpa Sinha
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top