Articles in this section

Deploy the Agent via Command Line

Install the Windows agent silently using the Windows command line or PowerShell—perfect for remote deployment and automation scripts. The ActivTrak Agent for Windows is delivered as a standard MSI file. As a result, Command Line and PowerShell commands that use MSIEXEC work as usual. Use these commands in an elevated Command Prompt or PowerShell window.

Windows only

Use this method to deploy 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 runs silently without 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 to deploy the agent silently on a remote machine. These also work when using an RMM tool with Remote Command Line Access, or through PSExec.

Note: If you use an MDM solution, silent installation may require a variation other than -Quiet, as 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 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