Question

Install MSI using administrator privileges

  • 21 April 2022
  • 1 reply
  • 154 views

Badge

Hey AM Team

We had an MSI browser extension to install via Automox but it fails due to UAC.  When we created a required software policy to install the MSI file, it just fails and would not install.  Trying to install locally, we found that it requires UAC and local admin privileges.  Is there a way around this using Automox? From my understanding, Automox should be installing apps as local admin?


1 reply

Automox runs as SYSTEM to execute processes. As long as the MSI can be installed programmatically, it can be deployed via the platform.

Example Required Software Policy install line:

exit (Start-Process -FilePath 'msiexec.exe' -ArgumentList ('/qn', '/i', '"Installer.msi"') -Wait -Passthru).ExitCode

Automox runs as system. Polices will not have access to current user resources such as mapped drives, or user based network share permissions.

System vs User

The Automox agent runs under the system context. This is important to consider when testing your scripts.

  • System context will allow installation of applications for all users, and may make system wide changes.
  • The system profile will not have access to network resources, current user registry or directories that are available when running your tests as yourself (even when running ISE x86 in an elevated context).
  • User prompts will not be displayed. The script must complete and close successfully without user interaction.

Feel to reach out to support@automox.com if you have any other questions.

Reply