Not enough storage is available to process this command

In the last few months I have been plagued with this error “Not enough storage is available to process this command.” that seems to come and go, not only that, it doesn’t seem to be limited to a particular operating system, I’ve seen it on Vista Ultimate, Windows XP SP3 and now more recently Windows 7 Ultimate. The most common fix for this is creating or increasing the IRPStackSize value in the Parameters Key within the LanManServer config. This process requires an edit of your current registry so please do this with caution and create a backup before fiddling around with it.

To put it in geek terms the IRPStackSize is a parameter that specifies the number of stack locations in I/O request packets (IRPs) that are used by the operating system. Each stack uses 36 bytes of memory for each receive buffer and you can increase the IRPStackSize, through the Windows registry for some transports, media access control (MAC) drivers, or for file system drivers. The default value of the IRPStackSize parameter is 15.

To do this follow the steps below:

1. Click on Start > Run > regedit & press Enter
2. Find this key name  HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesLanmanServerParameters
3. Locate IRPStackSize
4. If this value does not exist Right Click on Parameters key and Click on New > Dword Value and type in IRPStackSize under the name.
5. The name of the value must be exactly (combination of uppercase and lowercase letters) the same as what I have above.
6. Right Click on the IRPStackSize and click on Modify
7. Select Decimal enter a value higher than 15(Maximum Value is 50 decimal) and Click Ok
8. You can close the registry editor and restart your computer.

This can be found under MS KB