Skip to main content

installing the agent

The agent is what makes a device visible to PosKit. Install it from the Add Device modal on the devices page, which needs the device:create permission (manager and above by default).

supported platforms​

The modal has three platform tabs:

PlatformInstall method
WindowsPowerShell command, run as Administrator
LinuxShell command, run with sudo
AndroidMDM managed app configuration

windows​

Supported on Windows 10, Windows 11 and Windows Server 2019 or later.

The Windows tab gives you a single PowerShell command. Run it in a PowerShell session opened as Administrator on the target device. The command downloads the agent and runs the installer, passing it your registration token and the registration URL so the device knows which organisation to join.

Because it is one line and reusable, it drops cleanly into whatever you already use to run commands across machines — Group Policy startup scripts, your RMM, or a deployment tool.

linux​

Supported on systemd-based distributions using dpkg (Debian, Ubuntu) or rpm (RHEL, Rocky, Fedora) packaging.

The Linux tab gives you a single shell command. Run it with sudo on the target device. The command downloads the agent binary and runs the installer, which registers the device and sets the agent up as a systemd service.

android​

Android does not use a command line. The Android tab gives you two managed app configuration values:

KeyPurpose
registrationTokenIdentifies your organisation and, if scoped, the location
registrationUrlWhere the app registers

Push these through your MDM as managed app configuration for the PosKit app. The app reads them on launch and registers itself. There is no command to run on the device.

caution

Android devices are monitoring-only. They report health and telemetry, but they do not support scripts, reboot, file browsing, processes, services, software inventory or patching. The portal hides those surfaces entirely on an Android device rather than showing them as failing. Plan Android estates as visibility-only, with one exception: remote control works through TeamViewer Host, which you deploy from your MDM. See android requirements.

See device details for exactly which tabs and buttons are hidden on Android, and the kiosk health readings you get instead.

sites with offline terminals​

From the next agent release, the install command accepts two flags for sites where POS terminals have no internet access:

FlagUse on
--bridgeThe one machine with internet access — makes it a bridge the other terminals route through
--proxy http://<bridge-ip>:8127An offline terminal, only when auto-discovery cannot find the bridge (e.g. across VLANs)

Terminals normally need no flag at all — they discover the bridge automatically. Install the bridge before the terminals. See bridge agent for the full setup, security model and troubleshooting.

registration tokens​

The token is the piece that ties an installed agent to your organisation.

  • Reusable. The same token, and therefore the same command, works on every device. You do not need to generate one per machine.
  • Managed centrally. Organization Settings → Registration Tokens.
  • Optionally location-scoped.

scoped versus unscoped tokens​

TokenWhere devices land
Location-scopedAssigned to that location
UnscopedAuto-assigned by IP subnet if one matches, otherwise placed in Main Location
tip

For a multi-site rollout, generate one location-scoped token per site and give each site's installer their own command. Devices file themselves correctly on registration, and you avoid a large reassignment exercise afterwards. The alternative is to set an IP subnet on each location — see managing locations — which achieves the same thing without per-site commands.

The download links produced in the modal are valid for 1 hour. This applies to the link, not the token.

If you are staging an install for later, reopen the Add Device modal at the time you actually need it rather than saving a command from the day before. A stale link is the most common cause of an install that fails immediately at the download step.

gold imaging (system integrators)​

If you deploy devices by capturing and cloning an OS image, install the agent in imaging mode so each cloned machine registers as its own device. Imaging mode is compatible with Sysprep and generalisation — the agent's identity does not depend on the machine SID.

1. install on the golden machine​

poskit-agent install --token YOUR_REGISTRATION_TOKEN --imaging-mode

This installs the agent normally, and additionally saves the registration token so cloned machines can register themselves on first boot.

2. prepare for capture​

Immediately before capturing the image (for example, before running Sysprep):

poskit-agent prepare-image

This stops the agent service and clears all device-specific identifiers — machine ID, hardware hash and device secret — from the image.

3. capture and deploy​

Capture the image with your normal tooling. On each deployed machine's first boot, the agent generates a unique identifier for the machine, registers with PosKit using the saved token, and starts running as a service. No per-machine steps are required.

caution

The registration token is stored inside the image. Use a token scoped to the integrator or site, and revoke it once the deployment is complete.

note

If you boot the golden machine again after running prepare-image, it will re-register as a new device. Re-run prepare-image before capturing again.

For deploying across an Oracle Simphony estate, see advanced agent installation.

verifying the install​

Once the agent is running, the device registers itself and appears on the devices list. If you installed from the guided setup, the agent step flips to detected on its own while you watch.

If the device does not appear, check in this order:

  1. The download link had not expired when the command ran.
  2. The command ran elevated (as Administrator on Windows, with sudo on Linux).
  3. The device has outbound network access to PosKit.
  4. For Android, that the managed configuration actually reached the app through the MDM.

Once the device is visible, go to your first device for what to check next.