Atera Scripting

I am trying to run a simple two line bat file. Atera support tells me that it can't be run becuase the logged in user is not an Admin user on the device. Is this true? Atera scripting only works when the user is an admin account?
Example bat file:
@echo off
"C:\Program Files\PROGRAM\uninstall.exe" /S
Comments
-
Can you give me an example of how you are attempting to run the above command? Are you logging into the user session of a device? Are you using the remote terminal (powershell, command prompt) in the Atera interface? Are you attempting to run a stored/saved script through the Atera interface?
0 -
I am attempting to run a stored/saved script through the Atera interface. If I use the remote terminal (command prompt as system) in the Atera interface and execute the "C:…" line of the script it runs without issue.
1 -
In the script creation/editor you can select if its the "system" or "current user". For all of our current stored scripts, we have them run as "System." Do you see this option in your script editor?
0 -
The stored script I am using is configured to run as "System".
1 -
I believe by default the scripts, if run as "System", will run in the background. You may want to test that - by removing the echo command - and see if it any script will show its active usage on the end-users session. The install and uninstall of any software would require that the software supports silent install/uninstall. I would also see if you could run your task using powershell.
I don't have any like for like tasks to test against on my side.
0
Topics
- All Topics
- 62 Getting started
- 27 Read before posting
- 9 Meet and greet
- 331 General
- 77 News and announcements
- 2 Swag
- 6 Roadmap updates
- 1 Product Survey
- 101 Resources
- 1 Onboarding
- 17 Knowledge Base
- 23 Webinars
- 1 Shared Script Library
- 3 Blog
- 24 Pro Tips
- 30 Got an idea?
- 3 Atera Academy
- 8 ActionAI
- 5 Copilot
- 226 Remote Monitoring and Management
- 92 Remote Monitoring
- 31 Patch Management
- 121 Professional Services Automation
- 73 Helpdesk
- 18 Billing
- 24 Reporting
- 44 Integrations & add-ons
- 23 Integrations
- 12 Add-ons
- 120 Scripting and automations
- 68 Scripts
- 37 Automations