About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
A Windows update fails and the message mentions memory or system resources. The two messages Microsoft's page gives are "Installer encountered an error 0x8007000e. Not enough memory resources available to complete this operation." and, for the second code, "Error : 0x800705aa" followed by "Insufficient system resources exist to complete the requested service." The page says that in most cases the cause is that the computer or VM does not have enough available virtual memory for Windows to install the update. The second code has one special case that is not about memory at all, and a log line tells the two apart.
The sections below read the computer's state first, then follow Microsoft's fixes, each with a way back. Everything before the Fix section only reads information.
What the error means
Microsoft's page (Troubleshoot Windows Update error code 0x8007000e or 0x800705aa, page dated 2026-02-12) applies to supported versions of Windows client, Windows Server and Azure virtual machines. It gives the two messages above and a note that the second message "typically occurs" when the update is installed with the dism /online /add-package command and a path to a .cab file.
In Event Viewer, the page says you "might also find Event ID 2004 recorded". Its example description reads: "Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory:" followed by the programs and the bytes each used; in the page's example the programs are three java.exe processes, the largest at 33,821,605,888 bytes. That event names the programs that were using the memory at the time.
Likely causes
The page's Cause section says: "In most cases, this issue occurs if the computer or virtual machine (VM) doesn't have enough available virtual memory for Windows to install the update." It then names two conditions:
- Third-party applications are consuming lots of virtual memory.
- The computer's virtual memory isn't managed automatically. Instead, it's manually configured.
The page adds one more for the code 0x800705aa. If the CBS log shows registry resources were involved, "the RegistrySizeLimit registry entry is set to a value other than 0. This value restricts the registry's maximum size. When the registry size grows to meet the configured limit, Windows can't perform necessary servicing activities, such as updates."
| Cause | Mainly with | How to see it |
|---|---|---|
| Programs using a lot of virtual memory | either code | Event ID 2004 names them |
| Paging file set by hand | either code | The virtual memory dialog shows automatic management turned off |
| RegistrySizeLimit not 0 | 0x800705aa | CBS.log lines about failing to load the COMPONENTS hive |
Prove the cause before changing anything
All of these only read.
- Open Event Viewer and look for Event ID 2004 around the time of the failure. Note the programs it names and the amounts. If a program is using many gigabytes, that program is a suspect.
- For 0x800705aa, look at the CBS log, which Microsoft's Windows Update log files page (dated 2026-02-11) places in
%systemroot%\Logs\CBS. The page says the registry case shows lines like these:
Failed to load the COMPONENTS hive from 'C:\Windows\System32\config\COMPONENTS' into registry key 'HKLM\COMPONENTS'. [HRESULT = 0x800705aa - ERROR_NO_SYSTEM_RESOURCES]
Failed to load component store [HRESULT = 0x800705aa - ERROR_NO_SYSTEM_RESOURCES]
The page also shows, as "a contrasting example", a log from a non-registry cause: DPX lines such as DpxException hr=0x800705aa and "Failed to create file" under the SoftwareDistribution download folder, during an Apply Deltas phase. If your log looks like that second pattern, the registry size limit is not your cause.
- Check the registry value without changing it. Open Registry Editor (
regedit) as an administrator, go toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Controland look for a value named RegistrySizeLimit. Note its data. If it is absent or 0, the registry limit is not a cause. - Check how virtual memory is managed. Search for
sysdm.cpl, select Advanced > Performance > Settings > Advanced > Virtual memory > Change, and look at whether "Automatically manage paging file size for all drives" is selected. Write down what you see, then cancel out of the dialogs. - Is the computer a VM? The page's note says that if so, "consider upgrading the virtual hardware of the VM to increase its available memory resources".
Example (illustrative): a hosted Windows Server 2019 machine fails a monthly cumulative update with 0x8007000e. Event ID 2004 near the failure names a reporting service using most of the virtual memory, and the virtual memory dialog shows a fixed paging file size. Both of the page's common causes are present, so the clean restart and the automatic paging file setting are the ones to try first.
Fix
Microsoft's Resolution section opens with an Important note: "Before you troubleshoot this issue, back up the operating system disk." For VMs the page points to Azure's restore guide. That backup is the save-first step for all of the following. The page puts a clean restart ahead of the resolution section as a workaround.
Workaround: a clean restart
Disruptive step: the next steps disable every non-Microsoft service and every startup item and restart the computer. Antivirus, backup agents, remote-management tools and line-of-business services all stop until you reverse it, so the machine is unprotected and unmanaged while in this state. Do it outside business hours, with a console route into the computer.
The page explains that normal startup starts "several applications and services" in the background, including antivirus and system utilities, which "can interfere with the update process", and that a clean restart starts Windows without them. Before this step, record which services and startup items are enabled, for example with screenshots. Microsoft's separate page on performing a clean boot suggests exactly that: keep track of which items have been disabled, because you need to know it later.
- Sign in to the affected computer as an administrator.
- In the Search box, enter
msconfig, and then select System Configuration. - In System Configuration, select Services > Hide all Microsoft services > Disable all.
- Select Startup > Open Task Manager.
- Under Startup in Task Manager, select each startup item, and then select Disable.
- Close Task Manager.
- In System Configuration, select Startup > OK.
- Restart the computer, then try the update again.
To undo it: Microsoft's clean boot page says to open System Configuration, select Normal Startup on the General tab, then on the Services tab clear Hide all Microsoft services and select Enable all and Apply, then on the Startup tab open Task Manager, enable the startup programs you disabled, select OK and restart.
General resource issues: automatic paging file
Risk: the next step changes how the computer manages its paging file and ends with a restart. A paging file that was set by hand may have been put on a particular drive for a reason, so ask who set it. The restart interrupts every user.
The page says that if the computer is a VM, consider upgrading its virtual hardware to increase available memory, and then gives the steps for automatic management. Before this step, record the current virtual memory settings (the settings noted in the proof section).
- Search for and open
sysdm.cpl. - In System Properties, select Advanced > Performance > Settings.
- In Performance Options, select Advanced > Virtual memory > Change.
- Make sure that "Automatically manage paging file size for all drives" is selected, and select OK.
- Restart the computer.
To make sure the problem does not recur, the page says to monitor the computer's available memory resources.
To undo it: open the same dialog, clear the automatic setting and re-enter the recorded values, then restart. A VM with its memory raised can have it reduced again only through the virtualisation platform.
Registry size limit
Disruptive step: the next change alters a registry value that limits the registry's size and is followed by a restart. A wrong change in the registry can leave the computer unable to start, and the restart interrupts every user.
This is the case where the CBS log shows the COMPONENTS hive failing to load. The page's own warning applies: "serious problems might occur if you modify the registry incorrectly". Its advice is to back up the registry before changing it. Microsoft's registry page says to "export the keys in the registry that you plan to edit". Write down the exact data of the RegistrySizeLimit value; that record is the undo. As a second record only, you may also export the key's values to a file, but do not rely on importing it, because it covers a very large branch. If the value is absent, there is nothing to change and this cause does not apply.
- In the search bar of the affected computer or VM, type
regedit, and then right-click Registry Editor in the search results. - Select Run as administrator.
- Select
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control. - Right-click RegistrySizeLimit, and then do one of the following: select Delete, or select Modify, enter 0 in the Value data field and select OK.
- Restart the physical computer or VM and try the update again.
Choose Modify with 0 rather than Delete if you want the back-out to be as simple as editing a value.
To undo it: if you used Modify, open the value again and enter the data you wrote down. If you deleted it, create the RegistrySizeLimit value again with the recorded data and type, then restart. Do not import the whole exported branch, which would also put back every other value in it as it was at export time.
If the issue persists, the page says to contact Microsoft Support and attach copies of any relevant CBS.log data to the request.
Confirm the fix
- The update installs, and no new 0x8007000e or 0x800705aa entry appears in the CBS log for the attempt.
- No new Event ID 2004 appears in Event Viewer during a normal working day.
- Virtual memory is still set to automatic, and RegistrySizeLimit is 0 or absent.
- After a restart and a normal day, the computer's memory use stays below what you saw at the failure.
What to watch afterwards
- Memory use of the programs that Event ID 2004 named. The page's first cause is third-party applications using a lot of virtual memory.
- Changes to the paging file made by tuning guides or hardening scripts.
- Registry size limit settings re-applied by a policy or script. The page does not say where the value comes from, so compare against change records.
- Whether the memory change needed on a VM is a hardware change on the platform; see which hosted-server changes need a restart.
Read next
Related articles you may want next.
- TroubleshootingWindows Server update fails with 0x800F0922 (CBS_E_INSTALLERS_FAILED): the corrupted SecureBootEncodeUEFI taskWindows Server update fails with 0x800F0922 (CBS_E_INSTALLERS_FAILED). Confirm the corrupted SecureBootEncodeUEFI task in the logs, back up, then fix.Read article
- HostingAdding CPU, memory or disk to a hosted server: which changes need a restartPlan CPU, memory and disk upgrades for hosted servers. Check which changes support live expansion, the conditions that apply and when a planned restart is needed.Read article
- TroubleshootingWindows Update error 0x80070422: the Windows Update service is disabled or not runningWindows Update error 0x80070422 means the Windows Update service stopped or is disabled. Read its start type, then fix it with a way back.Read article
Risks and limits
The page gives no memory figures, no minimum paging file size and no count for how common each cause is, and it says nothing about how to find what sets the RegistrySizeLimit value. The clean restart switches off protective software for as long as it lasts. The clean boot undo comes from Microsoft's separate clean boot page, not from the page for this error.
Sources
- Troubleshoot Windows Update error code 0x8007000e or 0x800705aa — Microsoft Learn, page dated 2026-02-12, accessed 2 December 2026
- How to perform a clean boot in Windows — Microsoft Support, accessed 2 December 2026
- Windows registry information for advanced users — Microsoft Learn, page dated 2026-02-12, accessed 2 December 2026
- Windows Update log files — Microsoft Learn, page dated 2026-02-11, accessed 2 December 2026
This article was originally published on .