Skip to main content

Agent enrollment

The agent is installed from an MSI and joins your tenant with an enrollment token. (With Active Directory you can also let the site connector push it.)

Create a token​

Under Settings → Agent enrollment (tenant admins), choose New token:

FieldMeaning
LabelOptional note, e.g. "HQ roll-out September".
Site for new devicesThe site agents enrolled with this token join.
Maximum uses1–100000, or empty for unlimited (agent tokens only; a site connector token is single-use by default).
Expires after (days)Required, 1–90: every token expires, at most 90 days after it is made.

Tokens made before expiry became required, and that never expired, now expire 30 days after the update that introduced the rule. Make a new token for a roll-out that is still running.

The token is shown once, together with the MSI download link and the install command. Copy them now; afterwards only a hash of the token is stored.

tip

Use one token per site and roll-out, with a short expiry and a use limit, so a leaked token is soon useless. Revoke it when the roll-out is done. Revoking a token does not affect agents that already enrolled.

The token list​

The list below New token shows the tokens Made by people (the default) or the ones an AD push made: the one-time tokens an agent push creates for each computer, told apart by their push: label. A second filter narrows them by status, each with its count: Active (the default), Used, Expired, Revoked or All. The search box finds tokens by label. The list shows 25 tokens per page. A site connector token says Site connector under its label.

Revoke and Delete are in each row's ⋯ menu. An active token offers only Revoke (Stops new enrolments; stays in the list). Its confirmation says computers can no longer enrol with the token, those already enrolled keep working, and the token stays in the list as Revoked. Delete (Removes it from the list for good) appears only for revoked, used-up and expired tokens (Delete a token). AD push tokens are deleted automatically 30 days after they expire; tokens made by people are never deleted automatically.

Delete a token​

Revoked, expired and used-up tokens stay in the list. A global admin can remove one for good with Delete in its row's ⋯ menu. An active token cannot be deleted: revoke it first (the API refuses it with 409 enrollment_token_active).

  1. Choose Delete.
  2. Enter your own password (the one of your Entrosity account). The deletion needs it every time, and repeated wrong attempts are rate-limited like sign-in.
  3. Click Delete token.

After that:

  • The token is gone from the list and can no longer enroll anything.
  • Agents and connectors that already enrolled with it keep working, because they have their own keys.
  • The audit log keeps an enrollment_token.delete entry with who deleted it and a snapshot of the token (never the secret).

Tenant admins do not see Delete and cannot delete tokens; they can still revoke. Every agent push makes its own token for each computer, labelled push: <computer>, single-use and valid for 24 hours. Revoking or deleting one before the push reaches the computer makes that push fail; push again.

Install the agent​

Download the MSI from the link shown and install it in an elevated prompt, or through GPO, Intune (Win32 app) or any software distribution:

msiexec /i rmm-agent.msi /qn ENROLLMENT_TOKEN=<token> SERVER_URL=https://hub.entrosity.com/axis
MSI propertyMeaning
ENROLLMENT_TOKENThe token (hidden from MSI logs).
SERVER_URLThe address of Axis, https://hub.entrosity.com/axis. It must start with https://; an address with a user name and password, a ? query or a # part is refused. Agents enrolled earlier with https://manage.entrosity.com or https://portal.entrosity.com/manage keep working.
  • A failed enrollment rolls the installation back.
  • An MSI installed without the properties installs the service, which waits until rmm-agent.exe enroll --server … --token … is run.
  • /qn hides errors. To see them, add /l*v C:\agent-install.log and look for Return value 3. Delete the log afterwards: it can contain the token.

The device appears under Devices as online within a minute and sends its first inventory.

Re-installing and re-enrolling​

