Receiving Multiple Instances of Event ID 2021

ID: Q242100


The information in this article applies to:
  • Microsoft Windows NT Server version 4.0


SYMPTOMS

When you have a computer running Microsoft Windows NT Server 4.0 with Service Pack 3 installed, you may receive the following error message approximately every hour, and then more and more frequently:

Event 2021: Server was unable to create a work item 2 times in the last 60 seconds.


CAUSE

This behavior can occur when you use LAN Manager.


RESOLUTION

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

To work around this issue, add values to the following registry key:


HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\ 
Parameters 
To add values to the key, follow these steps:
  1. Start Regedt32.exe.


  2. Locate the following key in the registry:


  3. 
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters 
  4. On the Edit menu, click Add Value, and then add the following registry values:


  5. 
      Value Name: EnableOplocks 
      Data Type: REG_DWORD
      Value: 0
    
      Value Name: CachedOpenLimit 
      Data Type: REG_DWORD
      Value: 0
    
      Value Name: MaxFreeConnections 
      Data Type: REG_DWORD
      Value: 8
    
      Value Name: MaxWorkItems 
      Data Type: REG_DWORD
      Value: 65535 
  6. Quit Registry Editor.


Additional query words: LanManager

Keywords :
Version : winnt:4.0
Platform : winnt
Issue type : kbprb


Last Reviewed: January 3, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.