Skip to content
All guides

Deploying with an MDM

The console's Settings → Deploy page generates every file below with your ingest URL and enrollment token filled in. Files that contain the token are available for 10 minutes after you create one, so create the token right before you upload the files to your MDM. Detection and uninstall scripts contain no secret.

Use one enrollment token per MDM or device group. Devices keep working after their token expires or is revoked; only new enrollments stop. To rotate, create a new token, download the files again and replace them in the MDM.

Files

File Platform Contains token Used for
TrakkwiseAgent.pkg macOS no Signed, notarized agent package (hosted)
trakkwise-agent.mobileconfig macOS yes Agent settings profile (com.trakkwise.agent)
com.trakkwise.agent.pppc.mobileconfig macOS no Privacy (PPPC) profile so the agent can read AI tool configs (hosted)
trakkwise-chrome.mobileconfig, trakkwise-edge.mobileconfig macOS yes Force-install the extension and set its managed settings
trakkwise-install.sh macOS yes Download, check signature and install the pkg; saves settings if no profile is present
trakkwise-extension-attribute.sh macOS no Jamf extension attribute: Healthy <version>, Not enrolled, Not running, Not installed
trakkwise-uninstall.sh macOS no Remove the agent and its state
TrakkwiseAgent-x64.msi Windows no Signed agent MSI (hosted). Properties SERVERURL, ENROLLMENTTOKEN
trakkwise-install.ps1 Windows yes Download, check Authenticode signer and install the MSI
trakkwise-detect.ps1 Windows no Exit 0 when the service runs and the device is enrolled
trakkwise-browsers.ps1 Windows yes Chrome and Edge force-install and managed settings; adds to an existing forcelist; safe to re-run
trakkwise-browsers-detect.ps1 Windows no Exit 0 when the browser policy is in place
trakkwise-browsers.reg Windows yes The same policy as a .reg file (sets forcelist entry 1; prefer the script if you force-install other extensions)
trakkwise-uninstall.ps1 Windows no Uninstall the MSI and remove state
trakkwise-install-linux.sh Linux yes Download, check SHA-256, install, write /etc/trakkwise/agent.json, start the systemd service
agent.json Linux yes Settings file for a manual or package install (/etc/trakkwise/agent.json)
trakkwise-agent_amd64.deb, _arm64.deb, .x86_64.rpm, .aarch64.rpm Linux no Packages for apt or dnf, Ansible, Puppet or Landscape; updated by the package manager, not by the agent
<downloads>/linux Linux no Signed apt and dnf repositories with the same packages: add trakkwise.sources (with trakkwise-archive-keyring.gpg) or trakkwise.repo, and the agent updates with the machine's other packages. The Deploy page shows the commands
trakkwise-detect-linux.sh, trakkwise-uninstall-linux.sh Linux no Health check and removal

Detection scripts read trakkwise-agent status -json, which reports version, config source, enrollment, queue and last scan, and never the token or device key.

Counting each person once

The agent reports a computer's login name (dana), the browser extension an email (dana@acme.com). To count both as one person:

  • macOS: the settings profile has UserEmail set to $EMAIL, which Jamf Pro and Kandji fill in with the Mac's assigned user. In Intune, change it to {{mail}} before uploading. Check a Mac with status -json (primary_user).
  • Windows and Linux: set the registry value UserEmail under HKLM\SOFTWARE\Policies\Trakkwise\Agent, or user_email in /etc/trakkwise/agent.json, if your tool can fill in the user per device.
  • Anywhere: in the console under People → Computer logins, import a CSV exported from your MDM or asset list with computer, login and email columns ("Computer Name", "Username" and "User Email" work too). A computer and an email counts every login on that computer as the person, and wins over UserEmail; a login and an email links that login. You see what each line will do before anything changes. The page also suggests a match for each login.

An unfilled variable (a literal $EMAIL) is ignored.

Microsoft Intune

Windows agent. Either:

  • Line-of-business app: Apps › Windows › Create › Line-of-business app, upload the MSI, and set Command-line arguments to SERVERURL="…" ENROLLMENTTOKEN="…".
  • Win32 app: wrap the MSI and trakkwise-uninstall.ps1 with IntuneWinAppUtil. Install: msiexec /i TrakkwiseAgent-x64.msi SERVERURL="…" ENROLLMENTTOKEN="…" /qn /norestart. Uninstall: powershell.exe -ExecutionPolicy Bypass -NoProfile -File trakkwise-uninstall.ps1. Detection: MSI product code, or the custom script trakkwise-detect.ps1.

Chrome and Edge on Windows. Devices › Scripts and remediations › Remediations: detection trakkwise-browsers-detect.ps1, remediation trakkwise-browsers.ps1, run as system in 64-bit PowerShell. Without a Remediations license, add trakkwise-browsers.ps1 as a platform script (it runs once).

macOS. Devices › macOS › Configuration › Create › Templates › Custom: upload the settings profile, the privacy profile and the browser profiles (device channel). Then Devices › macOS › Shell scripts: trakkwise-install.sh, run as signed-in user: No.

Jamf Pro

  1. Computers › Configuration Profiles › Upload: settings, privacy, Chrome and Edge profiles.
  2. Upload TrakkwiseAgent.pkg under Packages and install it from a policy (Enrollment Complete + Recurring Check-in, once per computer). Or run trakkwise-install.sh from the policy to always pull the latest signed release.
  3. Extension attribute (Script, String): trakkwise-extension-attribute.sh. A smart group on "not like Healthy" finds Macs that need attention.
  4. Removal: trakkwise-uninstall.sh from a policy, and unscope the profiles.

JumpCloud

  • macOS: Policy Management › Mac › MDM Custom Configuration Profile, one policy per profile (needs JumpCloud MDM). Commands › Mac, run as root: trakkwise-install.sh. The script saves the settings itself, so Macs without MDM still connect, but without the privacy profile the agent cannot read some AI tool configs.
  • Windows: Commands › Windows (PowerShell): trakkwise-install.ps1 and trakkwise-browsers.ps1.
  • Linux: Commands › Linux, run as root: trakkwise-install-linux.sh (x86_64 or arm64, systemd).
  • Use the detection scripts as commands to see health in command results.

Other tools

Kandji: see the Kandji guide. Mosyle and Addigy take the same profiles and pkg (or trakkwise-install.sh). SCCM and GPO use the MSI command and the .reg file or browser script. Chrome managed through Google Admin uses the policy JSON shown on Settings → Deploy.

What the install scripts verify

  • macOS: Gatekeeper (spctl --assess --type install) must accept the pkg as notarized Developer ID, and when APPLE_TEAM_ID is set on the console, the signature must be from that team.
  • Windows: Get-AuthenticodeSignature must be Valid with the signer common name WINDOWS_SIGNER (default Trakkwise AI, Inc.).
  • Linux: the binary's SHA-256 must match SHA256SUMS from the same download location. This catches corruption, not a compromised download host; signed Linux releases are an open item.

Values are quoted for each shell, so a URL or ID cannot become code. Scripts are ASCII. CI runs them through bash -n and shellcheck, runs the Linux one end to end in tests, and parses and runs the PowerShell ones on Windows PowerShell 5.1.