Wednesday, November 12, 2008

Tweak IRPStackSize to Solve "Not enough server storage is available to process this command"

I encountered an error "Not enough server storage is available to process this command" today when I tried to access a locally shared folder. Simple stuff like \\COMPUTERNAME\ShareDir was unsuccessful. After some research, it looks more like a Microsoft Windows problem to me. I am running Windows Server 2003 R2.

To solve this problem, I set the IRPStackSize parameter in registry to value 17.
  1. Click Start, and then Run.

  2. Type regedit, and then click OK.

  3. From the registry, navigate to the following key:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters

  4. If IRPStackSize DWORD value does not exist, create it

  5. Give a DWORD value 17 (decimal) to IRPStackSize.

  6. Close the Registry editor.

  7. Reboot computer
For Windows Server 2003, the default value for IRPStackSize is 15. To solve my above mentioned problem, you will need to set it to a larger value. The range for this parameter is from 11 to 50.

According to Microsoft, Symantec Norton Antivirus is another likely suspect that may have caused this problem. The article on this is published here.

No comments:

Post a Comment

Do provide your constructive comment. I appreciate that.