Windows network map drive connections are not stable, why?

Windows network map drive connections are not stable, why?

You may want to try editing a few Windows Parameters.

SMB Size

When running applications that copy or move a large amount of data to a remote server, the speed of such action is determined by network speed and by the SMB (a protocal related to Windows map drive) size.

NT/2000 negotiates the SMB size and will generally set this to 4K blocks for applications that are moving or copying data to a remote server. By increasing this block size, you will allow the server to complete its file copies faster. This will increase the performance of the application making the copy/move calls.

 

HKEY_LOCAL_MACHINE\System\CurrentControl Set\Services\LanmanServer\Paramerters

 

"SizReqBuf"=REG_DWORD

Set Value To: 16000 = HEXDEC

Ref: http://support.microsoft.com/default.aspx?scid=kb;en-us;320829


Map Drive Auto Disconnect Settings

Reference: http://support.microsoft.com/kb/138365/EN-US/

http://support.microsoft.com/default.aspx?scid=kb;en-us;297684

 

HKEY_LOCAL_MACHINE\System\Current
Control Set\Services\LanmanServer\Paramerters

 

Autodisconnect
to: fffffff

 

Creating BAT file for better performance

If you are still having problems, you may want setup a BAT file and scheduled this file to run every 10 minutes, please setup the BAT file as follow:

BAT file settings:

--------------------------

ping mapdrv

ping 192.168.1.15

net config server
/autodisconnect:-1

net use
/persistent:yes

net use
"\\mapdrv\DATA STORAGE1"

net use
"\\192.168.1.15\DATA

net use d:
\\192.168.1.15\DATA STORAGE1

net use e:
"\\mapdrv\DATA STORAGE1"

dir d:\

dir e:\

--------------------------

mapdrv = your NAS device network name

192.168.1.15 = mapdrv

 

In addition, create a host file on the server hosting the program, have the following entry in it:

mapdrv = 192.168.1.15

 

And if you are on a 2003 server, refer to the following:

Reference: http://support.microsoft.com/default.aspx?scid=kb;en-us;890553

 

For Windows 2000, you may want to install the following Hotfix:

Windows2000-KB903237-x86-ENU

Reference: http://support.microsoft.com/default.aspx?scid=kb;en-us;903237

Back to top