Not enough memory resources are available to process this command

If you receive the error that says Not enough memory resources are available to process this command in Windows 11 or 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 disruption of Windows core services caused by corrupted system files, software conflicts that involves system files, or malwares infections. We 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 a recent Windows update, you should try the fix in this post: Windows update choose your keyboard layout. If that doesn’t work, try this instead: Windows rollback loop after Windows update.

Fix: Not enough memory resources are available to process this command in Windows 11/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

SFC scannow Windows 11

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

Also see: How to Startup Repair Windows 10/11 using Command Prompt

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.

Suggested Guide: How to Know Which Process is Using a File in Windows 11

Repair upgrade using Windows installation disk

If nothing works to resolve the issue, we recommend you to perform an upgrade repair using Windows 11/10 installation disk. Note: This is similar to resetting Windows to factory default, but you will have a choice to keep your files. Backup important files before proceeding and proceed only if you know what you are doing. 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 on your computer, skip to 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 11 or 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 this PC now, and deselect check for new updates when asked.Windows 10 Not enough memory resources are available to process this command
  7. Choose keep all your files.
  8. Follow the rest of the instruction to complete the process.

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

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: Fixes for "Not enough memory resources are available to process this command" in Windows 11/10, particularly when you run commands on CMD.

Published by Nyau Wai Hoe - Updated on