IT Asset Inventory Agent

LICENSEWARE Collector

What is LICENSEWARE Collector?

A free lightweight agent that collects system and software inventory data from your servers and securely transmits it to the LICENSEWARE™ platform for software license compliance analysis.

On this page

Operating System Compatibility

Linux

  • x86_64 and arm64 (64-bit)
  • systemd required
  • RHEL, Ubuntu, Debian, etc.

Windows

  • x86_64 (64-bit) only
  • Windows 10+ (Desktop)
  • Windows Server 2016+

macOS

  • Intel & Apple Silicon
  • macOS 12+
  • launchd service

Network Requirements

  • api.licenseware.io or api.us.licenseware.io or api.au.licenseware.ioHTTPS 443
    Data ingestion, enrollment and configuration. Allow the one for your region: api.licenseware.io (EU), api.us.licenseware.io (US) or api.au.licenseware.io (AU). The agent uses the one named in your enrollment token.
  • pushlogs.licenseware.io or pushlogs.us.licenseware.io or pushlogs.au.licenseware.ioHTTPS 443
    Agent log shipping, on by default (LOG_SHIP_ENABLED). Allow the one for the same region: pushlogs.licenseware.io (EU), pushlogs.us.licenseware.io (US) or pushlogs.au.licenseware.io (AU).
  • cdn.licenseware-collector.comHTTPS 443
    Installer downloads, agent updates (signed manifest and packages) and osquery updates, which the agent checks continuously. Required continuously, not just at install time.

System Requirements

Architecture
64-bit only (32-bit not supported)
Disk Space
~100 MB for binaries and temp files
Memory
Minimal (~50 MB during operation)

Upgrading to 0.17.0

From 0.17.0 every agent updates itself from cdn.licenseware-collector.com: signed updates, a staged rollout, and an automatic rollback if a new version fails to start. How a device gets to 0.17.0 depends on its OS.

  • Signed updates
  • Staged rollout
  • Automatic rollback

Windows: upgrade with the 0.17.0 MSI

Action needed

Windows agents on 0.16.x do not update themselves to 0.17.0; they keep running until you upgrade them. In Intune, SCCM or your other tool, replace the 0.16.x package with the 0.17.0 MSI and deploy it as an in-place upgrade with the same command line. An enrolled device needs no token. Do not configure an uninstall followed by an install. If a service is stopped afterwards, run Restart-Service licenseware-collector.

macOS: update privacy rules, then deploy the 0.17.0 pkg

Action needed

Macs on 0.16.x do not update themselves. From 0.17.0 the collector's code-signing identifier is io.licenseware.collector (osquery: io.licenseware.collector.osqueryi); earlier builds used licenseware-collector, LicensewareCollector and osqueryi. If your MDM has PPPC or other privacy rules that name the collector by identifier, add the new identifiers first and keep the old ones until every Mac is upgraded. Rules that use the Team ID 8MD7XA4CF3 need no change. Then deploy LicensewareCollector.pkg 0.17.0 through your MDM; an enrolled Mac needs no token.

Linux: nothing to do

Nothing to do

Linux agents on 0.16.x update themselves to 0.17.0 within a day. Nothing to do.

Agents on 0.11.0 or older

Reinstall

These never update to 0.17.0. Reinstall them with the current package from Downloads.

Direct Downloads

v0.17.0

Download the installer package for your operating system and architecture. Packages never contain an enrollment token — you supply it at install time.

Windows

Download .msi The standalone .exe is deprecated and no longer published here. Use the .msi: it bundles osquery, installs the Windows service, and upgrades in place. To upgrade an existing .exe install, run the .msi over it.

x64 (64-bit)

macOS

Download .pkg

Intel & Apple Silicon

uninstall.command

By downloading you accept the Collector License Agreement.

The /d/latest/ links above always resolve to the current release. To pin a specific version, replace latest with the release tag, e.g. https://cdn.licenseware-collector.com/d/v1.2.3/…

Installation Guide

An interactive walkthrough of the Collector in the LICENSEWARE app. Loads from demo.arcade.software when you start it.

Get Your Token

  1. Go to LICENSEWARE and sign in or create a free account
  2. Navigate to LC App and go to API Keys tab
  3. Click Create Key, configure it, and copy the token

Download and Install

Linux (.deb / .rpm)

⚠️ Requires root privileges

  1. Install and enroll in one step
    curl -fsSL https://cdn.licenseware-collector.com/install.sh | sudo TOKEN=<enrolment-token> sh

    The script picks the right package, checks its SHA256SUMS, installs it, waits for registration and removes what it installed if the machine does not register. Extra options: --proxy URL, --version V, --dry-run. If your sudo rules refuse TOKEN=, save the token in a file and use ... | sudo sh -s -- --token-file /root/lc-token.

  2. Or download the package and install it yourself
    curl -fsSLO https://cdn.licenseware-collector.com/d/latest/licenseware-collector_amd64.deb
    sudo TOKEN=<enrolment-token> apt install ./licenseware-collector_amd64.deb

    On RHEL / Fedora / SUSE use sudo TOKEN=<enrolment-token> dnf install ./licenseware-collector_amd64.rpm. Put TOKEN= after sudo, not before it (TOKEN=... sudo apt loses the variable). The package waits up to a minute and says whether registration finished.

    If sudo refuses TOKEN=, use sudo env TOKEN=<enrolment-token> apt install ..., or create /etc/default/licenseware-collector (mode 0600) containing TOKEN=<enrolment-token> and install without the variable. A fresh install without a token is refused before anything is written.

  3. Check it works
    licenseware-collector status

    Exit code 0 and registered in the output mean the machine is enrolled.

Full Command Reference

The command is on your PATH on Linux and macOS (run it with sudo where it changes something). Proxy, custom CA certificate and the other settings are described in Settings; change them at any time with sudo licenseware-collector set.

Flag / VariableRequiredDescription
TOKENYesEnrollment token from the LICENSEWARE platform, given at install time. LICENSEWARE_ENROLL_TOKEN is deprecated and prints a warning; LICENSEWARE_TOKEN, ENROLL_TOKEN and --enroll-token are no longer accepted.
PROXY, NO_PROXY, CA_CERTNoOptional settings for a proxy and a custom CA certificate. See Settings.

