Not enough memory resources are available to process this command

Published by Alvin Nyau - Updated on

If you receive the error that reads Not enough memory resources are available to process this command in Windows 10, it indicates that there is not enough memory to execute the command you enter, usually in CMD – command prompt. It may also happen when you access shared items on a Windows server.

If it’s the former situation, it’s usually due to stopped Windows core services caused by corrupted system files, conflicts between that involves system files, or malwares infections. We would suggest you to try the following solutions.

Update: If you’re seeing the Not enough memory resources are available to process this command error after trying to execute commands (and getting errors such as failure when attempting to copy boot files or fixboot access denied) for an attempt to fix the Windows rollback loop caused by the recent Windows 10 April 2018 update version 1803, you should try the fix in this post: Windows 10 update choose your keyboard layout. If that doesn’t work, try this: Windows rollback loop after Windows 10 update.

Fix: Not enough memory resources are available to process this command in Windows 10

If you are getting the error in command prompt, in the same command prompt (make sure they have admin privileges), enter the following commands.

sfc /scannow

This will run the system file scan to automatically scan and repair corrupted or missing files.

When the scan is completed, try executing commands you were entering earlier and see if it works now. If it still doesn’t work, or even the sfc /scannow is returning the “not enough memory resources are available to process this command” error, try to run DISM tool to repair Windows image.

In the command prompt, enter the following command.

Dism /Online /Cleanup-Image /RestoreHealth

DISM tool to fix Not enough memory resources

DISM, short for Deployment Imaging and Servicing Management, is a Windows built-in tool to update files and correct problems when your Windows image becomes unserviceable.

Repair upgrade using Windows 10 installation disk

If nothing from the above works, we recommend you to perform upgrade repair using Windows 10 installation disk. Here’s how to do it.

If your PC is un-bootable and unable to do the following, use another computer and follow step 1-3. If you can access to Windows 10 in your computer, skip step 4.

  1. Prepare an external hard drive or a USB flash drive that has at least 8GB or space.
  2. Go to https://www.microsoft.com/en-au/software-download/windows10. Click on the download tool now to download media creation tool.
  3. Run the tool to create Windows 10 installation disk on your external drive.
  4. Insert the installation disk to the problematic computer.
  5. Run the setup.exe from the drive. If you have no access to Windows Explorer, run it from Task manager by pressing Win+R keys, then taskmgr. Click File > Run new task, and browse to the setup.exe.
  6. In the setup, select upgrade Windows 10, and deselect check for new updates when asked.Windows 10 Not enough memory resources are available to process this command
  7. Choose if you want to keep all your files.
  8. Follow the rest of the instruction to complete the process.

Restart your computer and do whatever you were doing and see if the error not enough memory resources are available to process this command is still present.

Fix using Registry Editor

If you’re getting the error when you access to shared items on Windows server,  do the following to increase the IRPStackSize registry value.

Go to start menu. Search for regedit and open it. Navigate to the following registry folder.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

If the IRPStackSize entry cannot be found from the subkey, create it by right-clicking anywhere in the right pane. Select New, then DWORD (32-bit) value. Name it IRPStackSize.

Not enough memory resources are available to process this command

Double-click on IRPStackSize entry, in the data value, enter a larger value, for example, a value of 20 with decimal base. We suggest you to try a slight increase for the value first. Come back to this registry entry to increase the value if the not enough memory resources are available to process this command problem persists.

Description for sharing: How to fix the error "Not enough memory resources are available to process this command" in Windows 10, particularly when you execute commands in CMD, or accessing shared items on Windows Server.

Categories: Troubleshoot