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."
- Question from Emma
How to fix RDP error “not enough storage is available to process this command”
It’s kind of annoyig for every user to encounter the issue when logging on RDP for remote control or accessing files on another computer over the network. Here in this part, the reasons and instructions to fix the error "not enough storage is available to process this command" on Server 2012R2/2022/2016 with Remote Desktop 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
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 and then type in “regedit”, hit "OK" to open Registry Editor.
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).
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".
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. Finally, the issue "not enough storage is available to process this command Windows service" would be solved.
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" on Windows Service. 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”.
Step 3. Then navigate to This PC > Local Disk (C): > Windows > Temp, press Ctrl + A and then delete all the 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".
Solution 5. Try Remote Desktop alternative
If you tried all the solutions above but the error remains, here we recommend you to use a remote access freeware-- AnyViewer. With AnyViewer, you can not only enjoy remote connection with one click but also experience the easy setup and stable connection. If you upgrade to the Professional or Enterprise, you can assign more devices and use various features like Privacy mode, which can disable the keyboard & mouse of the remote PC and blacken the screen of remote PC, protecting your data all the session. Follow me to know how to operate.
Step 1. Install AnyViewer. Sign up for the AnyViewer account and then log in to this account on the two computers. Once logged in, the PC will be assigned to the account automatically.
Step 2. After logging in, you can see your interface as the following picture.
Step 3. On the client computer, go to "Device", locate and click the PC that you need to control. And then click "One-click control" to achieve a remote connection with one click.
Now you must know how to fix “Not enough storage is available to process this command” on Server 2012R2/2022/2016 when log on through RDP. You can choose one of the solutions mentioned above to see which one is suitable for you. If you struggle to find an easier and reliable solution, I recommend AnyViewer to get you out of the trouble.