How to keep files in the SDMCACHE directory for a longer period of time

Version 14

    Verified Product Versions

    Endpoint Manager 9.5Endpoint Manager 9.6Endpoint Manager 2016.x

    This document applies to LDMS 9.5 and older versions. For LDMS 9.5 Service Pack 1 and later please refer to the following document: How to alter the retention period for content to remain within SDMCACHE

    Issue

    How to change the time that files remain in the SDMCACHE directory.

    The SDMCACHE directory is where LANDesk products store files that were downloaded during Software Distribution or Patching tasks. By default, this folder is purged every 7 days on normal agents and every 14 days on subnet representative agents.

     

     

    Solution

    1. Change the following registry values on the client:

      32bit
      HKLM\Software\Intel\LANDesk\LDWM\Distribution\Multicast\Discard Period
      HKLM\Software\Intel\LANDesk\LDWM\Distribution\Multicast\Subnet Rep Discard Period

      64bit
      HKLM\Software\Wow6432Node\Intel\LANDesk\LDWM\Distribution\Multicast\Discard Period
      HKLM\Software\Wow6432Node\Intel\LANDesk\LDWM\Distribution\Multicast\Subnet Rep Discard Period
      Default Data for Discard Period is set to (604800) in seconds = 7 days
      Default Data for Subnet Rep Discard Period is set to (1209600) in seconds = 14 days

     

             Increase the data value in seconds.

     

              Note: When updating the registry, this will update the *.info files located in ldcacheinfo directory for the discard date.

     

          2. Restart the LANDesk Targeted Multicast service on the client.

     

              Note: This does not change the time for files that are already in the SDMCACHE directory. To change the time for existing files in Management Suite 9.0 SP2 or higher, delete the LDCACHEINFO subfolder from each directory containing files needing the longer discard period before restarting the service.

     

              To verify that the files have been cached the intended amount of time, run "TMCsvc.exe /F | more" from a command prompt in the \LDClient directory. This command will output cached files "time to live" values to the screen.