Not enough server storage is available to process this command

Martin Brinkmann
Jan 13, 2008
Updated • Jan 7, 2013
Windows
|
78

Not enough server storage is available to process this command is a message that you may receive when you try to access a shared resource on a network. The Event ID: 2011 may also be written referring to the configuration parameter IRPStackSize. If the IRPStackSize is not present in the Registry the default value which may not be large enough for the server service to administer shared folders on some of the physical drives.

To solve this problem open the Registry by pressing Windows and R on the keyboard at the same time. This opens a run box on the system that you can use to load programs. Type in regedit and tap on the enter key afterwards to start the Windows Registry editor. Note that you may receive an UAC prompt which you need to accept before it opens up.

Use the folder structure on the left of the window to navigate to the following key in the Registry: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ lanmanserver \ parameters. Check on the right side of the screen if the parameter IRPStackSize exists.

irpstacksize not enough server storage

 

If you can't find the parameter but receive the error message then you should create it to fix the issue. To do so right-click on Parameters and select New > Dword from the context menu. Name the entry IRPStackSize. It should appear on the right once you have done that. Double-click the entry to change its value. The default value for it is 18 and you should raise it to 21 if you get the not enough server storage error.

Reboot your computer afterwards and see if the issue has been resolved. If that did not do it, increase the value of the parameter by 3 again and repeat that until your issue has been fixed or you'd reach a value larger than 50. That's the maximum size of the parameter.

Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. bebe said on May 19, 2014 at 9:06 am
    Reply

    works for me! Thank you!

  2. wizarddrummer said on August 23, 2012 at 1:55 am
    Reply

    Thanks again for the tips and thanks again Microsoft for your completely inept, moronic approach to Software Design that pervades every single application from OS’s to Paint that you develop.

    Thank you for making everything obtusely complex with endless extra clicks to perform tasks and retarded, non essential, Registry settings that shouldn’t be there in the first place.

    A Chimpanzee could have figured out that if someone wants to share a folder, on a hard drive that has more than 150 GB of space that, the full 150 GB would be available without having to jump through hoops with your cryptic messages and ridiculous settings that have to be modified in the Registry itself.

    Microsoft = Morons has been, is, and always will be my catch phrase for your company.

  3. Rahul said on August 12, 2012 at 12:20 pm
    Reply

    Thanks a lot it works

  4. N2KMaster said on July 1, 2012 at 7:15 pm
    Reply

    Had the same issue, right random to. The only thing new ive added to the machine was net framework 4.0 and directx, windows 32bit xp pro, and no this didnt solve it for me, it seemed to affect only the network mapped drives as well.

  5. jakob said on April 25, 2012 at 7:52 pm
    Reply

    YEAH!!! this worked freeking great!!!

  6. christian027 said on February 9, 2012 at 1:53 am
    Reply

    ..thanks….it works….

  7. Sheenam Jindal said on January 5, 2012 at 7:57 am
    Reply

    Hi,
    I got the same error (Not enough storage)in visual studio 2005.
    I have put the value 50 dec in DWORD in windows 7. It still doesnot work out. Please suggest me something else.

  8. Download iPad 2 said on October 31, 2011 at 6:12 am
    Reply

    Thank you for this tutorial, Now I can fix the problem of my computer. :) Thanks a lot.

  9. Blake said on September 10, 2011 at 11:06 pm
    Reply

    Identified you blog site by way of bing I must say I m fascinated together with your discussions!

  10. sandeep said on September 10, 2011 at 11:25 am
    Reply

    facing this problem from last couple of months
    Now finally your blog help me come out from this issue

    Thanks Alot…………..

  11. no3gods said on September 8, 2011 at 9:36 pm
    Reply

    Worked for me on WinXP SP3. Now I can use LogMeIn Hamachi! :)

  12. Tim in Hollywood said on July 22, 2011 at 12:55 am
    Reply

    This solved it for me, too.

    I had already tried this by using the Microsoft KB article, but it didn’t note two very important items:

    1. A system re-start is required after the registry edit.

    2. This registry modification needs to be done on the “server” computer, not the “client” computer.

  13. SC said on June 5, 2011 at 11:07 am
    Reply

    Thanks. Was the last step to a 7 hour night.

  14. bunto said on April 7, 2011 at 9:37 am
    Reply

    thanx man,
    this resolved my issue with a SAN volume (emc) shared from a win 2k3 machine. the strange thing was that the local partition of that machine was accessible through share but the san volumes were giving this error. i even mount a different san (ibm) just to check if this is something to do with the san (emc). but it gave same error msg for ibm vol.

    Thanx again!!!!

  15. Simon said on February 26, 2011 at 7:45 am
    Reply

    Thx mates, it works!

    Simon

  16. jack said on January 1, 2011 at 12:37 am
    Reply

    I’m getting this message over and over on my VPS that are running Windows Server 2008, is it okay for me to change the value (regedit) to > than 15, I’m thinking of 25-30, without crashing my server? Anyone? Thanks!

  17. vlad said on November 24, 2010 at 7:09 pm
    Reply

    it worked for me! thanks

  18. Coffee said on October 29, 2010 at 6:05 am
    Reply

    Thanks!
    I followed your instruction and solved the problem of two XP computers not able to share files with each other.

  19. NIkola said on March 27, 2010 at 8:15 pm
    Reply

    thaks it works yust fine

  20. Linus said on March 26, 2010 at 4:50 pm
    Reply

    Thanks – worked great…. what the heck causes this?

  21. tom said on February 19, 2010 at 12:54 am
    Reply

    Hey guys! Solved the problem by uninstalling Acronis True Image . hope that will help !

  22. Patrick said on January 30, 2010 at 1:45 am
    Reply

    Fabulous answer, I’ve been running around with USB sticks for almost a year. I set my IRPStackSize to 21 (use Decimal) under Windows XP Home SP3. Worked like a CHARM… Course now it may be a mote point with Windows 7 being such a FANTASTIC release. XP may now become only a fond (very) memory…

  23. Neysh said on January 8, 2010 at 8:01 am
    Reply

    Wow – had never seen this error on any system until a recent switch to a new computer running Windows 7.

    A backup utility reported the error when copying from an existing WinXP system to new Win7 system. Edited registry on Win7 to add the key as Decimal 21 (it was not there) and all was just fine afterwards.

    What I’d like to know is how on earth did Martin find it in the first place!?
    THANKS!

  24. TJ said on November 5, 2009 at 1:31 am
    Reply

    AWESOME! Had a client with a 6 xp station network. Has been working fine for over a year. It suddenly wouldn’t see an external USB HD that is used for nightly backups. Said it was now an Internet share.

    This fix worked! Did it on the machine that had the external drive – rebooted – and all the other machines could see it again!!!!!

  25. Joon said on October 29, 2009 at 12:48 am
    Reply

    Thank you so much!!! I finally get solved by following your instruction. You saved my day! :)

  26. Hawkeye said on October 25, 2009 at 12:30 am
    Reply

    Magic!!!!!!
    Have a home network with 3 XP and 1 Vista PC’s which has been running fine for about 18 months
    Suddenly last night 1 of the XP PC’s developed this problem. Nothing new installed or changed (except an update to Adobe Reader) and suddenly no access to any shares
    Googled the message, found this fix, applied it with value of 21, then HEY PRESTO, NO PROBLEMS
    THANKS MUCHLY

  27. Pam said on October 1, 2009 at 6:57 pm
    Reply

    What gets me is how in the world has this server ran for 3 years and not had this problem until now?

  28. Tony North said on September 17, 2009 at 8:57 am
    Reply

    You The Man! Solution worked perfectly for me!

  29. Brian Thomas said on September 16, 2009 at 2:06 am
    Reply

    So… I’ve got a problem with the “not enough storage to process this command” error, but the premise seems to be a bit different from everyone else here, and I can’t see how it seems to be a sharing issue as it is just my sole computer, running vista, with a cable modem being my direct internet access point. I get the error when I am trying to install the Windows Media Format 11 runtimes on my computer, and as a result have never installed said codec and been settling with WMF9 ever since I bought the computer maybe two years ago. I just did a clean reformat as part of a ritualistic cleanup process, and it doesnt matter what state the compy is in… it never has worked once. Any thoughts? I’d like to consider myself fairly computer savvy, granted no programmer, but have been kinda stumped on this one. Tried installing both with elevated priviledges and regular, no diff. Any help would be awesome!

  30. peter adamson said on September 3, 2009 at 5:24 pm
    Reply

    I too have had this problem for three weeks – and it’s really central to the way I work – so this solution was A REALLY BIG HELP. I had to set the IRPStackSize on my desktop to 18 before the problem was solved (linking a vista laptop tp an XP desktop). Many many thanks.

  31. iTropics said on September 1, 2009 at 12:13 pm
    Reply

    Thanks. It worked for me. I added the IRPStackSize in Vista Home Premium, at first I typed 25, the client said that it worked for 12 hours and she received the error again on a different drive but still using the same server PC. That is why I changed 25 to 50. Hopefully, the client will not receive the error again.

    1. iTropics said on August 28, 2011 at 7:33 am
      Reply

      what totally fixed my issue was by disabling SMB2 on Vista (which serves as the server) & having XP (as client). More info here http://www.itropics.net/index.php/computers/networking/101-xp-disconnects-from-vista-shared-file

  32. Jorge said on August 30, 2009 at 6:23 pm
    Reply

    Thanks!
    I have two USB drives (1TB & 500GB) connected to my XP SP2 machine, and was only able to access the 1TB from my VISTA 64bit machine. After applying this REGEDIT to both machines, I can now access both drives.

  33. C-moua said on August 10, 2009 at 8:29 pm
    Reply

    Awesome ! thanks so much for this tip :)

  34. west said on July 29, 2009 at 8:25 pm
    Reply

    i didnt see the IRPStackSize but when i try to create one with that name it says it already exist???

  35. west said on July 29, 2009 at 3:16 pm
    Reply

    do i do this for each folder?

  36. FarVision said on July 28, 2009 at 3:32 pm
    Reply

    This registry addition solved this on two machines. Thanks.

  37. Simon said on July 13, 2009 at 10:47 am
    Reply

    Fantastic, fixed at last.

    TVM

  38. JoePapa said on June 15, 2009 at 9:05 pm
    Reply

    Had to increase value to 18 but now it is working. Awesome fix!

  39. Omari said on June 13, 2009 at 10:14 pm
    Reply

    I was having the same problem. First I thought it was permissions, firewall settings, and even wireless settings. This was the trick to my fix. Thanks!

  40. Melvin said on May 28, 2009 at 11:07 am
    Reply

    I’ve tried this simple registy add-on and after restarting the computer everything works fine. Thanks very much for the tip.

  41. Jisad said on May 24, 2009 at 3:40 pm
    Reply

    Thanks
    My problem has been solved

  42. Michael said on May 22, 2009 at 10:58 pm
    Reply

    I got two computer, one HP media center box and one Lenovo X60s laptop. Both reinstalled with the same version of XP SP3. HP sharing works fine but Lenovo machine shows the above message all the time when accessed from the network. Applied above tip and magic happens! everything is working. Thanks a lot.

  43. Danny said on May 15, 2009 at 5:27 pm
    Reply

    Hi,

    So Questions,

    Client of mine had this a few weeks ago and added the IRPStackSize and set it to 21 all worked for 3 weeks, then this morning I get a phone call and its the dreaded “Not enough server storage is available to process this command” was back,

    so i logged in remotely and tried to get into the Regedit and its was missing off the PC and also the Start>Run was not working. strange so i had to copy files over from my pc. and i went back into the IRPStackSize and had to increase to 24 and now is working again.

    What cause the IRPStackSize to stop working, and what happens once i get to 50 and cant get above?

    Dan

  44. Eric said on May 15, 2009 at 7:44 pm
    Reply

    Here’s a followup to my computer not starting… It took about 5 min for my computer to load the sign on page for Windows XP. Initially, the computer would start, ask if I wanted to start in ‘safe mode’, I said yes and after many of the files scrolled over the screen, it would shut off. I rebooted three times.

    I am happy to say, that I am now able to access my external shared drives! I am running a xp that has three external drives and a mac.

    Thank you

  45. Eric said on May 15, 2009 at 7:20 pm
    Reply

    I just completed the modifications to the registry and now my computer won’t start…

  46. Jeff said on May 15, 2009 at 7:10 pm
    Reply

    Thanks a lot,

    Edited the registry on my WinXP 64-bit that is acting as the host server.

    Had to create the dword value and used a hexadecimal value of 21.

    So far, so good.

  47. Jason said on April 30, 2009 at 12:42 pm
    Reply

    Thanks for this tips… Finally, I solved my problem…

  48. Jeremiah said on April 29, 2009 at 5:59 pm
    Reply

    All,

    I also witnessed the infamous “Not enough server storage is available to process this command” last night on a friends system. 3 machines running XP Pro SP2, SP3 X 2, same workgroup. Could see the shared files from the “server” machine, but as soon as I went to a share, got the message. I was doing a Quickbooks Enterprise 9.0 upgrade for them, from Quickbooks Pro 2008. If I ran QuickBooks enterprise on the “server” machine, the clients could not connect to the share. Got the same message mentioned above. As soon as I closed out of Quickbooks on the “server” machine, the clients could connect to the share and Quickbooks. Intuit is pointing the finger at MS. They have Norton on 2 machines, and McAfee on another.

    My question: I added the lanmanserver DWORD reg entry on the “server” machine. It did not resolve the situation mentioned above. Do I need to add this to the clients as well?

    Thanks,
    Jeremiah

  49. Sean said on April 28, 2009 at 4:59 pm
    Reply

    Hector says:
    April 27, 2009 at 5:42 am
    Symantec’ s Norton can also be the cause. Removing the software solves the issue.

    Why does that not surprise me?

    =========================================

    Having this problem on an XP Pro workstation, several actually;
    I went to HKLM…Services and I see there are subfolders for ‘lanmanserver’ and ‘lanmanworkstation’ with similar listings underneath.

    Should I apply the new DWORD value under lanmanworkstation or still under lanmanserver.

    Just wanted to clairfy.

    Thanks!

  50. Hector said on April 27, 2009 at 5:42 am
    Reply

    Symantec’ s Norton can also be the cause. Removing the software solves the issue.

  51. Vikas said on April 23, 2009 at 5:46 pm
    Reply

    Hi !

    I had the same issue, so I just moved the page file from C drive to another partion and rebooted the server.
    The issue was resolved.

    Cheers!

    Vikas

  52. Bob B. said on April 9, 2009 at 7:54 pm
    Reply

    Wow! Your solution worked great for me. Both my desktop & notebook have Windows XP and both had the Dword value set at 11 so I changed them to 18. I have never been able to transfer files using the notebook. Now I can transfer files from either. Thanks a million.

  53. Dan said on April 7, 2009 at 10:35 pm
    Reply

    Had to do this from the computer that I was sharing the resource. It worked great! Thanks a million!

  54. Bhavesh Dave said on March 29, 2009 at 9:02 pm
    Reply

    Dear Sir,

    I have in my computer Window vista ultimate 32bit. I have cheange till 50 but my problem is not got solve. I have tried to solve but same problem I am facing. If there is any other solution please send me email.
    Thanks .

    Bhavesh

    1. ajb42114 said on October 13, 2009 at 1:04 am
      Reply

      Did he ever come back to you about this? I have the same problem, having set the IRPStackSize to 50, I still get the error message.

      1. M.Reza Mesgari said on May 2, 2016 at 7:02 am
        Reply

        me too

  55. Dhruwal Patel said on March 26, 2009 at 6:14 pm
    Reply

    Changing value of IRPStackSize to 21 and a reboot worked for me.

  56. Will R. said on March 18, 2009 at 4:31 am
    Reply

    Was trying to access a shared folder on a very large partition with a media player. Needles to say that as soon as I applied the above fix and rebooted, my Vista machine and my MVix media player both were able to see the contents of the share.

    Many thanks.

  57. SlimJimGuyMan said on March 7, 2009 at 4:13 am
    Reply

    Thanks bro.

  58. Clutch Cargo said on February 27, 2009 at 1:20 am
    Reply

    Hi Janet,

    This is what worked for me and I too use Windows XP. To recap, I could only share files in one direction between my two computers. As one was giving me the “Not enough storage is available to process this command…” message So I suggest try the following:

    “Not enough server storage is available to process this command” is a message that you can receive when you try to access a shared resource on a network. The Event ID: 2011 may also be written referring to the configuration parameter IRPStackSize. If the IRPStackSize is not present in the Registry the default value which may not be large enough for the server service to administer shared folders on some of the physical drives.

    To solve this problem open the Registry and navigate to the key HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services lanmanserver parameters and check if the string IRPStackSize exists. If it does not exist create a new Dword with the name IRPStackSize.

    The default value for this Dword is 18 and you should raise the value by adding 3 to it. The first value for IRPStackSize would be 21. Reboot your computer and see if that solved the problem. If you still get the error message add 3 again and reboot your computer again.

    The maximum size for IRPStackSize is 50.

    Here’s another step by step description which worked:

    * Start
    * Run
    * regedit
    * Navigate to HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLanmanServerParameters
    * with the Parameters folder selected, right-click it
    * go to New and click DWord Value
    * type IRPStackSize exactly as displayed
    * change base to Decimal
    * I set my value to 30 because the default value of 15 didn’t work for me
    * close out of the registry and reboot the server.
    * It worked!

  59. Janet said on February 27, 2009 at 12:24 am
    Reply

    I am not sure where to post this, but the problem I am having is this:

    “The system cannot log you on due to the following error: Not enough storage is available to process this command…”

    I get this error in Windows XP, does anyone here know how to fix this?

  60. Clutch Cargo said on February 22, 2009 at 7:33 am
    Reply

    Ok, got mine to work now. The trick was putting the value in DECIMAL format, not hexdecimal (may be self-evident to some people but not to me). Also, I ended up placing the parameter on both PCs just to make sure. Sure enough, I can now share files both ways between the two PCs. :)

  61. ckmerc said on February 21, 2009 at 8:04 am
    Reply

    Dude…thanks…was on the computer for 3hrs…many thanks!!!

  62. Clutch Cargo said on February 21, 2009 at 1:21 am
    Reply

    I tried the fix but still no luck. Perhaps I am doing it wrong? I added the value to my laptop which is seeing the error message. I can share/see files I want from my desktop side n problem. But lately I cannot from the laptop side..HELP!

  63. Bob said on January 31, 2009 at 2:09 am
    Reply

    Fixed! Thank you, thank you….!

  64. djrichard said on January 24, 2009 at 8:19 pm
    Reply

    Worked like a charm for an XP Pro machine. Thanks!

  65. Sydney Ferguson said on January 24, 2009 at 3:25 pm
    Reply

    I have been struggling with the same issue for 2 weeks now…Who would’ve thought that the problem could lie in the registry? This was an awesome relieve to have it work again as it should! Thank you Martin! You’ve been a great help and wish you all the best!

    Regards

    Sydney

  66. Jason G said on January 14, 2009 at 10:48 am
    Reply

    Worked like a charm on my XP Pro SP3 box. Was getting the message and related event log entry until I got the value up to 24 and haven’t seen it since. Been 2 weeks.

    Thanks!!

  67. Hilo said on December 11, 2008 at 7:45 pm
    Reply

    Just purchased a Compaq with Vista on 32 bits installed, would not access my laptop over a wireless network, still working on it… got up to value 30 so far…

  68. Zso said on November 26, 2008 at 1:40 am
    Reply

    A very good hint, I had no clue how to get on top of this issue before I found this article.

    The setting was completly missing from my Windows XP pro. I was only able to connect to the shared printers, now everything is fine.

  69. eric said on November 13, 2008 at 9:46 pm
    Reply

    Had a customer in need. All is well now. Thanks a bunch!!

  70. Dexter Jones said on September 17, 2008 at 6:12 am
    Reply

    I too commend you on this tip. Was unable to share external USB drives. Made this simple registry entry and and now ALL IS WELL! Using a Windows XP Pro machine

  71. Radarman said on April 23, 2008 at 6:50 pm
    Reply

    I am running server std 2003, and I did not have the IRPStackSize Dword. I added it, set it to 21, rebooted the server and all fixed.

    Thank you for this tip.

  72. manish said on January 19, 2008 at 5:06 pm
    Reply

    thans a lot

  73. SQrL said on January 14, 2008 at 7:20 pm
    Reply
  74. Andrew said on January 14, 2008 at 3:19 pm
    Reply

    Martin, (or anyone!) I’ve a few questions about this topic.

    1. Which versions of Windows does these particular values apply to? I’ve seen this many, many times on several of my Windows 2003 servers.

    2. Any idea what IRPStackSize really is?

    3. What causes this problem?

    4. Do we perform this operation on the machine hosting the share or the mean accessing the share (which would be the one to display the error)?

    5. What are the downsides of increasing all the way to 50? (increased memory usage?)

    6. Is this related to a ‘page pool’ at all?

    I’d love to be able to prevent this error from crippling our operations but have struggled to find answers to the about.

    1. Peter said on December 12, 2009 at 11:28 pm
      Reply

      I found that uninstalling Macrium Reflect corrected the problem for me.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.