tacticalrmm icon indicating copy to clipboard operation
tacticalrmm copied to clipboard

Feature request: A central "pool" for files.

Open DirectITServicesUK opened this issue 2 years ago • 7 comments

Can we have a "files pool". Where installation and/or config files can be stored. So then when a script is scheduled on an agent, for example to install an application, it automagically downloads the file to where the script is run on the agent, rather than having to script the downloading of the file first. Example of use:- BGINFO Lets say you have a BGINFO executable, and a config file, that you want on all machines. That .BGI file will need to be hosted somewhere, and a script needs to grab that file, and place it. Example from competitor - https://community.syncromsp.com/t/scripting-overview/592#required_files

DirectITServicesUK avatar Mar 15 '22 22:03 DirectITServicesUK

good request yes we can do something like that

wh1te909 avatar Mar 16 '22 01:03 wh1te909

Probably best to do in TRMM long term, but mesh can also do it now: https://www.youtube.com/watch?v=UOIjWnsxsN8

silversword411 avatar Apr 07 '22 21:04 silversword411

How do you envision the permissions to work on the uploaded files? Should those be downloadable publicly or just available to the agent?

sadnub avatar Apr 17 '22 18:04 sadnub

On another note, I have had really good luck embedded plain text files in powershell as here strings.

$batchfile = @"
@echo off
cd
Start "" /MIN /wait "C:\BgInfo\bginfo.exe" "C:\Bginfo\bginfoconfig.bgi" /timer:0 /nolicprompt
"@

$batchfile | Out-File -FilePath "$env:allusersprofile\Microsoft\Windows\Start Menu\Programs\StartUp\bginfo.bat" -Encoding ASCII

Now the script has no external dependencies and will run on anything anywhere.

sadnub avatar Apr 17 '22 18:04 sadnub

Accessible via the token the agent uses? Not public I don't think.

Would be useful for scripts to have a repository to download files from and maybe place them there as well?

dinger1986 avatar Apr 17 '22 18:04 dinger1986

Any updates on this?

jlydia avatar Mar 27 '23 04:03 jlydia

Also very interested in this. Having it function like Syncro's implementation of it would be fantastic. We used Syncro for a time and that was one of its best features.

rwright-bci avatar Feb 22 '24 15:02 rwright-bci