Link to home
Start Free TrialLog in
Avatar of MXU2011
MXU2011

asked on

Network drives in Windows 7

Hi guys

I am running as SBS 2003 network that consists of 30 laptops.. a few weeks ago i started updating the laptops from XP to Win 7.. Once in a while people would come up to me and tell me that their network drives would take forever to open when they double click on them.. When i had XP i didnt have this problem so it must be an Win 7 issue.. i ran into this issue my self and it took almost 5 min for the network dtive to open.. than 20 min later it would take a few seconds.. what  is causing this problem.. thank you very much
Avatar of jrwarren
jrwarren
Flag of United States of America image

Direct from Microsoft KB297684
   I experienced a similar problem and this corrected the issues for me.

Use Registry Editor to increase the default time-out period. To do this, follow these steps, and then quit Registry Editor:

NOTE: You cannot use this method to turn off the autodisconnect feature of the Server service. You can only use this method to change the default time-out period for the autodisconnect feature.
Click Start, click Run, type regedit (Windows 2000 or Windows Server 2003) or type regedt32 (Windows NT 4.0), and then click OK.

Locate and then click the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
In the right pane, click the autodisconnect value, and then on the Edit menu, click Modify.

If the autodisconnect value does not exist, follow these steps:
    On the Edit menu, point to New, and then click REG_DWORD.
        Type autodisconnect, and then press ENTER.
    On the Edit menu, click Modify.
        Click Hexadecimal.
            In the Value data box, type ffffffff, and then click OK.

NOTE: The client-side session is automatically disconnected when the idling time lasts more than the duration that is set in KeepConn. Therefore, the session is disconnected according to the shorter set duration value between AutoDisConnect and KeepConn. To change the time-out duration in the client-side during a UNC connection, specify the arbitrary time in KeepConn.

Locate and then click the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Service\lanmanworkstation\parametersValue: KeepConn

    Data type : REG_DWORD
    Range : 1 to 65535 (sec)
    Default value: 600 sec = 10 mins
 
Command Line
NOTE: If you use this method, you may turn off the autotuning feature for the Server service.

To change the default time-out period for the autodisconnect feature of the Server service, open a command prompt, type the following line, and then press ENTER

net config server /autodisconnect:number

where number is the number of minutes that you want the server to wait before it disconnects a mapped network drive. The maximum value for this command is 65,535.

NOTE: If you set the autodisconnect value to 0 (zero), the autodisconnect feature is not turned off, and the Server service disconnects mapped network drives after only a few seconds of idle time.

To turn off the autodisconnect feature, open a command prompt, type the following line, and then press ENTER:

net config server /autodisconnect:-1
ASKER CERTIFIED SOLUTION
Avatar of TG Tran
TG Tran
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MXU2011
MXU2011

ASKER

to tgtran:
Ok i will try that but for some reason even when i click on my computer of the printers it sometimes does the same thing.. also can you please give me the instructions to enable all the settings just in case the disabling doesnt fix the problem?  thanks a lot
If you want to reverse the settings, just change the "disabled" to "enable"