How to manually configure the patch cache size and location for PME

Last Modified

Fri Apr 17 12:01 GMT 2024

Description

  • The Patch Management cache is too big
  • How do I control the size of the patch cache?
  • How to I change where the patch cache is stored?

Environment

  • N-able RMM
  • N-able N-central
  • Patch Management (PME)

Solution

  • The default location of the Patch Management patch cache is found here:

    C:\ProgramData\MspPlatform\FileCacheServiceAgent\cache

  • The maximum cache size defaults to 10GB
  • Both of these are re-configurable, either manually or using the Diagnostic Tool
  • To manually re-configure this within the Cache Service:
    1. Stop the FileCacheServiceAgent service.
    2. Open the following file:

      C:\ProgramData\MspPlatform\FileCacheServiceAgent\config\FileCacheServiceAgent.xml

    3. Set the value of the CacheLocation key to your desired cache location.
    4. Change the value of the CacheSizeInMB key to your desired cache size (in MB).
    5. Start the FileCacheServiceAgent service.
  • To change this with the Diagnostic Tool:
    1. Launch the Diagnostic Tool, found here:
      • N-able RMM default location:

        <AMA Installation Folder>\FileCacheServiceAgent\FileCacheServiceAgent.DiagnosticTool.exe

      • N-able N-central default location:

        C:\Program Files (x86)\MSPPlatform\FileCacheServiceAgent\FileCacheServiceAgent.DiagnosticTool.exe

    2. Click the Cache Settings tab.
    3. Click Get Configuration.
    4. Edit the Cache location and Cache Size (MB) fields as desired.
    5. Click Set Configuration.

When adding a new patch cache location, please make sure it is granted the same permission as the previous location.