# NeoDesk Companion

Source: https://docs.neode.sk/console/companion/
Last updated: 2026-12-03

> Put NeoDesk Companion on the computers you support, so people can get help, write to you and open tickets, and install it silently with an MSI.

NeoDesk Companion is the app for the computer you support. It is made
for the person who sits there, not for the people who help: it has no
settings, no ID or password and can't connect to other computers. Its window
has three areas:

- **Get help**: the person enters the code or link you gave them, and a
  support session starts.
- **Messages**: the chat with your team.
- **My tickets**: the person reports a problem with **Something isn't
  working** and reads your answers.

The company name, logo and accent colour come from your server's branding.
[Using NeoDesk Companion](https://docs.neode.sk/console/companion/using-the-app.md) describes
the Companion for the person at the computer; you can send them that page.

The Companion runs in three ways:

- **For one session**, for [quick support](https://docs.neode.sk/console/quick-support.md):
  the quick support link hands out the Companion, it runs one session, and
  nothing stays on the computer.
- **Started from its download**, without installing it: the program `.exe`
  or the zip on Windows, the app from the disk image on macOS, the tar.gz on
  Linux. It opens the same window with Get help, Messages and My tickets,
  after the person joined your server with an invite. Support reaches the
  computer only while that window is open, and the window says so. On
  Windows its **Install** button installs it with the server and ID it has;
  on macOS the person moves it to Applications. This needs NeoDesk Companion
  0.0.17 or newer. Older Companions, and a Companion your server builds with
  its settings compiled in, open a small window with the ID and the code
  instead.
- **Installed**, as a Windows service with an icon in the notification area.
  It joins your server by itself, shows up under **Devices** and keeps
  Messages and My tickets open between sessions.

This page covers the installed Companion on Windows. On macOS the
Companion can be copied to Applications and updates itself once its
background service runs; see [Updates](#updates).

## Deploy it

Open **Devices**, then **Add computers**, tab **Silent install**. The tab needs
the permission **Manage joining**.

![The Silent install tab with a rollout token filled in, the MSI properties on the right and the silent install command at the bottom](https://docs.neode.sk/shots/silent-install-light.png)

### The token

The token admits the computers to your server in every
[join mode](https://docs.neode.sk/console/enrollment.md#enrollment-modes), without a stop under
**Join requests**. The tab shows the command and the download once a token is
filled in.

Click **Create rollout token** for a token that many computers join with:

![The Create token dialog with For many computers chosen, a name, Computers allowed and Expires after](https://docs.neode.sk/shots/silent-install-rollout-token-light.png)

| Field | What it does |
|---|---|
| Name | Shown in the list of tokens, so you know what the token was for. |
| Computers allowed | How many computers can join with this token in total, 1 to 100,000. 100 at first. |
| Expires after | 24 hours, 7 days, 30 days (the default), 90 days or 1 year. After that no more computers join with it; the ones that joined keep working. |
| Folder | The folder every computer that joins with the token goes into. |
| Policies | The organization whose policies these computers get. |

Click **Create token**, and the tab fills the token in. It is shown only this
once. Each computer gets its own access when it joins, so the rollout token
is never the computer's credential. On **Device tokens** the token's row shows
how many computers joined and how many places are left, for example
"12 joined, 88 left". **Revoke** there stops new joins and leaves the
computers that joined alone; you can also raise the limit there.

A token from **Device tokens** made **For one computer** works too, for just
that one computer.

**Folder** on the Silent install tab is used only when the token has no folder
of its own.

### The download

**Download installer** gives a zip, `neodesk-companion-<server-address>.zip`,
with `neodesk-companion.msi` and `install.cmd`. The MSI is the NeoDesk Companion release your server
imported on the **NeoDesk Companion** tab; without one, the tab says so and
links there. Under **Processor** you pick x64 or ARM64 when the release has
both.

To install on one computer, run `install.cmd` as administrator. It runs the
MSI with the properties of your server and stops when it doesn't have
administrator rights.

## Install it silently

The MSI takes your server's values as properties. **MSI properties** on the
tab shows each one with a copy button, and **Install command** shows the whole
command.

| Property | What goes in | Needed |
|---|---|---|
| `SERVER` | The ID server, host name and optional port | Yes, for a silent install |
| `KEY` | The server's public key | Yes, for a silent install |
| `API` | The API address. Without it the app uses `https://` and the host of `SERVER`. | No |
| `TOKEN` | A rollout token or a token for one computer | On **Managed** and **Locked** servers |
| `GROUP` | A folder, by id or name. The token's own folder wins. | No |

Run the command where `neodesk-companion.msi` is, for example as the install
command of a Win32 app in Intune, in a script of your RMM tool, or in a
computer startup script set by group policy:

```powershell
msiexec /i neodesk-companion.msi /qn SERVER=<id-server> KEY=<server-key> API=<api-address> TOKEN=<rollout-token> GROUP=<folder-id>
```

Put in the values from the tab: `SERVER` for `<id-server>`, `KEY` for
`<server-key>`, `API` for `<api-address>`, your token for `<rollout-token>`
and the folder's id for `<folder-id>`. Or copy the whole command from
**Install command**. Leave out `GROUP` when the token has a folder. Put a value in double quotes
only when it holds a space or a quote, and double a quote inside it.

When `API` is the console's address and a reverse proxy sits in front of
the console, set `TRUSTED_PROXIES` to the proxy's address on the server, as
well as `TRUST_PROXY`. The console hands some of the app's calls, such as
joining, to the server's API, which takes the app's address from the
proxy's headers only from a proxy in `TRUSTED_PROXIES`. Without it every
Companion counts as the proxy's address for the server's limits. See
[Trusting the proxy](https://docs.neode.sk/operations/reverse-proxy-tls.md#trusting-the-proxy).

`TOKEN` is a hidden property: the MSI keeps it out of its log. A value that a
signed configuration of the app already fixes wins over a property; the
NeoDesk Companion release has none, so for its MSI the properties are
the only server settings.

## What happens on the computer

The MSI installs the Companion to `C:\Program Files\NeoDesk Companion\` and
writes the properties into `neodesk-install.txt` in that folder. The app
reads the file only when it is in its own folder under Program Files and only
administrators and the system can change it.

When the service starts for the first time, the app joins your server with
the token and shows up under **Devices**, in the token's folder and
organization. Once the server has answered, the app removes the token from
the file. An icon in the notification area opens the app for each person who
signs in.

Installing the MSI again without properties keeps the existing settings, so
an upgrade doesn't need them. The Companion's MSI also updates a NeoDesk
Support Agent installed before the rename in place: the computer keeps its ID,
its server and its settings.

An installed Companion counts as a device, also for a tenant's device limit.

## Updates

An installed Companion updates itself from your server, never from GitHub.
Many networks of the computers you support reach only your server, and you
decide which version goes out. Like NeoDesk Desktop, the Companion installs
a new version only right after the computer starts or someone signs in, and
waits while a session is open.

![The NeoDesk Companion tab: the imported release, automatic updates and the installed Companions](https://docs.neode.sk/shots/companion-updates-light.png)

- **Your server imports new releases by itself.** It looks for a new
  Companion release on GitHub every six hours, checks its signature and keeps
  it, as **Import latest release** on the **NeoDesk Companion** tab does. To
  hold updates back, turn off **Import new releases automatically** on that
  tab; importing by hand still works then. `NEODESK_COMPANION_AUTO_IMPORT=off`
  in the server's configuration keeps the import off, and the tab says so. The tab shows the last check and its
  result, the release the Companions update to, and how many Companions run
  each version.
- **The Companion checks what it gets.** It takes an update only when the
  release's signature checks out with the key built into the app and the
  version is newer than its own. A server can't hand it other files, and an
  older version only when you roll a group back (see
  [Pilot groups](#pilot-groups)).
- **The policy decides.** With **Install updates automatically** turned off
  in an organization's [policies](https://docs.neode.sk/console/policies.md), its Companions
  don't update.

### Pilot groups

**Companion update groups** at the end of the **NeoDesk Companion** tab lets
a few computers test a release before the rest get it.

![Companion update groups with companion-v0.0.15 pinned for Pilot, no release pinned for Production, and the unassigned Companions on automatic updates](https://docs.neode.sk/shots/companion-pilot-light.png) A Companion is in one
of three groups:

- **Unassigned**, where every Companion starts: it takes the newest release
  the server imported, as above.
- **Pilot** and **Production**: it takes the release pinned for its group,
  and nothing while the group has no pin.

A Companion can join a group once it has checked in with a version that
knows groups, from 0.0.15 on. To test a release:

1. Under **Installed Companions**, set the **Update group** of the test
   computers to **Pilot** and of the others to **Production**.
2. In the **Pilot** row, choose a signed release and click **Pin release**.
   The Pilot Companions install it; **Update result** shows how many are at
   the pinned version, still pending or failed.
3. Once a Pilot computer runs the release, **Promote Pilot to Production**
   pins the same build for Production.

To go back, choose an older release in a group's row and click **Roll back**.
After you confirm, the group's Companions on the current release may install
the older one; the row says from which version the roll back is allowed.

On macOS the Companion updates through its background service, the same
one NeoDesk Desktop uses there. Its window offers to install the service with
**Install**, which asks for an administrator's password. With a device
management tool, run this as root instead, which needs no password:

```sh
"/Applications/NeoDesk Companion.app/Contents/MacOS/NeoDesk Companion" --install-service
```

The service then looks for an update on your server with the same checks.
With the service, staff can also connect when nobody is signed in.

Companions that your server builds with its settings compiled in (embedded
mode of the [Companion generator](https://docs.neode.sk/development/architecture.md#the-companion-generator))
update the same way. When the server imports a new release, it builds each
profile that a Companion used in the last 90 days again, at that release,
and the Companions take the new build. Without `NEODESK_CLIENT_REF` the
server builds them from the newest imported release.

A server that sets its own release key in
`NEODESK_COMPANION_RELEASE_PUBLIC_KEY` imports the official releases as well,
in a folder of their own, and offers those to installed Companions: the app
checks every update with the official key. Downloads and quick support still
hand out the releases signed with your key.

What doesn't update by itself:

- A Companion 0.0.14 or older. Install it once more with the MSI (see
  [Install it silently](#install-it-silently)); from 0.0.15 on it updates
  itself.
- Releases your server imported before it offered updates. The Companions
  update from the next release it imports.
- A Companion on macOS without its background service.

## Unattended access

Your staff can connect to a computer with the installed Companion without anyone
there clicking **Allow**, when the policies allow it. There is no password
for this on the computer. The server confirms who is connecting, and the
server and the Companion both check the policies.

### How it works

Staff connect in one of two ways:

- With **Connect** in
  [NeoDesk Viewer](https://docs.neode.sk/console/remote-in-browser.md), which runs in the browser.
- From NeoDesk Desktop,
  [signed in](https://docs.neode.sk/getting-started/connect-a-client.md#sign-in-from-the-client)
  to your server.

When the connection comes in, the Companion asks the server who it is. The server
confirms the staff member when their account is enabled, has the permission
**Connect to devices**, can see the computer, and the rules below allow
unattended access for them at this moment. The Companion then checks the same
rules with its own copy of the policies and lets them in. If any of this
fails, the person at the computer gets the usual **Allow** prompt, and with
nobody there, nobody gets in.

- It works only over HTTPS: the Companion's API address has to start with
  `https://`, which it does when the MSI got no `API` property. Over plain
  HTTP everyone gets the **Allow** prompt. With a reverse proxy in front of
  the console, see the note on `TRUSTED_PROXIES` under
  [Install it silently](#install-it-silently).
- Staff connecting from NeoDesk Desktop need a current version of it. An
  older version gets the **Allow** prompt.
- A Desktop that isn't signed in, or that only has a password saved in
  the address book, gets the **Allow** prompt. The Companion has no permanent
  password, so a saved password doesn't open it.
- Connections to the Companion always go through a relay server. That is how the
  server knows which account is on the other end.
- A session from **Get help** isn't affected: it always starts with the
  person clicking **Allow**.

NeoDesk Desktop follows **Session approval** and the lists of
staff too, when it is enrolled and the console is on HTTPS. See
[Session approval from the policy](https://docs.neode.sk/console/unattended-access.md#session-approval-from-the-policy).

### What you set

Three places decide, in this order:

1. **Session approval** in the [policies](https://docs.neode.sk/console/policies.md) of the computer's organization,
   under **Rules**, **Policies**, group **Connection**.
2. The computer's own access policy.
3. **Staff who may connect without asking** in the organization's policies,
   group **Security**, and **Allowed operators** in the computer's access
   policy.

| Session approval | Staff get in without asking |
|---|---|
| **Always ask** | Never. Someone at the computer always has to click **Allow**. |
| **Unattended: connect without asking** | Yes, within the computer's schedule and the lists of staff. **Enable unattended access** in the access policy isn't needed. |
| **Attended: the person at the device must accept**, or not set | Only when **Enable unattended access** is on in the computer's access policy, then within its schedule and the lists of staff. A computer without an access policy always asks. |

The schedule and the lists narrow it down further:

- **Schedule**: with **Enable time-based access** on, staff get in only on
  the **Allowed days**, from **Start time** to **End time**, in the access
  policy's **Timezone**, for example Europe/Berlin. An end time before the
  start time runs over midnight, and the same start and end time means the
  whole day. A time zone the server doesn't know lets nobody in.
- **Lists of staff**: both lists take account usernames. When a list is set,
  the staff member's username has to be in it, and when both are set, in
  both. The username has to match exactly, upper and lower case included.
  An empty list lets in everyone who may connect to the computer.

To open a computer's access policy, go to **Devices** and choose **Access
policy** in the computer's menu or in its **Actions** tab. When your
account can read the organization's policies, a computer with the Companion also
has an **Unattended access** section on its **Overview**, which sums up all of the above in one sentence, for example "Staff can
connect without asking, Mon to Fri 8:00 to 18:00.", "Staff can connect
without asking, only anna and ben." or "Someone at the computer must click
Allow." The times are the computer's; when its time zone isn't yours, the
sentence names it. **Change** next to it opens the access policy. Only an
administrator account with the permission **Edit organizations** can change
a computer's access policy.

The server checks every connection against the settings as they are now. The
Companion reads the policies every five minutes, so a change that lets more staff
in can take a few minutes to reach the computer.

### What the person at the computer sees

Under **Get help**, the Companion says that your support can connect without
asking, for example "Your support team can connect to this computer
without asking you, Mon to Fri 8:00 to 18:00." The days and times show only
when the access policy has a schedule, in the computer's own time zone.
When the policies always ask, there is no line.

![The Get help page with the line Your support team can connect to this computer without asking you, Mon to Fri 8:00 to 18:00](https://docs.neode.sk/shots/companion-unattended-light.png)

When a session starts, Windows shows a notification with the staff
member's name and your company's, for example "Sam Keller from Fernhill IT
connected to this computer." During the session the
[bar at the top of the screen](https://docs.neode.sk/console/companion/using-the-app.md#the-bar-at-the-top-of-the-screen)
shows the name the server confirmed, and the person can end the session
with **Stop**.

The Companion has no switch to turn this off. You decide it in the policies.

### Nobody signed in

Unattended access also works when nobody is signed in to Windows or the
computer is locked. The staff member gets in without a click and sees the
Windows sign-in or lock screen. Nothing shows on the sign-in screen, and
the notification appears only in the session of someone who is signed in.

### In the audit log

Each unattended session shows under **Activity**, **Audit log**:

| Entry | When | Details |
|---|---|---|
| **Unattended session started** | The server confirmed a staff member. | The staff member, how they connected (the web console or NeoDesk Desktop) and the relay session. |
| **Unattended session ended** | The session ended. | When it started and how long it took, in seconds. |
| **Unattended session refused** | A staff member connected and the server didn't confirm them. | The reason, for example "outside the allowed times" or "not an allowed operator". |

A session that is still running when the server restarts, or that another
server of a cluster ends, gets no end entry.

## Removing the app

A person with administrator rights removes the app in Windows under
**Settings**, **Apps**, **Installed apps**. That stops and deletes the
service and removes the files, including `neodesk-install.txt`. From a
deployment tool, run as administrator where the MSI is:

```powershell
msiexec /x neodesk-companion.msi /qn
```

To keep people from removing it, turn off **People can remove the app** in
the policies of the computers' organization, under **Rules**, **Policies**,
group **Security**. The app then hides its entry from **Installed apps** and
from Programs and Features and takes its uninstall shortcut out of the Start
menu. When the switch is on or not set, removing is allowed. An administrator
can still remove the app with `msiexec /x`.

## The offer after quick support

At the end of a [quick support](https://docs.neode.sk/console/quick-support.md) session, after
the [feedback](https://docs.neode.sk/console/quick-support/feedback.md), the Companion asks "Keep Fernhill IT support on this computer?" with
your company's name, and **Install** or **No thanks**.

![The NeoDesk Companion window asking Keep Fernhill IT support on this computer? with Install and No thanks, in light and dark](https://docs.neode.sk/shots/companion-offer-light.png)

**Install** asks Windows for administrator rights, installs the Companion and
joins the computer to your server. It needs no token: the session carries a
one-time admission that is valid for 24 hours, for this one computer, also
on a **Managed** or **Locked** server. The computer lands in no folder.

The Companion doesn't ask on a computer that has NeoDesk already, and asks only on
Windows. Turn the offer off under **Settings**, **Quick support**, with
**Offer to install after quick support**. It is on by default and applies to
sessions that start after the change.

## Where you answer

- **Messages** in the app is the computer's conversation under **Support**,
  **Chat**. See [Chat](https://docs.neode.sk/console/chat.md).
- A ticket from the app shows under **Support**, **Tickets**. The picker next
  to the priority, set to **From computers**, lists only these tickets.

![The tickets list filtered to From computers, with two tickets opened by people at their computers](https://docs.neode.sk/shots/tickets-from-computers-light.png)

Such a ticket says who opened it, for example "Opened by Anna Weber at the
computer 900100001", with a link to the computer. The server adds what it
knows about the computer as `computer-info.json`. Your public answers and
status changes reach the app at once while it is online and show the person
a notification; internal notes stay in the console. The bell in the top bar
tells you about new tickets and replies from computers. See
[Tickets](https://docs.neode.sk/console/tickets.md#tickets-from-computers).
