MeshCentral-ScriptTask icon indicating copy to clipboard operation
MeshCentral-ScriptTask copied to clipboard

Repeating Scripts being saved in the Mesh Agent folder and filling up the client disk

Open fireball8931 opened this issue 1 year ago • 2 comments

Please see https://github.com/Ylianst/MeshCentral/discussions/5850 And console.txt

I discovered that a bunch of client devices had multiple Gigabytes worth of ps1 and txt files in the Mesh Agent folder on the C:\ drive going back a couple of years.

After posting to the MeshCentral issues page, we discovered that the most recent ps1 and txt files were from July 2023, which is around the time I stopped using this plugin because I switched to using Proactive Remediations in Microsoft Intune.

We figured out it had to be this plugin because it saves ps1 and txt files to, you guessed it, the Mesh Agent folder.

You probably should build in some garbage collection to prevent these files from filling up client disks. It also might be a security issue leaving all these scripts in an easy to find location that users have access to.

The fix on my end was to stop using the plugin and purge the c:\Program Files\Mesh Agent\ folder of all the ps1 and txt files

fireball8931 avatar Feb 22 '24 21:02 fireball8931

Good to know, I'll check my folders, if this is really happening I should disable the plugin and look for another alternative until this problem is resolved.

diegogyn avatar Sep 07 '24 01:09 diegogyn