macOS (.pkg)

⚠️ Requires root privileges

  1. Install and enroll in one step
    curl -fsSL https://cdn.licenseware-collector.com/install.sh | sudo TOKEN=<enrolment-token> sh

    Downloads the package, checks its SHA256SUMS, installs it and waits for registration (up to 3 minutes).

  2. Or install by hand
    curl -fsSLO https://cdn.licenseware-collector.com/d/latest/LicensewareCollector.pkg
    sudo install -m 0600 /dev/null /usr/local/etc/licenseware-collector
    echo 'TOKEN=<enrolment-token>' | sudo tee /usr/local/etc/licenseware-collector >/dev/null
    sudo installer -pkg LicensewareCollector.pkg -target /

    installer does not pass environment variables to the package, so the token goes in the env file first. If it fails, the reason is in /var/log/install.log.

  3. Check it works
    licenseware-collector status

    Exit code 0 and registered in the output mean the Mac is enrolled.

Windows

⚠️ Requires Administrator privileges

  1. Download the installer
    Invoke-WebRequest -Uri https://cdn.licenseware-collector.com/d/latest/LicensewareCollector.msi `
      -OutFile LicensewareCollector.msi
  2. Install, passing the enrollment token
    msiexec /i LicensewareCollector.msi /qn TOKEN=<enrolment-token>
    The token is marked as a secure property, so it is never written to the MSI log. To keep it off the command line, put it on the first line of a file and pass TOKENFILE=C:\path\token.txt instead. Run the same command with a newer .msi to upgrade in place; an enrolled machine needs no token. Exit code 0 means the machine is registered and the service is running (the installer waits up to 3 minutes). On failure it exits with 1603, rolls back completely and leaves %ProgramData%\Licenseware\setup.log with the reason. Installing without a token is refused.
  3. Check it works
    LicensewareCollector status
    In a new elevated prompt (so the updated PATH is loaded). Exit code 0 and registered in the output mean the machine is enrolled.

Unattended / MDM deployment (Intune, SCCM)

The install runs as SYSTEM and is fully unattended: msiexec /i LicensewareCollector.msi TOKEN=<enrolment-token> /qn /norestart. The installer waits until the agent is registered and its service is running (up to 3 minutes). If that does not happen it exits 1603 and rolls everything back.

Deployment of the Collector through automated tools such as Intune or SCCM constitutes acceptance of the Collector License Agreement by the deploying organization.

Exit codes

CodeMeaning
0Installed. On a fresh install this means the agent is registered and the service is running
3010Success, reboot pending (files in use; the package itself schedules no reboot)
1603Refused or failed, and rolled back completely. On a fresh install this covers a missing token, a token the backend rejected, and an agent that was not registered within 3 minutes. The reason is in %ProgramData%\Licenseware\setup.log
1618Another installation is already in progress
1619 / 1620Package path unreachable, or not a valid installer package

These are standard Windows Installer codes. There are no vendor-specific values.

MSI properties

Pass these on the msiexec command line. Only the token is required on a fresh install.

PropertyEffect
TOKENThe enrollment token. Required on a fresh install, unless you use TOKENFILE
ENROLLTOKENDeprecated alias of TOKEN
TOKENFILEPath of a local file whose first line is the token. Keeps the token off the command line. Do not pass it together with TOKEN
PROXYProxy URL, for example http://host:port
NO_PROXYComma-separated hosts that bypass the proxy
CA_CERTPath of a PEM file with extra CA certificates (TLS inspection). It is copied to %ProgramData%\Licenseware\ca.pem
AUTOUPDATE0 turns the agent's self-update off, 1 leaves it on (the default)
LOG_LEVELdebug, info, warn or error
ENROLL_ON_START1 for a golden image: nothing is enrolled now, and each machine built from the image enrolls itself on its first start

Upgrades

Run the new MSI in place with the same command line. In Intune or SCCM, replace the old package with the new one; do not configure an uninstall followed by an install. An enrolled host needs no token, and a stopped service is started.

Detecting a registered agent

The agent records whether the LICENSEWARE backend has acknowledged it. On Windows that state is mirrored into the registry, so Intune and SCCM can use a built-in registry rule — no script. Do not use a file-version or product-code rule: both report success even when the agent is not registered.

SettingValue
Rule typeRegistry
Key pathHKEY_LOCAL_MACHINE\SOFTWARE\Licenseware\Collector
Value nameRegistered
Detection methodInteger comparison, Equals, 1
Associated with a 32-bit app on 64-bit clientsNo

SCCM uses the same key and value for an application detection method and for a compliance configuration item. The key also carries Status, AgentId, DeviceUuid, Version, RegisteredAt and LastContactAt as strings for hardware inventory.

On every platform the same information is in a world-readable file with no secrets: registration.json in the agent's state directory (see Installation Paths). Its status is enrolled until the backend acknowledges the agent, then registered. The status command reads it and exits 0 only when registered (2 enrolled only, 3 no state file, 4 no service); status --json prints the file.

licenseware-collector status --json
jq -e '.status == "registered"' /var/lib/licenseware-collector/registration.json

Full Command Reference

To enroll or repair a machine by hand, run this in an elevated prompt:

$env:TOKEN = "<enrolment-token>"
LicensewareCollector register

TOKEN is the only token input. The ENROLLTOKEN MSI property is a deprecated alias, and the LICENSEWARE_ENROLL_TOKEN variable is deprecated (read with a warning). ENROLL_TOKEN is no longer read.

Proxy, custom CA, auto-update and log level (PROXY, NO_PROXY, CA_CERT, AUTOUPDATE, LOG_LEVEL) are settings, not flags: see Settings.

macOS (Jamf, Intune, Kandji)

