Documentation, monitoring

Altius Performance Agent

The Altius Performance Agent is a small signed Windows service that measures how a device and its sessions are performing. It reports to the Monitoring service inside your own installation, and everything on the Monitoring pages comes from it.

The agent only observes. It changes nothing on the device, and the one thing it can install is a newer version of itself.

How it runs

PartWhat it is
ServiceAltius Performance Agent (service name AltiusAgent). It starts with Windows and runs as Local System, with no window.
Sign-in taskA scheduled task, Altius Agent Watcher, starts a small helper for each user at sign-in. The helper runs as that user with standard rights and measures which application is in front, which a service cannot see.
Program filesC:\Program Files\Altius Agent
DataC:\ProgramData\Altius Agent: the device's enrolment and the readings waiting to be sent.
SettingsHKLM\SOFTWARE\Altius\Agent
LogThe Windows Application event log, source Altius Agent.

The agent makes outbound HTTPS calls to your installation's ingestion address and nowhere else. It opens no inbound ports.

What a device needs

  • Windows 10 or 11, or Windows Server, 64-bit. Enterprise multi-session is supported.
  • An elevated command prompt or PowerShell: the installer adds a Windows service.
  • Outbound HTTPS to your installation's ingestion address.

Monitoring has to be set up first: see Set up Monitoring.

If the device runs antivirus or endpoint protection that slows or stops the agent, see Antivirus exclusions.

Install on one device

With the tenant selected, use the portal's Download the agent panel: generate an enrolment token, download the signed installer, and copy the command it builds. The token is shown once, so copy it then. The command looks like this:

msiexec /i AltiusAgent-<version>.msi /qn ^
  SERVICE_URL="<your ingestion address>" ^
  ENROLLMENT_TOKEN="<token>"

Run it from the elevated prompt on the device. The agent enrols when it first starts and the device appears under Devices within about a minute. The device belongs to the tenant whose token you used. The panel's Install instructions button opens these steps inside the portal, with your own address filled in.

Install on many devices

One use of a token is one device enrolment. For a rollout, create a token with as many uses as the estate needs (up to 10,000) and a longer life, then deploy the installer with that command through Microsoft Intune (as a Win32 or line-of-business app) or a Group Policy start-up script. A token can be revoked at any time from the enrolment tokens list.

Installer options

OptionWhat it does
SERVICE_URLYour installation's ingestion address. Required.
ENROLLMENT_TOKENThe enrolment token. Needed the first time a device is enrolled; the agent removes it from the registry once it has been used. A device that is already enrolled keeps its identity and needs no token.
DEVICE_CLASSOptional. The agent works out what kind of device it is on. To force a class, pick it in the panel before copying the command, or pass one of session-host, cloud-pc, azure-vm, hci-vm (an Azure Local virtual machine), desktop or laptop.
AUTO_UPDATESOptional. AUTO_UPDATES=0 stops the agent on that device updating itself, and the choice is kept across upgrades. Left out, updates are on.

What it collects

ReadingWhat is in it
PerformanceProcessor, memory, disk and network counters for the device. On session hosts and Cloud PCs, round-trip time and input delay for each session.
SessionsThe sessions on the device: the signed-in user, the session state and the client name.
Logon timingsHow long each stage of a logon took (connection, authentication, profile load, Group Policy, shell start), read from the Windows event logs.
FSLogixWhere FSLogix profiles are enabled: the profile configuration, the size of each user's profile container and the latency of the profile share. Nothing is collected on devices without FSLogix.
Application usageFor each application: processor and memory use, how long it ran, and how long it was in front while the user was active. Counting stops while the session is locked, disconnected or idle.
Application reliabilityApplication crashes and hangs, from the Windows Application event log.
Installed applicationsThe installed products on the device, including packaged (MSIX and Store) applications.
System informationHardware and operating system facts, such as the model, serial number, processor, memory, disks and network adapters.
On requestThe running processes and the listening network ports. These are read only when someone asks for them from the device's page, and are not kept as history.

What it never reads

  • What a user types. The agent has no keyboard or mouse hooks; it reads only the time of the last input, to tell whether the user is active.
  • Window titles, captions, web addresses or any text on screen. An application is identified by its executable only.

User names appear in the session, logon and usage readings. They stay in your subscription with everything else the agent reports; nothing from a device is sent to Altius.

One thing leaves the installation. To place a device on the estate map, your installation's ingestion service sends the public IP address the device connects from, and nothing else, to a public location service (ip-api.com). Support lists every address.

How it is secured

  • Signed installer. The installer carries Altius Cloud's code signature, so Windows can show who published it and that it has not been altered.
  • Enrolment. A token only lets a device enrol. On first start the agent exchanges it for a credential of its own, stored encrypted on the device and tied to that machine: copied to another machine it is refused, and that machine has to be enrolled itself.
  • Signed requests. Every request the agent makes is signed with that device's own credential.
  • Outbound only. The agent calls your ingestion address over HTTPS. Nothing calls in to it.
  • Offline. Readings that cannot be sent are held on the device's disk and sent when the connection returns. By default the agent holds up to 100 MB or three days, dropping the oldest first. After a failure it waits longer between attempts, up to 15 minutes.

Updates

Admin, Agent updates rolls new agent versions out to your devices. Versions come from a signed Altius feed and are offered on two channels, production and preview; devices follow the default channel unless you give them their own, and updates can be paused. The page is available to global administrators, and to Monitoring admins for the tenant they administer.

Before the agent installs a version it is offered, it checks four things, and all four must pass:

  1. your installation's signature on the offer;
  2. the SHA-256 hash of the download;
  3. the installer's code signature, and that the publisher is Altius Cloud;
  4. that the version is newer than the one installed. The agent never moves to an older version.

If a check fails, the agent deletes the download, does not try those files again, and reports the failure the next time it checks in.

Other Altius products that run on a device, such as Altius Assist, arrive through the same feed. Each has its own production and preview pointers, is mirrored into your installation's own store and verified the same way, and installs only on the devices a tenant admin has targeted. Pause updates pauses them too: there is one pause for everything the feed delivers. The Altius Assist product on the Agent updates page shows each channel's Assist version and the devices by installed version.

Check it is working

The service should be running:

Get-Service AltiusAgent

The Application event log shows the agent's own entries; a healthy device logs that it enrolled:

Get-WinEvent -FilterHashtable @{LogName='Application'; ProviderName='Altius Agent'} -MaxEvents 10 | Format-List TimeCreated, Message

If a device installs but never appears, the usual causes are a token that was already used up or has expired, or a token from a different tenant: generate a new one with the right tenant selected and run the command again.

Remove it

Uninstall Altius Performance Agent from Windows, then retire or delete the device in the portal.

Uninstalling leaves C:\ProgramData\Altius Agent in place, so installing the agent again on the same device keeps its identity and needs no token. Delete that folder as well if the device should enrol as new.