Articles in this section

Deploy the Agent via Command Line

Install the Windows Agent silently using Windows command line or PowerShell—perfect for remote deployment and automation scripts. The ActivTrak Agent downloads for Windows as a standard MSI file. As such, Command Line and PowerShell commands that use MSIEXEC will work as usual. Use these commands with an elevated command prompt or PowerShell window.

Windows only

This method is for deploying the Windows Agent. For Mac or ChromeOS, see our installation and deployment guide.

Contents

Before you begin

  • Windows administrator privileges
  • Elevated Command Prompt or PowerShell
  • ActivTrak MSI installer file
  • Correct the file path to the installer

Best practices

  • Test commands on a single machine before mass deployment
  • Save installation logs for audit purposes
  • Document the exact commands used for your environment
  • Create a deployment checklist for consistency
  • Use full file paths rather than relative paths

Deploy the Agent

The command will run silently without any additional messages. If you use an RMM tool or other third-party tools, you may receive a success or failure message

Use the commands below when interacting with a remote machine to deploy the agent silently. These also work when using an RMM Tool that has Remote Command Line Access, or through the use of PSExec.

Note: If using an MDM solution, installing silently may require a variation other than -Quiet shown below. For example: /Quiet, -Q, /Q or /QN.

Quiet install

Replace the file path, unique account number(xxxxxx) and random security token with your installer file's information.

MSIEXEC /i ATAcctxxxxxx_{RandomSecurityToken}.msi -Quiet

Quiet uninstall

Replace the file path, unique account number(xxxxxx) and random security token with your installer file's information.

MSIEXEC /x ATAcctxxxxxx_{RandomSecurityToken}.msi -Quiet

Installation with logging

If an installation fails, run the following command to enable installation logs. Create or update a support ticket with the log file attached for the Support Team to review and respond.

Replace the file path, unique account number(xxxxxx) and random security token with your installer file's information.

MSIEXEC /i ATAcctxxxxxx_{RandomSecurityToken}.msi -Quiet /l*v %TEMP%\atinstall.log

Need help?

Contact ActivTrak Support via chat or email support@activtrak.com if you need further assistance.

Troubleshooting

Installation fails silently:

  • Verify you're using an elevated command prompt
  • Check that the installer filename hasn't been modified
  • Enable logging to identify specific errors
  • Ensure the antivirus isn't blocking the MSI

Agent not appearing in dashboard:

  • Confirm network connectivity to ActivTrak servers
  • Check Windows Firewall settings
  • Verify the account number in the filename matches your account
  • Review the installation log in %TEMP%

Next steps

Was this article helpful?
1 out of 1 found this helpful