The pkg enrolls itself, but installer does not pass it environment variables, so the token reaches the Mac in a configuration profile. Three steps:

  1. Upload the profile io.licenseware.collector.mobileconfig with device scope. Replace REPLACE_WITH_ENROLMENT_TOKEN with your token, and set PROXY, NO_PROXY or CA_CERT if you need them.
  2. Deploy LicensewareCollector.pkg. The order does not matter: a pkg that runs before the profile fails with exit 20 and the MDM retries it.
  3. Add status-attribute.sh as an extension attribute (Jamf; use --plain for Intune or Kandji custom attributes). It reports registered once the Mac is enrolled. Build a smart group of Macs whose value is not registered and scope the profile to it, so the token leaves each Mac once it is registered.

The pkg waits up to 3 minutes for registration. Exit codes: 20 no token, 21 token rejected, 22 enrollment failed, 23 timed out. The reason is in /var/log/install.log.

The signing identifier is io.licenseware.collector (and io.licenseware.collector.osqueryi), for identifier-based PPPC rules. Rules based on the Team ID are unaffected.

Settings

Settings are stored on the machine and win over the LICENSEWARE control plane. Change them with the set command, at install time, or through your MDM profile.

SettingWhat it doesDefault
PROXYProxy URL for all collector traffic, or direct to never use a proxy.Detected system proxy, else none
NO_PROXYComma-separated hosts, .domains or CIDRs that bypass the proxy.None
CA_CERTPath of a PEM file with extra CA certificates (TLS-inspecting proxy).None
LOG_LEVELdebug, info, warn, error or critical.info
AUTOUPDATE0 turns the collector's self-update off on this machine.On
LOG_SHIP_ENABLEDfalse stops sending the collector's own log to LICENSEWARE.true

Where to set them

  • Windows MSI: properties PROXY, NO_PROXY, CA_CERT, AUTOUPDATE and LOG_LEVEL on the msiexec command line.
  • macOS profile: keys TOKEN, PROXY, NO_PROXY, CA_CERT, AUTOUPDATE and LOG_LEVEL in io.licenseware.collector.mobileconfig.
  • Any time, any OS: the set command below. It checks the value, stores it and restarts the service.
Linux / macOS
sudo licenseware-collector set
sudo licenseware-collector set LOG_LEVEL=debug
sudo licenseware-collector set PROXY=

The first command lists every setting with its value and source. A trailing = with no value removes the setting.

Windows (elevated prompt)
LicensewareCollector set LOG_LEVEL=debug

Older names are still read: CA_CERT_PATH, SELF_UPDATE_ENABLED, HTTPS_PROXY / HTTP_PROXY and no_proxy. On/off values accept 1/0, true/false, yes/no and on/off.

Settings live in an environment file: Linux /etc/default/licenseware-collector, macOS /usr/local/etc/licenseware-collector, Windows %ProgramData%\Licenseware\collector.env. Prefer set over editing it. The service reads the file only at start, so after a hand edit run sudo licenseware-collector restart (Windows: LicensewareCollector restart).

Proxy Configuration

If your network requires an HTTP proxy for outbound connections, the collector sends all its traffic through it.

System proxy detection

On Windows (the machine WinHTTP proxy, or the Internet Explorer proxy when it is set per machine by policy) and on macOS (System Settings > Network > Proxies) the collector finds the proxy by itself. It does not detect PAC/WPAD scripts, per-user proxies, or any proxy on Linux: set PROXY there. PROXY=direct forces a direct connection.

Basic authentication goes in the URL: http://user:password@proxy.corp.com:8080. NTLM and Kerberos proxies are not supported.

Set it at install

  • install.sh: add --proxy http://proxy.corp.com:8080 (... | sudo TOKEN=<enrolment-token> sh -s -- --proxy URL).
  • Windows MSI: add PROXY=http://proxy.corp.com:8080 to the msiexec command.
  • macOS: set the PROXY key (and NO_PROXY if needed) in the configuration profile.
  • Linux package: before installing, create /etc/default/licenseware-collector (mode 0600) with a PROXY= line.

Change it afterwards

Use set. It checks the value, stores it and restarts the service.

Linux / macOS
sudo licenseware-collector set PROXY=http://proxy.corp.com:8080
sudo licenseware-collector set NO_PROXY=localhost,127.0.0.1,.internal.corp
Windows (elevated prompt)
LicensewareCollector set PROXY=http://proxy.corp.com:8080

Custom CA Certificates

Corporate proxies that perform TLS inspection inject their own CA certificate into the chain. The collector must trust it, otherwise all HTTPS connections fail. Point CA_CERT at a PEM file with your CA certificate(s); it works on every OS.

Custom certificates are added to the system certificate pool, not replacing it. All standard system CAs remain trusted.

Set it at install

  • Windows MSI: add CA_CERT=C:\path\corp-ca.pem to the msiexec command. The file is copied to %ProgramData%\Licenseware\ca.pem, so the original can go.
  • macOS: set the CA_CERT key in the configuration profile, pointing to a PEM file on the Mac.
  • Linux package: before installing, create /etc/default/licenseware-collector (mode 0600) with CA_CERT=/etc/ssl/certs/corp-ca.pem.

Change it afterwards

Linux / macOS
sudo licenseware-collector set CA_CERT=/etc/ssl/certs/corp-ca.pem
Windows (elevated prompt)
LicensewareCollector set CA_CERT=C:\ProgramData\Licenseware\ca.pem

Uninstall Guide

Linux

  1. Debian / Ubuntu
    sudo apt remove licenseware-collector
  2. RHEL / Fedora / SUSE
    sudo dnf remove licenseware-collector

Removing the package stops the service and removes the collector. sudo licenseware-collector uninstall --force does the same: it removes the package through apt or dnf for you.

macOS

Run this in Terminal, or download uninstall.command from the Downloads section and double-click it:

sudo licenseware-collector uninstall --force

Windows (Administrator PowerShell)

  1. Run the uninstall command (it runs msiexec /x for you)
    LicensewareCollector uninstall --force
  2. Or uninstall the package directly
    msiexec /x LicensewareCollector.msi
  3. Or remove it from the UI:
    Settings > Apps > Installed apps
Uninstalling stops the service, removes it, and deletes the collector's runtime files and enrollment token from the machine. Without --force, uninstall refuses while the service is running (stop it first with stop). Add --remove-osquery to remove osquery too.

