By default, Windows can handle a maximum of 5000 open TCP connections. If your loads are higher, you may experience problems such as failed requests for new connections and poor performance.

The following steps that make changes to the registry are designed to improve Windows’ ability to handle the connections.

Important: Changes to the registry can cause serious problems, including inability to reboot your machine. You may want to make a backup of the registry before continuing. For information on backing up the registry, visit support.microsoft.com and type "registry editor" into the Search box. Instructions for working with the registry editor vary depending on your Windows version.

Step 1: Start the Registry.

To start the registry:

From the Run dialog, type "regedit" and click OK.

Step 2: Locate HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services in the Registry Editor.

From this location:

Step 3: Select the registry subkey Parameters.

After you select the registry subkey parameters, check the right panel for the registry entries MaxUserPort and TcpTimedWaitDelay. If these entries do not exist, create them as described in Step 4.

Step 4: Create registry entries:

On the right side of the Registry Editor, you will see that a new registry entry, New Value #1, is automatically created. Change the names of the new entries as described in Step 3.

To edit the values of the entries: