Receiving Multiple Instances of Event ID 2022

Article translations Article translations
Article ID: 245080 - View products that this article applies to.
This article was previously published under Q245080
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
Expand all | Collapse all

SYMPTOMS

When you are using a computer running Windows, you may receive the following error message:
Event 2022: Server was unable to find a free connection 1 times in the last 60 seconds.

CAUSE

This behavior occurs because the Server service is unable to keep up with the demand for connections.

RESOLUTION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To work around this issue, use the following steps:
  1. Start Registry Editor (Regedt32.exe).
  2. Locate and click the following registry key:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
  3. On the Edit menu, click Add Value, and then add the following registry value:
    Value Name: MaxFreeConnections
    Data Type: REG_DWORD
    Value: Any Value Up to 100 (in decimal)
  4. On the Edit menu, click Add Value, and then add the following registry value:
    Value Name: MinFreeConnections
    Data Type: REG_DWORD
    Value: Any Value Up to 32 (in decimal)
  5. Quit Registry Editor.
NOTE: You must restart the computer for the changes to take effect.

MORE INFORMATION

A special resource task in the Windows service uses the MinFreeConnections and MaxFreeConnections value settings to preallocate connection objects. Under certain conditions, the demand for preallocated connection objects may exceed the default number configured in the MinFreeConnections and MaxFreeConnections value settings.

However, you may also receive the "Event 2022" error message due to certain system problems (for example, if the computer stops responding). You should correct any system problems before you consider changing the MinFreeConnections and MaxFreeConnections value settings.

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
245077 Computer Stops Responding with Event ID 2022
The following list shows the default MinFreeConnections and MaxFreeConnections values for each Server service optimization setting.
    Minimize Memory Used
    • MinFreeConnections = 2
    • MaxFreeConnections = 2


    Balance
    • MinFreeConnections = 2
    • MaxFreeConnections = 4


    Maximize Throughput for File Sharing
    • MinFreeConnections = 4
    • MaxFreeConnections = 8


    Maximize Throughput for Network Applications
    • MinFreeConnections = 4
    • MaxFreeConnections = 8

For additional information about how to use the Windows registry to optimize Windows, click the article number below to view the article in the Microsoft Knowledge Base:
232271 How to Optimize Windows NT Server Using the Registry

Properties

Article ID: 245080 - Last Review: February 22, 2007 - Revision: 2.2
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT 4.0 Service Pack 1
  • Microsoft Windows NT 4.0 Service Pack 2
  • Microsoft Windows NT 4.0 Service Pack 3
  • Microsoft Windows NT 4.0 Service Pack 4
  • Microsoft Windows NT 4.0 Service Pack 5
  • Microsoft Windows NT 4.0 Service Pack 6
Keywords: 
kbenv kberrmsg kbprb KB245080

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com