API Endpoints

All communication uses HTTPS with Bearer token authentication.

MethodEndpointPurposeFrequency
POST/agent/registerRegister agentOnce
GET/agent/configsFetch configsEvery 30m
GET/agent/catalogsGet catalogsEvery 30m
POST/agent/ingestUpload dataCyclical

Data Collection Process

What You Do

  1. Download CollectorThe installer for your OS, from Downloads.
  2. Register CollectorWith your enrollment token.
  3. DoneThe service runs in the background.

What the Collector Does

  1. Step 1Fetch query catalogsCatalog definitions are fetched every 30 minutes.
  2. Step 2Execute queriesQueries run locally through osquery.
  3. Step 3Upload to LICENSEWARE™Results are sent over TLS (HTTPS 443) to the regional instance.

Repeats automatically: catalog check every 30 minutes

Data Collection Specification

This section lists every query the Collector runs, the operating systems it runs on, how often, the exact fields collected and why. It is the same specification published as Schedule 3 of the Licenseware Data Processing Addendum, which governs all data transmitted by the Collector. Nothing outside this list is collected.

The Collector runs two fixed catalogues. Catalogue definitions are fetched from the platform every 30 minutes and results are sent over TLS to the regional instance encoded in your enrolment token. Field names are the column names of the underlying osquery tables.

The query, field and purpose tables below are published in English. The English text is the operative version regardless of the language selected for this site.

Catalogue A: Inventory and processes

Every 60 minutes

System, hardware, operating system and installed-software inventory, plus a point-in-time view of running processes, services and logged-in users.

Catalogue A: inventory and processes, collected every 60 minutes

system_infoLinuxWindowsmacOSNo user data
Fields collected
hostname, uuid, computer_name, local_hostname, cpu_type, cpu_subtype, cpu_brand, cpu_physical_cores, cpu_logical_cores, cpu_sockets, cpu_microcode, physical_memory, hardware_vendor, hardware_model, hardware_version, hardware_serial, board_vendor, board_model, board_version, board_serial
Purpose

Device identity and hardware spec for asset matching and per-device licensing

Personal data relevance

Durable device identifiers (UUID, hardware serial, board serial). No user data.

os_versionLinuxWindowsmacOSNo personal data
Fields collected
name, version, major, minor, patch, build, platform, platform_like, codename, arch, install_date, revision
Purpose

OS edition and version for OS licensing and support-lifecycle reporting

Personal data relevance

None.

kernel_infoLinuxWindowsmacOSNo user data
Fields collected
version, arguments, path, device
Purpose

Kernel version for platform reporting

Personal data relevance

Kernel boot arguments may reveal host configuration. No user data.

usersLinuxWindowsmacOSPersonal data
Fields collected
uid, gid, uid_signed, gid_signed, username, directory, shell, uuid, type
Purpose

Local account enumeration for per-user licence attribution and user counts

Personal data relevance

Usernames, UIDs and home directory paths of all local accounts, including service accounts. Personal data.

programsWindowsNo user data
Fields collected
name, version, install_location, install_source, language, publisher, uninstall_string, install_date, identifying_number
Purpose

Primary Windows installed-software inventory

Personal data relevance

Install paths and product identifiers only. No user data.

deb_packagesLinuxNo personal data
Fields collected
name, version, source, size, arch, revision, status, maintainer, section, priority
Purpose

Debian/Ubuntu installed-package inventory

Personal data relevance

None.

rpm_packagesLinuxNo personal data
Fields collected
name, version, release, source, size, sha1, arch, epoch, install_time, vendor, package_group
Purpose

RHEL/SUSE installed-package inventory

Personal data relevance

None.

startup_itemsLinuxWindowsmacOSPersonal data
Fields collected
name, path, type, source, status, username
Purpose

Detect software configured to auto-start

Personal data relevance

Username associated with each startup item; file paths. Command-line arguments are not collected.

npm_packagesLinuxWindowsmacOSPersonal data
Fields collected
name, version, description, author, license, homepage, path, directory
Purpose

OSS dependency inventory for licence compliance

Personal data relevance

Package path and directory may reveal internal project and repository names on developer machines.

python_packagesLinuxWindowsmacOSPersonal data
Fields collected
name, version, summary, author, license, path, directory
Purpose

OSS dependency inventory for licence compliance

Personal data relevance

Package path and directory may reveal internal project and repository names on developer machines.

chocolatey_packagesWindowsNo personal data
Fields collected
name, version, summary, author, license, path
Purpose

Windows package-manager inventory

Personal data relevance

None.

homebrew_packagesmacOSNo personal data
Fields collected
name, path, version
Purpose

macOS package-manager inventory

Personal data relevance

None.

darwin_appsmacOSPersonal data
Fields collected
name, path, bundle_executable, bundle_identifier, bundle_name, bundle_short_version, bundle_version, bundle_package_type, compiler, development_region, display_name, info_string, minimum_system_version, category, applescript_enabled, copyright, last_opened_time
Purpose

Primary macOS installed-software inventory

Personal data relevance

last_opened_time is a per-application usage signal, not attributed to a user.

darwin_plistmacOSNo personal data
Fields collected
app name, app path, plist key, plist value restricted to CFBundleGetInfoString NSHumanReadableCopyright CFBundleIdentifier under /Applications only
Purpose

Publisher and edition resolution for macOS apps

Personal data relevance

None. Restricted to three named keys for apps under /Applications.

running_processes_windowsWindowsPersonal data
Fields collected
pid, name, path, state, cwd, root, uid, gid, euid, egid, suid, sgid, on_disk, wired_size, resident_size, total_size, user_time, system_time, disk_bytes_read, disk_bytes_written, start_time, parent, pgroup, threads, nice, elevated_token, secure_process, protection_type, virtual_process, elapsed_time, handle_count
Purpose

Join running processes to installed software for last-used inference

Personal data relevance

Process owner identifiers (uid, euid) and working and root directory paths, which may include user home and project directories. An hourly process list is an activity signal. Command-line arguments are not collected.

