By Vivian / Last Updated December 1, 2021

Not enough storage is available to process this command Remote Desktop

Recently I encountered a problem that when I log on through RDP on my Windows Server 2012R2 as a new user, it pops up following warning says 'not enough storage is available to process this command'. While actually, the CPU and memory status was quite enough for system running. Can someone help me? Thanks a lot.

How to fix RDP error “not enough storage is available to process this command”

It’s kind of annoyed for every user to encounter the issue when logging on RDP to remote control or access files on another computer across the network In the following part, the reasons and instructions to fix the error can be listed for you.

Before you start, there are 2 quick fixes that can save a large amount of time if it works.

  •   Reboot your PC to check if the issue still exists.
  •   Check the storage space in Drive “Local Disk C”.( at least 30 GB free storage)

Solution 1. Change the Registry Value of IRPStackSize

IRPStackSize represents the input or output request stack size. The size of this stack is responsible for the amount of memory allocated for processing commands in Windows. The reason for the "not enough storage is available to process this command" error is that the range of IRPStackSize is reduced and thus cannot be operated in a larger range. So, we need to expand the range of IRPStackSize.

Step 1. Press Win + R and then type “regedit”, hit OK t open Registry Editor.

Run Box Regedit

Step 2. Navigation:



Step 3. Find “IRPStackSize” and then double click on it, change the value data into a larger number, such as 30 (range from 11-50).

Value Date Irpstacksize

Note: If you didn’t find IRPStackSize, just follow the following step.

Step 1. Locate “Parameters” as the above steps.

Step 2. On the right pane, right-click and select “New”, then choose “32 bit DWORD Value.

New Dword Value IRPStackSize

Step 3. Copy “IRPStackSize” and then paste as the name.


Step 4. Double-click on it and then change the value data as the above step is shown.

Solution 2. Delete the temporary folder

The temporary folder on your computer may have corrupted files or junk files, which may also trigger the RDP error " Not enough storage is available to process this command". So, we should clear these files.

Step 1. Press Win + R and then enter “%temp%”, hit OK.


Step 2. Press Ctrl + A and then right-click the mouse and then click on “Delete”.

Delete Temp

Step 3. Then navigate to This PC > Local Disk (C): > Windows > Temp, press Ctrl + A and then delete all the temp.

Delete Windows Temp

Step 4. Restart the PC and check whether the solution fix your issue.

Solution 3. Block UI app forks

You can shut down and restart the application to see if it works properly. The reason for doing this is because it will free up some Cache and create a new runtime space. Since the memory allocation will be freed, the error will go away temporarily.

However, the desktop heap for the window station will encounter storage issue again. To fix the issue permanently, configure the abc.exe that runs out of memory to avoid UI application forks in session 0. To solve the issue, you just have to configure the service in question make it not forks UI application in session 0.

Solution 4. Update Microsoft SQL Server

According to some users' feedback, they solved this problem after updating to the latest version of Microsoft SQL Server. If the latest Windows version is available on your computer, then install it. You can also install it on the official Microsoft website. After successfully updating Microsoft SQL Server, restart your computer.

After restarting, try to run the same service and check if you are still facing the RDP error "There is not enough storage available for this command".


How to troubleshoot the error “Not enough storage is available to process this command” when log on through RDP? I believe you must get the answer that is suitable for you most from the solutions mentioned above. If you struggle to find an easier and reliable solution, I recommend AnyViewer to get you out of the trouble.