amidaware / tacticalrmm

A remote monitoring & management tool, built with Django, Vue and Go.
https://docs.tacticalrmm.com
Other
3.14k stars 439 forks source link

Feature Enhancement: Add Trigger option to Automated Task 'Run URL Action' #832

Open r3die opened 2 years ago

r3die commented 2 years ago

Is your feature request related to a problem? Please describe. Feature Enhancement needed to trigger action upon connection of 3rd party remote connection software

Describe the solution you'd like The Added option of 'Run URL Action' with a dropdown to select the URL Action that is used as the trigger, essentially so that when I connect with a third party remote access platform ie splashtop, teamviewer, etc the task will automatically run.

Describe alternatives you've considered N/A

Additional context This would be useful as we have a lot of 'kiosk' type devices in circulation that make it difficult to get to the windows desktop as they do not respond to ctrl+alt+dlt. The action I have in mind is to open a file explorer window immediately upon connection. While this works perfectly it would be ideal to have it tied to a trigger.

image

silversword411 commented 2 years ago

Automated task is a task scheduler entry in windows. Nothing related to a random automation task you can stick somewhere.

Maybe one of the devs can think of something like attaching a script run to a url action to Cain the two functions together.

sadnub commented 2 years ago

I don't know if this is possible because trmm scheduled tasks run in the SYSTEM context. See if you can get this working with a normal windows task with a user specified. There is a task trigger of "on connection to user session" that might work. Then set your action to run exporer.exe.

image

I am currently revamping the scheduled tasks to allow more options and it might feature the ability to import a task scheduler xml file. Basically, you would be able to export a task from a windows computer and import it into TRMM to add to one or more agents.

image