running_processes_posixLinuxmacOSPersonal data
Fields collected
pid, name, path, state, cwd, root, uid, gid, euid, egid, suid, sgid, on_disk, wired_size, resident_size, total_size, user_time, system_time, disk_bytes_read, disk_bytes_written, start_time, parent, pgroup, threads, nice
Purpose

Join running processes to installed software for last-used inference

Personal data relevance

Process owner identifiers (uid, euid) and working and root directory paths, which may include user home and project directories. An hourly process list is an activity signal. Command-line arguments are not collected.

windows_services_runningWindowsPersonal data
Fields collected
name, service_type, display_name, status, pid, path, module_path, description, user_account, start_type, win32_exit_code, service_exit_code
Purpose

Detect server software running as a service

Personal data relevance

Service account names.

systemd_units_runningLinuxPersonal data
Fields collected
id, description, load_state, active_state, sub_state, following, object_path, job_id, job_type, job_path, fragment_path, user, source_path
Purpose

Detect Linux server software running as a unit

Personal data relevance

Unit user. Paths only; no command lines.

launchd_servicesmacOSPersonal data
Fields collected
path, name, label, program, run_at_load, keep_alive, on_demand, disabled, username, groupname, stdout_path, stderr_path, start_interval, watch_paths, queue_directories, inetd_compatibility, start_on_mount, root_directory, working_directory, process_type
Purpose

Detect macOS software running as a daemon or agent

Personal data relevance

Username and group under which the daemon runs; file paths. Command-line arguments (program_arguments) are not collected.

logged_in_usersLinuxWindowsmacOSPersonal data
Fields collected
type, user, tty, host, time, pid, sid, registry_hive
Purpose

Attribute device usage to a named user

Personal data relevance

Identifies which user accounts are logged in to a device, and when. Personal data.

Catalogue B: Software usage

Every 240 minutes

Execution history used to work out when software was last used, for licence reclamation and audit evidence.

Catalogue B: software usage, collected every 240 minutes

prefetch_metadataWindowsPersonal data
Fields collected
path, filename, hash, last_run_time, other_run_times, run_count, size, volume_serial, volume_creation, accessed_files_count, accessed_directories_count
Purpose

Last-used and run-count evidence for licence reclaim

Personal data relevance

Per-binary execution history (last run time, other run times, run count). Not attributed to a user. Accessed files and directories are counts only; no filenames.

userassist_registryWindowsPersonal data
Fields collected
path, last_execution_time, sid
Purpose

Per-user last-used evidence for licence reclaim

Personal data relevance

Per-user program execution history keyed to the Windows user SID. Direct evidence of which user account ran which program and when.

bam_registryWindowsPersonal data
Fields collected
path, last_execution_time, sid
Purpose

Per-user last-used evidence for licence reclaim

Personal data relevance

Per-user program execution history keyed to the Windows user SID, as UserAssist.

darwin_app_file_timesmacOSPersonal data
Fields collected
path, filename, atime, mtime restricted to /Applications
Purpose

Last-used inference for macOS apps

Personal data relevance

File metadata only (access and modification times), restricted to /Applications. Not attributed to a user.

