Registry Tip #317: Error 2022 and Windows NT Server Service connections |
Hits: Failed to execute CGI : Win32 Error Code = 3
|
Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\LanmanServer\Parameters
Name: MaxFreeConnections
Type: REG_DWORD
Name: MinFreeConnections
Type: REG_DWORD
Name: MaxWorkItems
Type: REG_DWORD
MaxFreeConnections can be set to a maximum of 100 (decimal), MinFreeConnections can be set to a maximum of 32 (decimal), and MaxWorkItems can be set to a maximum of 512 (decimal).
If you get the Error 2022s after you share a Gateway Service for NetWare (GSNW) session, try setting MaxFreeConnections=8 and MaxWorkItems=255. If error 2022s continue to happen, increase the MaxWorkItems value. Unfortunately the PC has to be rebooted for this registry hack to take effect.