Remote Monitoring & Management Help

Not enough storage is available to complete this operation - Patch Status Check Error

Troubleshooting Error: 'Not enough storage is available to complete this operation' when Patch Status Check scan fails

This section covers the steps to take when the Patch Management Patch Status Check scan fails with a Not enough storage is available to complete this operation error message which indicates a space or memory utilization issue on the device at the time the Patch Scan ran.

As part of this troubleshooting process it is necessary to run the Patch Status Check to determine whether the applied changes have resolved the issue and the Dashboard contains the option to Re-run Patch Status Check

Re-Run Patch Status Check

The Patch Status Check scan performs an intensive analysis of the system and as such it may take some time to complete.

  1. Log into the Dashboard
  2. Right-click on the target device in the north pane (or from the Server or Workstation drop-down)
  3. Patch Management
  4. Select Re-run Patch Status Check
  5. Once actioned this command is sent to the device and the Patch Status Check scan initiated

Ensure Microsoft KB3050265 is installed on the device

Microsoft identified an issue caused by the limitation in the Remote Procedure Call (RPC) layer where only 256 unique interfaces can be called from one process to another, normally associated with COM+ or Microsoft Transaction Server, that can lead to a "Not enough storage is available to complete this operation (0x8007000e)" error.

Further information on this problems is available in the Microsoft KB890425 article: You receive a "Not enough storage is available to complete this operation (0x8007000e)" error message when you call many objects from one process to another by using COM+

To alleviate this issue Microsoft released the patch KB3050265 which amongst other fixes ...addresses an issue in which Windows Update scans can fail and generate a 0x8007000E error and as a first step in troubleshooting a "Not enough storage is available to complete this operation (0x8007000e)" error please check whether KB3050265 is installed on the device.

Where KB3050265 is missing, we would suggest taking steps to install this patch as covered in the article: Windows Update Client for Windows 7: June 2015

Once installed, please Re-Run Patch Status Check to determine whether installing this patch resolved the issue.

Run Patch Status Check scan when the device load is low

Where Microsoft KB3050265 is installed on the device and the error message persists, the next step would be to initiate or schedule a Patch Status Check scan on the device when it is not in use; as this error message is related to load on the device when the Patch Status Check scan ran.

If the device load is currently low the scan may be actioned immediately using Re-run Patch Status Check or schedule the Patch Status Check to run/update when the device's load is minimal. Depending on the Agent version and configuration this is achieved by changing the Patch Scan schedule (Agent 10.5.8 or later) or Daily Safety Check run time on older Agent (by default the Patch Status Check runs after the Daily Safety Checks are completed).

Change the Patch Scan Schedule (Agent 10.5.8 or later)

  1. Log into the Dashboard
  2. Right-click on the target device in the north pane (or from the Server or Workstation drop-down)
  3. Edit Server or Edit Workstation
  4. Go to Patch Management
  5. Choose Scheduled Scan in the Patch Scan section
  6. Configure when to run the scan
  7. OK to exit and save

Change the Daily Safety Check Schedule

  1. Log into the Dashboard
  2. Right-click on the target device in the north pane (or from the Server or Workstation drop-down)
  3. Edit Server or Edit Workstation
  4. Under Check Frequency, alter the DSC Run Time to a time when the device has minimal load
  5. OK to save changes and exit out of the dialog

Delete files from Windows temporary directories

If the Patch Status Check scan still continues to fail when the device load is minimal, we would first suggest clearing the following Windows temporary directories on the device:

  1. Log into the target device
  2. Navigate to the following temporary directories and remove any files.
  3. C:\Windows\Temp
    C:\Temp
    %TEMP%

  4. Once complete, Re-run Patch Status Check to determine if clearing the temporary directories has resolved the issue.

Optimize the Device's Memory Configuration

If the Patch Scan continues to fail after clearing the Windows temporary directories, it may be necessary to optimize the device's memory configuration to maximize the size of the system cache's working set in addition to the LanGuard settings themselves. To apply this setting two registry values are changed, LargeSystemCache and LanmanServer\Parameters\Size.

  1. Log into the target device
  2. Open the Services console (Start/Run/services.msc) and stop the GFI LanGuard Attendant Service
  3. Open the Registry Editor (Start/Run/regedit)
  4. Backup the Registry. As changes are immediately applied with no automatic backup, in line with best practice we suggest backing up the Windows registry before amending the registry.
  5. The required steps are covered in the Windows Microsoft Technet article How to back up and restore the registry

    LargeSystemCache

    1. Navigate to HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\MemoryManagement\LargeSystemCache
    2. Right-click on LargeSystemCache
    3. Choose Modify
    4. Set the Value Data to 1
    5. OK to save changes

    LanmanServer\Parameters\Size

    1. Navigate to HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size
    2. Right-click on LargeSystemCache
    3. Choose Modify
    4. Set the Value Data to 3
    5. OK to save changes
    6. Exit out of the Registry Editor then restart the device to apply the updated memory configuration changes
    7. Once the device is reporting back to the Dashboard, select Re-run Patch Status Check to see whether optimizing the device's memory has resolved the issue

Increase the Page File Size

Where the Patch Status Check scan continues to fail after optimizing the device's memory configuration, our final suggestion is to increase the page file size as this would provide additional virtual memory capacity on the device.

  1. Log into the target device
  2. Click the Start button, right-click on Properties then Properties
  3. Click Advanced system settings in the left menu, provide the administrative password if prompted
  4. Choose the Advanced tab in the Systems Properties dialog
  5. Click Settings in the Performance section
  6. Choose the Advanced tab in the Performance Options dialog
  7. Click Change in the Virtual memory section
  8. Clear the Automatically manage paging file size for all drives check box
  9. Under Drive [Volume Label} choose the drive containing the page file to change
  10. Click Custom size and enter a new size in the Initial size (MB) or Maximum size (MB) boxes
  11. OK to apply

Increases in the size of the Page File does not normally require a device restart for the changes to take effect, however if decrease the Page File size a restart is required.

Once complete, Re-run Patch Status Check to determine whether this increase in the Page File size has resolved the issue.

Please note that we are not responsible for the content of external sites.