If you encounter the error message “Not enough memory resources are available to process this command” in Windows 11 or Windows 10, it typically means there isn’t sufficient memory to execute the command, especially in the command prompt (CMD). This error can also occur when accessing shared items on a Windows server.
In this article, we will discuss various solutions to fix this issue and make your Windows system run smoothly again.
Possible causes of the error
Understanding the potential causes of the error can help you identify the right solution. Here are some common reasons why you might be experiencing this issue:
- Insufficient memory allocation: Windows might not allocate enough memory resources for a specific task or application, causing the error.
- Corrupted system files: Essential system files may become corrupted due to various reasons, such as an unexpected system shutdown or a faulty software installation. This can lead to the error message.
- Software conflicts: Some programs, especially those that require system-level access, may conflict with the core Windows services and cause memory issues.
- Malware infections: Malicious software may infiltrate your system and disrupt core services, leading to the error message.
Not enough memory resources are available to process this command in Windows 11/10
This error is usually caused by disruption of Windows core services due to corrupted system files, software conflicts involving system files, or malware infections. Follow the steps below to repair corrupted or missing files using SFC and DISM tools.
Run System File Check
- Open a command prompt with admin privileges.
- Enter the following command:
- 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
Run DISM Tool
If the issue persists or the SFC tool returns the same error, try using the DISM tool to repair the Windows image.
- In the command prompt, enter the following command:
Dism /Online /Cleanup-Image /RestoreHealth
- DISM, short for Deployment Imaging and Servicing Management, is a built-in Windows tool that updates files and corrects 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 the previous solution doesn’t resolve the issue, perform an upgrade repair using a Windows 11/10 installation disk. This method is similar to resetting Windows to factory default but allows you to keep your files. Be sure to backup important files before proceeding, and follow these steps:
- Prepare an external hard drive or a USB flash drive with at least 8GB of space.
- Visit https://www.microsoft.com/en-au/software-download/windows10 and click on “Download tool now” to download the Media Creation Tool.
- Run the tool to create a Windows 11 or Windows 10 installation disk on your external drive.
- Insert the installation disk into the problematic computer.
- Run the
setup.exefrom the drive. If you can’t access Windows Explorer, run it from Task Manager by pressing Win+R keys, then type
taskmgr. Click File > Run new task, and browse to the
- In the setup, select “Upgrade this PC now,” and deselect “Check for new updates” when prompted.
- Choose “Keep all your files.”
- Follow the remaining instructions to complete the process.
Restart your computer and check if the error is resolved.
Fix using Registry Editor (For Windows Server shared items access)
If the error occurs when accessing shared items on a Windows server, follow these steps to increase the IRPStackSize registry value:
- Go to the Start menu. Search for
regeditand open it.
- Navigate to:
- If the IRPStackSize entry is not found in the subkey, create it by right-clicking anywhere in the right pane. Select New, then DWORD (32-bit) value. Name it IRPStackSize.
- Double-click on the IRPStackSize entry, and in the data value, enter a larger value, for example, a value of 20 with a decimal base. We recommend starting with a slight increase in the value first. If the “not enough memory resources are available to process this command” issue persists, return to this registry entry and incrementally increase the value until the problem is resolved.
By following these solutions, you should be able to resolve the “not enough memory resources are available to process this command” error in Windows 11/10. Remember to always keep your system updated and perform regular maintenance to prevent similar issues in the future. If the problem persists after trying these solutions, consider seeking professional assistance or contacting Microsoft support for further guidance.