linux_binary_file_timesLinuxPersonal data
Fields collected
path, filename, atime, mtime restricted to /usr/bin /usr/sbin /usr/local/bin /opt /opt/*/bin
Purpose

Last-used inference for Linux binaries

Personal data relevance

File metadata only (access and modification times), restricted to named binary directories. Not attributed to a user.

Operational logs

The agent ships its own operational logs (status, errors, ingestion cycle information) to pushlogs.licenseware.io or the regional equivalent by default. They may incidentally contain hostnames or file paths. Set LOG_SHIP_ENABLED=false in the environment file and restart the service to disable log shipping. Logs are processed under the DPA.

Change history

3 Sep 2026Command-line argument fields (startup_items.args, launchd_services.program_arguments) removed. No process query collects command-line arguments.
Sep 2026Specification first published at field level. Intervals: 60 minutes (inventory and processes), 240 minutes (software usage).

Additions to this specification are notified to registered customer contacts at least 30 days in advance under DPA clause 13.3. Reductions in scope take effect immediately and are recorded here.

Installation Paths

Linux

Binary
/usr/libexec/licenseware-collector/licenseware-collector
Service File
/etc/systemd/system/licenseware-collector.service
Environment File
/etc/default/licenseware-collector
Registration state (no secrets, world-readable)
/var/lib/licenseware-collector/registration.json

Windows

Seed binary (installer-owned)
%ProgramFiles%\Licenseware\LicensewareCollector.exe
Runtime binary (service + self-update)
C:\ProgramData\Licenseware\bin\LicensewareCollector.exe
Environment File
C:\ProgramData\Licenseware\collector.env
Registration state (no secrets, world-readable)
C:\ProgramData\Licenseware\registration.json
Registry mirror
HKLM\SOFTWARE\Licenseware\Collector

macOS

Binary
/usr/local/libexec/licenseware-collector/licenseware-collector
LaunchAgent/LaunchDaemon
/Library/LaunchDaemons/io.licenseware.licenseware-collector.plist
Environment File
/usr/local/etc/licenseware-collector
Registration state (no secrets, world-readable)
/usr/local/libexec/licenseware-collector/registration.json

Quick Reference

Agent Intervals

Config Refresh
30 mins
Catalog Check
30 mins
Failed File Cleanup
6 hours

Service Commands

  • sudo TOKEN=<enrolment-token> licenseware-collector registerEnroll this machine (or repair an enrolled one)
  • licenseware-collector statusShow service and registration state
  • sudo licenseware-collector setList or change settings (restarts the service)
  • sudo licenseware-collector restartRestart the service
  • sudo licenseware-collector stopStop the service
  • licenseware-collector diagnoseWrite a redacted support zip in the current directory
  • sudo licenseware-collector updateCheck for and apply an agent update (-c checks only)
  • sudo licenseware-collector uninstall --forceRemove the collector
  • sudo licenseware-collector run-onceRun every query once (for testing)
  • licenseware-collector system-infoPrint this machine's identifiers as JSON
  • licenseware-collector licencePrint the license agreement and third-party notices

On Linux and macOS use licenseware-collector; on Windows use LicensewareCollector from an elevated prompt. It is on the PATH: /usr/bin/licenseware-collector on Linux, a link at /usr/local/bin/licenseware-collector on macOS, and %ProgramData%\Licenseware\bin in the machine Path on Windows (open a new elevated prompt after installing).

Logs & Troubleshooting

First steps

Run status first. It says whether the service is running and when the last collection and upload happened. If something is wrong, run diagnose and send us the zip it writes in the current directory. It is redacted: it holds no tokens and no query output.

Linux and macOS:
licenseware-collector status
licenseware-collector diagnose
Windows (elevated prompt):
LicensewareCollector status
LicensewareCollector diagnose

Below is where to read the collector's logs. It writes them to standard error; the Windows service writes them to the Windows Event Log instead. How you access them depends on the operating system and service manager.

Log Level

The verbosity is controlled by the LOG_LEVEL setting. The default is info. Change it with sudo licenseware-collector set LOG_LEVEL=debug; this restarts the service.

LevelDescription
debugMost verbose — all messages including internal state
infoOperational messages (startup, ingestion cycles) (default)
warnNon-critical issues that may need attention
errorFailures only
criticalFatal errors that stop the service

Linux

On systemd-based systems, logs are captured by the journal automatically.

Follow logs in real time:
journalctl -u licenseware-collector -f
View logs from the last hour:
journalctl -u licenseware-collector --since "1 hour ago"

macOS

The launchd service writes both stdout and stderr to a single log file.

Follow logs in real time:
tail -f /var/log/licenseware-collector.log
View full log file:
cat /var/log/licenseware-collector.log

Windows

The Windows service writes the collector's own log to the Windows Event Log under the licenseware-collector provider; it writes no log file. Run these in an elevated PowerShell.

1. Read the collector's log (the last 50 events):
Get-WinEvent -ProviderName "licenseware-collector" -MaxEvents 50
2. Pull Service Control Manager events (start, stop, crash, recovery) for the last 24 hours:
Get-WinEvent -FilterHashtable @{
  LogName   = 'System'
  StartTime = (Get-Date).AddDays(-1)
  ProviderName = 'Service Control Manager'
} | Where-Object { $_.Message -match 'licenseware-collector' } |
  Format-List TimeCreated, Id, LevelDisplayName, Message
3. Capture the full application output by stopping the service and running one collection cycle interactively. All logs stream to the console:
Stop-Service licenseware-collector
$env:LOG_LEVEL = 'debug'
LicensewareCollector run-once *>&1 |
  Tee-Object -FilePath "$env:USERPROFILE\licenseware-collector-debug.log"
Start-Service licenseware-collector
The *>&1 redirection merges every PowerShell stream (stdout, stderr, warnings, verbose, debug) so nothing the collector writes is lost.
4. If the installer finishes but no service appears, read the installer's own log. It records why enrollment failed and survives the rollback that removes everything else. The enrollment token is never written to it:
Get-Content C:\ProgramData\Licenseware\setup.log

License Agreement

The LICENSEWARE Collector is licensed under the Licenseware Collector License Agreement, reproduced in full below. A copy is included in every installation package and is printed by licenseware-collector licence. The version published on this page is the current version and prevails over any copy distributed with an earlier release.

The agreement is published in English. The English text is the operative version regardless of the language selected for this site.

Read the full Licenseware Collector License Agreement

Last updated: August 2026

Licenseware Technology Services S.R.L.
B2B Agreement — Governed by the Laws of Romania (EU Member State)

PLEASE READ THIS LICENCE CAREFULLY. BY GENERATING AN ENROLMENT TOKEN FOR THE AGENT, OR BY DOWNLOADING, COPYING, INSTALLING OR USING ALL OR ANY PORTION OF THE AGENT, INCLUDING WHERE INSTALLATION IS PERFORMED THROUGH AUTOMATED DEPLOYMENT TOOLS OR BY A THIRD PARTY ON YOUR BEHALF, YOU ACCEPT ALL THE TERMS AND CONDITIONS OF THIS LICENCE. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENCE, YOU MAY NOT USE THE AGENT.

This Licence Agreement (Agreement) is a legal agreement between you (Licensee) and Licenseware Technology Services S.R.L., incorporated and registered in Romania with company number J21/238/2021, VAT no RO42866470, whose registered office is at Independentei 1, Slobozia, Ialomita, 920095, Romania (Licensor) for the Licenseware Collector agent software (Agent) and associated Documentation.

The Agent is provided free of charge as a companion to the Licenseware platform. Your access to and use of the platform itself, including the generation of Enrolment Tokens, is governed by the Licenseware End User Licence Agreement available at https://licenseware.io/legal/, together with any applicable Order Form or partner agreement (together, the Platform Agreement).

This Agreement is a B2B agreement entered into between entities acting in the course of their business. This is not a consumer contract. You acknowledge that we may update the terms and conditions of this Agreement from time to time and that it is your responsibility to check any updates.

Agreed Terms

1. Provision of the Agent

1.1 Licensor makes the Agent available for download at https://licenseware-collector.com/ and through the Platform, and will provide the Agent materially in accordance with this Agreement and the Documentation.

1.2 A copy of this Agreement is included in every installation package for the Agent. The version published at https://licenseware-collector.com/ is the current version and prevails over any copy distributed with an earlier release.

2. Grant and Scope of Licence

2.1 Subject to the Licensee's continuous compliance with this Agreement, Licensor grants the Licensee a non-exclusive, non-transferable, revocable and limited licence, free of charge, during the Term to: (a) download, reproduce and distribute the Agent within its own environment and those of its Managed Clients, including through automated deployment and device management tools, solely for the purpose of installation on Managed Systems; and (b) install and run the Agent on Managed Systems solely to collect and transmit Collected Data to the Licensee's tenant on the Platform, for the Licensee's internal business purposes or, where the Licensee is an authorised partner of Licensor, for the provision of services to its Managed Clients.

2.2 Installation and operation of the Agent on the systems of a Managed Client constitutes use of the Agent by the Licensee. No licence rights are granted to Managed Clients under this Agreement and nothing in this clause constitutes a sublicence.

2.3 The Licensee shall take all necessary steps to ensure that its employees, agents and subcontractors abide by the terms of this Agreement and shall comply with the Documentation.

2.4 The licence granted under clause 2.1 applies without altitude restriction. Where the Licensee operates the Agent on a Managed System at or above the Kármán Line (100 kilometres above mean sea level) and notifies Licensor at contact@licenseware.io with reasonable evidence of the deployment, such as mission documentation, launch records or orbital tracking data: (a) Licensor will designate that Managed System as an orbital asset in the Licensee's tenant; and (b) that Managed System shall not count towards any per-device limit, allowance or charge under any commercial Platform plan, in each case applied under the Platform Agreement. Clause 10.3 applies to any such deployment.

3. Restrictions

3.1 Except as expressly set out in this Agreement or as permitted by any local law, the Licensee undertakes not to: (a) sell, rent, lease, sublicense, assign or transfer its rights in the Agent, or make the Agent available to any third party other than by deployment on Managed Systems as permitted under clause 2; (b) disassemble, decompile, reverse-engineer or create derivative works based on the Agent, except to the extent essential for interoperability or in respect of Open Source Components; (c) modify, adapt or translate the Agent, or remove or alter any proprietary notices; (d) circumvent, disable or interfere with the Agent's enrolment, security or update mechanisms, or use an Enrolment Token other than in connection with the Licensee's own tenant; (e) use the Agent other than in connection with the Platform; or (f) fail to comply with all applicable technology control or export laws and regulations.

4. Relationship with the Platform Agreement

4.1 This Agreement governs the Agent. The Platform Agreement governs the Licensee's access to and use of the Platform, including the generation and management of Enrolment Tokens. Nothing in this Agreement grants any right to access or use the Platform.

4.2 The Agent is licensed exclusively under this Agreement. For the purposes of the Platform Agreement, the Agent does not constitute an App and no licence to the Agent is granted under the Platform Agreement. In the event of any conflict between this Agreement and the Platform Agreement in relation to the Agent, this Agreement prevails; in relation to the Platform, the Platform Agreement prevails.

4.3 Collected Data received by the Platform is processed under the Platform Agreement and the DPA. In relation to the processing of personal data, the DPA prevails over this Agreement to the extent of any conflict.

4.4 Except as stated in clause 11.2, no warranty, indemnity, support or service level commitment in the Platform Agreement applies to the Agent, including, for the avoidance of doubt, the intellectual property indemnity in the Platform Agreement.

5. Enrolment Tokens and Security

5.1 Enrolment Tokens are access credentials. The Licensee shall keep Enrolment Tokens confidential, use them only to enrol Managed Systems to its own tenant, and may rotate or revoke them through the Platform at any time.

5.2 The Licensee is responsible for all Agent instances enrolled using its Enrolment Tokens and for all Collected Data transmitted by those instances.

5.3 Licensor may suspend or revoke Enrolment Tokens, or suspend an Agent instance's access to the Platform, where reasonably required for security reasons or in the event of suspected breach of this Agreement.

6. Data Collection and Processing

6.1 The Agent collects Collected Data from Managed Systems and transmits it over encrypted connections to the Regional Instance associated with the Enrolment Token, as described in the Documentation. The categories of data collected, and the collection intervals, are set out in the Documentation.

6.2 As between the parties, the Licensee (or its Managed Client, as applicable) is the controller of any personal data within Collected Data, and Licensor processes such personal data as processor or sub-processor in accordance with the DPA, which is incorporated into this Agreement by reference.

6.3 The Licensee is responsible for ensuring that it has a lawful basis for the collection of Collected Data from each Managed System, for providing any notices required by applicable law to its personnel and to the personnel of Managed Clients, including in relation to software usage, execution history and user session data, and for completing any consultations required by applicable law prior to deployment.

6.4 The Agent transmits operational logs to Licensor by default for troubleshooting, security and service improvement purposes. Log shipping may be disabled as described in the Documentation. To the extent such logs contain personal data, they are processed in accordance with the DPA.

7. Updates

7.1 The Agent checks for and installs Updates automatically, retrieving them from Licensor's release infrastructure, which may include third-party hosting services identified in the Documentation. The Licensee consents to the automatic download and installation of Updates without further notice.

7.2 Licensor reserves the right at any time to make any improvement, substitution or modification in the design or configuration of the Agent, provided that such change shall not result in any material reduction in the core functionality of the Agent.

7.3 Restricting the Agent's network access to the endpoints listed in the Documentation may prevent Updates from being applied or cause the Agent to stop functioning. The Licensee deploys the Agent in restricted network environments at its own risk.

8. Open Source Components

8.1 The Agent includes, or may retrieve, Open Source Components that are licensed under their own terms. Those terms apply to the relevant components in place of clauses 2 and 3 of this Agreement to the extent of any conflict, and nothing in this Agreement restricts any rights granted to the Licensee under them.

8.2 Applicable open source licence texts and attribution notices are included in the installation packages or identified in the Documentation.

9. Intellectual Property Rights

9.1 All Intellectual Property Rights in the Agent and the Documentation, other than in Open Source Components, belong to Licensor or its licensors. The Agent is licensed, not sold. The Licensee has no Intellectual Property Rights in the Agent other than the right to use it in accordance with this Agreement.

9.2 The Licensee acknowledges that it has no right to access the Agent in source code form, except in respect of Open Source Components to the extent provided under their own licence terms.

9.3 Licensor may use any feedback or suggestions relating to the Agent without restriction or obligation.

10. Warranty Disclaimer

10.1 Licensor warrants that it has the rights and authority necessary to make the Agent available under this Agreement.

10.2 Except as expressly provided in clause 10.1, the Agent is provided free of charge, "as is" and as available. To the maximum extent permitted by applicable law, Licensor disclaims all other warranties, express or implied, including any implied warranties of non-infringement, merchantability or fitness for a particular purpose, and does not warrant that the Agent will operate uninterrupted or error-free or that it is compatible with every environment.

10.3 The Agent is not designed or intended for high-risk use scenarios where failure could reasonably lead to death, serious bodily injury, or severe damage to property or the environment.

11. Support

11.1 The Agent is provided free of charge and no standalone support or service level commitment applies to it.

11.2 Where the Licensee holds a paid subscription to the Platform, support for the Agent is provided in accordance with the support terms of the Platform Agreement, provided that such support covers the Agent software only and excludes the Managed Systems on which it runs, their operating systems, and the Licensee's network and deployment tooling.

12. Limitation of Liability

12.1 Nothing in this Agreement excludes or limits either party's liability for death or personal injury caused by negligence, for fraud or fraudulent misrepresentation, or for any liability that cannot be excluded or limited under applicable mandatory law.

12.2 Subject to clause 12.1, neither party shall be liable to the other for any indirect or consequential damages, including lost revenues, lost profits, business interruption, or loss of business information or data, and neither party shall be liable for any delay or default caused by conditions beyond its reasonable control, including any Force Majeure event.

12.3 Subject to clause 12.1 and reflecting that the Agent is provided free of charge: (a) where a Platform Agreement is in force between the parties, Licensor's total aggregate liability under or in connection with this Agreement shall count towards, and shall in no event exceed, the aggregate liability cap set out in the Platform Agreement; and (b) in all other cases, Licensor shall have no liability whatsoever under or in connection with this Agreement, howsoever arising.

12.4 No indemnity is granted by Licensor under this Agreement.

13. Term and Termination

13.1 This Agreement takes effect on the earlier of the Licensee's acceptance as described above and the first installation of the Agent, and continues until terminated (the Term).

13.2 This Agreement terminates automatically if the Licensee ceases to hold an active account on the Platform or if the Platform Agreement terminates or expires.

13.3 Either party may terminate this Agreement on thirty (30) days' written notice. Licensor may suspend or terminate this Agreement with immediate effect where reasonably required for security reasons or where the Licensee is in material breach. Licensor may discontinue the Agent, in whole or in part, on reasonable notice.

13.4 On termination, the Licensee shall cease all use of the Agent and uninstall it from all Managed Systems. Clauses 3, 4, 6.2, 8, 9, 10, 12, 14 and 15 survive termination.

14. Compliance

14.1 The Licensee warrants that it has, and will maintain for the duration of each deployment, all rights, consents and authority necessary to install and operate the Agent on each Managed System, including systems belonging to Managed Clients.

14.2 The Licensee shall comply with all applicable laws in connection with its deployment and use of the Agent, including all applicable technology control, sanctions and export laws and regulations.

15. General

15.1 Notices. All notices shall be in writing. Email is agreed as a valid means of formal notice. Notices to Licensor: contact@licenseware.io.

15.2 Confidentiality. Any Confidential Information exchanged between the parties in connection with the Agent is governed by the confidentiality provisions of the Platform Agreement.

15.3 Amendments. Licensor may update this Agreement from time to time by publishing the updated version at https://licenseware-collector.com/ and including it with subsequent releases of the Agent. Continued use of the Agent following the effective date of an update constitutes acceptance of the updated Agreement.

15.4 Assignment. The Licensee may not assign or transfer this Agreement without Licensor's prior written consent. Licensor may assign this Agreement to an affiliate or in connection with a merger, acquisition or sale of assets.

15.5 Severability. If any provision of this Agreement is held invalid or unenforceable, the remainder shall continue in full force and effect to the fullest extent allowed by law.

15.6 Entire agreement. This Agreement constitutes the entire agreement between the parties in relation to the Agent and supersedes any prior agreements relating to the Agent, without affecting the Platform Agreement.

15.7 Governing law and jurisdiction. This Agreement and any dispute or claim arising out of or in connection with it shall be governed by the laws of Romania, as an EU member state. Each party irrevocably submits to the exclusive jurisdiction of the Romanian courts. The parties confirm that they are each acting in the course of their business and that this Agreement is not a consumer contract.

Definitions and Interpretation

TermDefinition
AgentThe Licenseware Collector agent software made available at https://licenseware-collector.com/ or through the Platform, including bundled components and all Updates.
AppHas the meaning given in the Platform Agreement.
Collected DataSystem, hardware and software inventory data, software usage and execution history, running process and user session data, and related metadata collected by the Agent from Managed Systems and transmitted to the Platform, together with the Agent's operational logs.
DocumentationThe Agent documentation published at https://licenseware-collector.com/ and https://help.licenseware.io/, as updated from time to time.
DPAThe Licenseware Data Processing Addendum available at https://licenseware.io/legal/#data-protection-agreement.
Enrolment TokenAn API key or enrolment token generated through the Platform that registers an Agent instance to the Licensee's tenant.
Force MajeureAny cause beyond the reasonable control of the affected party including acts of God, war, terrorism, fire, flood, epidemic, pandemic, and communication failures.
Intellectual Property RightsAll patents, rights to inventions, copyright, moral rights, trade-marks, business names, domain names, rights in designs, rights in computer software, database rights, and all other intellectual property rights, whether registered or unregistered, throughout the world.
Managed ClientA third party to whom the Licensee provides IT, software asset management or managed services under a written agreement, where the Licensee is an authorised partner of Licensor.
Managed SystemA system owned or controlled by the Licensee, or a system of a Managed Client that the Licensee is authorised to manage and on which the Licensee is authorised to install software.
Open Source ComponentsThird-party components included with, or retrieved by, the Agent that are licensed under open source licence terms, including osquery, as identified in the Documentation or in the notices accompanying the Agent.
PlatformThe Licenseware SaaS platform, including its Regional Instances as described in the DPA.
Platform AgreementThe agreement or agreements governing the Licensee's access to and use of the Platform, including the Licenseware End User Licence Agreement, any Order Form, and any applicable partner or reseller agreement, together with the DPA.
TermHas the meaning given in clause 13.1.
UpdatesAll updates, upgrades, bug fixes, error corrections, enhancements and other modifications to the Agent.