Automox executes actions from a fixed location. It can be changed to a different location if preferred.
The Automox agent uses PowerShell scripts to execute most of its functions including scanning and patching.
These scripts execute from a fixed directory on the local device. By default this is set to the following locations:
For Agent ≥ 40:
For 32-bit systems:
For 64-bit systems:
C:\Program Files (x86)\Automox\
For Agent ≤ 39:
Changing the Default Execution Location
If you would prefer these actions to run from a different default path, that can be set using an agent command on the device (
The next time the Automox agent service is restarted, it will use the newly specified location for running its scripts.
Some endpoint security applications block scripts that don't originate from a designated location. So the most common reason to modify this setting is to move it to an allowlist or preferred directory for your security software.
'C:\Program Files (x86)\Automox\amagent.exe' --setexecdir C:\MyPath\MyDir
'C:\Program Files\Automox\amagent.exe' --setexecdir C:\MyPath\MyDir
/usr/bin/local/amagent --setexecdir /MyPath/MyDir
/opt/amagent/amagent --setexecdir /MyPath/MyDir
Article is closed for comments.