rianto isaac's Weblog

rianto utomo isaac sahala utomo

windows, Solution to No More Connection to a Remote Computer Problem

leave a comment »

buka cmd
net config server /autodisconnect:1

rianto utomo bole nyontek dari http://techsalsa.com/solution-to-no-more-connection-to-a-remote-computer-problem/

 

To restore the LAN Manager Server parameters to the defaults, or to reconfigure Windows so that it auto-configures the Server service:

  1. Run Registry Editor (REGEDT32.EXE).
  2. From the HKEY_LOCAL_MACHINE subtree, go to the following key:
    \SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
  3. Remove all entries except the following:
    EnableSharedNetDrives
    Lmannounce
    NullSessionPipes
    NullSessionShares
    Size

    Note You may have other entries here that are statically coded. Do not remove these entries.

  4. Quit Registry Editor and restart Windows.

    rianto utomo bole nyontek dari http://support.microsoft.com/kb/128167/EN-US

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:

  • 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:
    128167  Server Service Configuration and Tuning

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

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

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

  • 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:

rianto utomo bole nyontek dari http://support.microsoft.com/kb/138365/EN-US

Written by isaaconi

Oktober 18, 2011 pada 3:15 pm

Tinggalkan komentar