sd_####.tmp files keep generating under \LDClient\Data\ directory on the client

Version 4

    Verified Product Versions

    Endpoint Manager 9.6Endpoint Manager 2016.x

    Issue

    After a Windows batch file is distributed to the client, the disk space is getting occupied by files keep generating in the form of "sd_####.tmp" under \LDClient\Data\ directory.

    sd_tmp.png

     

    Cause

    The batch was given the same as the command being called in the batch file. Hence it was calling itself recursively, For example, command ping was called in the batch file and the file name is ping.bat.

     

    Resolution

    Rename the batch file and make sure it is not the same as any command used in the file.