Not enough memory resources are available to process this command

If you encounter the error message “not enough memory resources are available to process this command” while running a command in command prompt in Windows 10, this usually indicates that there is not enough memory available to execute the command.

Every command you execute on the command prompt uses system resources to be processed. For a command execution, many operations are performed on the hardware and software level in the background.

The reason for this error might be Windows core services stooped working due to corrupted system files, too low IRPStackSize registry entry, etc. Well, In this guide, we will walk you through some troubleshooting steps to fix this error.

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

Before you proceed with further steps, we recommend scanning all the system’s corrupted files and fixing them. Run the following command in command prompt admin.

sfc /scannow

This command will scan all the system files, and if there are missing and corrupted files, they will be repaired.

If you’re unable to run the sfc /scannow command, and getting the same error “not enough memory resources are available to process this command” message, don’t worry, try the following steps to tackle this error.

Run DISM Tool

Deployment Image Servicing and Management (DSIM) is a command-line tool. You can use this tool to mount and service the Windows image files before the deployment process. You can use the DSIM command to get information about the Windows image files or virtual hard disks.

  1. First of all, click the start menu button and search “CMD” in the search box.
  2. Right-click the command prompt in the search result and select Run as administrator.
  3. Type the following command in the command prompt admin, then hit the enter button on the keyboard.
Dism /Online /Cleanup-Image /RestoreHealth

This command may take some time for the operation to be completed. This command uses the Windows update service to provide the files that are needed to fix the corruptions.

Increase IRPStackSize value

In Windows operating system, IRPStackSize is a parameter that specifies the number of stack locations in input and output request packets. For more information about IRPStackSize, follow this guide – https://www.webopedia.com/definitions/irpstacksize/

The default value of IRPStackSize parameter is 15, you can use the registry editor to increase the value.

  1. Press Windows Logo + R shortcut key to open the Run Box.
  2. Type “regedit” in the Run box, then hit enter button.
  3. This open Register Editor.
  4. Navigate to the following directory – HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
  5. Hit the Double-click the IRPStackSize key and change its value to 15 or a large number (15-20).

If you didn’t find the IRPStackSize key, then right-click the blank area and create New > DWORD (32-bit) Value with the name of IRPStackSize.

Now, open the command prompt and run the command you were trying to run when encountering the error message “not enough memory resources are available to process this command”, and see if this fixes your problem.

Use Windows 10 Media Creation Tool for Upgrade Repair

If none of the above methods work, download the Windows 10 Media creation tool, and run it on your computer and choose the Upgrade this PC now option instead of Create installation media.

Not enough memory resources are available to process this command

If you’re unable to boot your PC, use another computer to create Windows 10 installation media drive, then use this drive to repair your computer. However, you can repair your computer without installation media drive.

For a detailed guide about how to create Windows 10 installation media drive, follow this guide – How to free download Windows 10 using the media creation tool

Related articles:

I hope this guide is helpful for you, if you have any question, fell free to comment below.

Leave your reply here

Scroll to Top