Re-enrolling the same machine (matched by its MachineGuid, then its machine SID) keeps the existing device record and rotates the agent's key. Use this to repair a broken agent or to bring back a decommissioned one.

  • An agent that still has its credentials (a repair install, rmm-agent enroll --force on a working agent) proves it is the same agent and is re-enrolled at once.
  • An agent that cannot prove it (the computer was reimaged, the agent's data folder was deleted) or whose device was decommissioned waits for approval: see Re-enrollment requests. A token alone no longer takes over an existing device.

Re-enrollment requests​

A re-enrollment that needs approval does not change the device. Axis keeps it as a re-enrollment request until a tenant admin (who may manage enrollment) approves or refuses it. Each request shows the device it is for, the host name and domain the computer reported, the IP address it came from, the agent version and when it was made.

  • Approve it when you expect this computer to enroll again (you reimaged it, or you are bringing back a decommissioned device). The agent finishes enrolling within seconds, keeps the device record and gets a new key; the token's use is counted only now.
  • Refuse it when you do not recognise the computer or the address. The agent stops with reenrollment_refused, and the device stays as it was.
  • A request that nobody decides within 7 days expires (reenrollment_expired). Install or enroll again to make a new one.
  • A newer request for the same device replaces the older one, so you always decide on the latest attempt.

While the request waits, the agent asks Axis again every few seconds; an rmm-agent enroll --force in a prompt says it is waiting for an operator to approve this re-enrollment in Axis and keeps waiting until the request is decided (Ctrl+C stops it).

Approve or refuse in the app​

Agent requests are on the Devices page; site connector requests on Settings → Active Directory, above the site connectors. While requests wait, a Re-enrollments waiting for approval card sits at the top of the page, with one row per request: what it would take over, the computer name and domain the request came from, its IP address, the version and when it was made (hover for the exact time). The card appears as soon as a request is made, without reloading the page, and goes away when none is left. Only users who may manage enrollment (enrollment:manage: tenant admins, global admins and custom roles with it) see the card; for others the pages stay as they were.

  • Approve opens a confirmation that names the computer, its address and what it takes over; confirm only a reinstall you expect.
  • Refuse ends the request at once, without a confirmation.
  • A request that was decided elsewhere, replaced by a newer one or has expired says so (not_pending) and leaves the list.

Tamper protection​

The agent protects itself so that pupils and other users without administrator rights cannot stop, disable, change or remove it. It sets this up when it is installed and puts back anything that was changed:

  • The service: only SYSTEM and Administrators can stop, reconfigure or delete the Entrosity Axis Agent service; other users can only see its status. It starts automatically (delayed start) and Windows restarts it after every failure.
  • The folders: C:\Program Files\RMM Agent can be read by users but changed only by SYSTEM and Administrators. C:\ProgramData\RMM (the agent's configuration, credentials, logs and downloads) can be opened by SYSTEM and Administrators only, so rmm-agent status needs an elevated prompt.
  • Sign-in session windows: the remote support consent prompt, the restart and shutdown notices and the browsing helper run as the signed-in user, not as SYSTEM.

Self-updates from Axis are not affected.

Uninstall the agent​

Once a device has received its uninstall token from Axis, removing the agent needs that token. Without it (or with a wrong one) the uninstall stops before anything is removed, and Axis is told about the attempt. Uninstalling from Settings › Apps or Programs and Features is refused, because there is no way to enter the token there. Use an elevated prompt:

msiexec /x rmm-agent.msi /qn UNINSTALL_TOKEN=<token>

Each device has its own token. An Axis user who may edit devices can show it, and replace it with a new one (for example after it was given to someone), with Uninstall token on the device's page (Device actions); the agent gets the new token as soon as it is online. Decommissioning a device in Axis does not remove the agent from the computer: uninstall it first.

Tamper events​

The agent reports to Axis when it notices that someone worked against it:

EventMeaning
Service stoppedThe service was stopped while Windows kept running, and started again later.
Agent killedThe agent ended without stopping (its process was killed, or it crashed).
Agent reinstalledThe agent program changed without an update from Axis (an older or other version installed by hand).
Configuration changedThe agent's configuration file was edited; the agent restored it.
Protection repairedThe service settings or folder permissions were changed; the agent put them back.
Uninstall blockedSomeone tried to uninstall the agent without the right token.

Events found while the computer was offline are sent when it reconnects. They can start an automation or go to a notification channel (event Agent tampering). Stops for a restart, a shutdown or an update from Axis are not reported.

What an administrator can still do​

The protection is aimed at users without administrator rights. To keep pupils from removing the agent, do not give them administrator rights on school computers.

Enrollment errors​

ErrorMeaning
enrollment_token_invalidUnknown token (or a connector token used for an agent).
enrollment_token_exhaustedThe token has no uses left.
enrollment_token_expiredThe token expired or was revoked.
reenrollment_refusedA tenant admin refused the re-enrollment request, or a newer request replaced it.
reenrollment_expiredNobody decided the re-enrollment request within 7 days. Enroll again.
rate_limitedToo many enrollments from one IP address in a short time; try again a minute later.