Tuesday, September 11, 2012

PSEXEC Not Enough Server Storage Error when Connecting to Networked Computer

Not Enough Server Storage Error when Connecting to Networked Computer
One of the more interesting error messages I've run across is one that happened after I reformatted a computer on the network. I tried to connect to the computer using a Windows XP peer-to-peer network connection. It took several seconds before the computer responded with a message stating the Network share was not accessible and the message "not enough server storage is available to process this command." 

It turns out this problem was on the newly formatted computer and it was a registry issue. Follow the steps below to open the registry on the computer you cannot connect to and check for possible missing
 registry key.

Not enough server storage is available to process this command

Follow these steps to check for problems on the machine you cannot access.
1) Open the registry editor on the machine you cannot connect to by clicking on Start, Run
2) Type REGEDIT and press Enter
3) Click on the plus signs (+) next to the following entries
  • HKEY_LOCAL_MACHINE
  • SYSTEM
  • CurrentControlSet
  • Services
  • Lanmanserver
  • Parameters
4) In the right-hand portion of the Registry Editor look for a key called IRPStackSize

5) If the key exists, double-click on it and increase the decimal value to 15 and click OK. Close the Registry Editor, reboot the computer and try to connect to the
 network share. If you are still unable to connect follow the above steps again and increase the decimal number for IRPStackSize by 5 and try again. Continue to do this until the stack size is large enough to permit access. Personally, I had to increase the number to 25 before I could connect. The decimal range for the parameter is between 11 and 50.

6) If the IRPStackSize key DOES NOT exist in the right-hand column of the registry editor, then click on right-click in the blank area in the right-hand column and choose New

7) Then Click on D-Word under the Key column

8) In the Name of the new key, type the name IRPStackSize and press Enter. Type the name with the correct capitalization as shown above.

9) Now double-click on the IRPStackSize key and type 15 in the value data box and place a dot next to Decimal then click Ok.

10) Close the registry editor and reboot the computer. Try to access the network share again. If the same error appears follow the steps above to increase the value and reboot again. Continue this procedure until the problem is resolved. The decimal range for the parameter is between 11 and 50.


Written by Mark Hasting 

No comments:

Post a Comment