Skip to content
Docs

MDM/Mass Enrollment

For IT mass deployment, use the CLI enrollment command. All three flags are needed: --server is the bare origin of your AgentWatch console (no path), --token is the organization’s enrollment token from Agent Fleet → Agent Connect Settings, and --email must be an employee in Employee Management. The console shows the complete command, prefilled, under Advanced: scripted / headless install.

Terminal window
agentwatch-connect enroll --server https://agentwatch.acme.com --token <org-token> --email jane.doe@acme.com

On Windows, from PowerShell run as Administrator (the install folder is not on PATH):

Terminal window
& "C:\Program Files\AgentWatch Connect\agentwatch-connect.exe" enroll --server https://agentwatch.acme.com --token aw-enroll-0b6f... --email jane.doe@acme.com

This registers the agent with the organization’s AgentWatch instance using the enrollment token configured in Company Settings (agentEnrollmentToken). Computers that receive the installer and settings file from an MDM do not need this: Connect enrolls them by itself.