Zoomed Image

Repair Agent

Endpoint Management Guide

Managing the Agent

Repair Agent

Repair Agent tells the agent on each selected computer to reinstall itself from its stored identity. The identity is the agent's record of its database, collection server and own key, saved when it first enrolled. The agent re-applies its settings, reinstalls itself and runs a fresh inventory. The repair is sent over the agent's own connection, so the agent must be online.

Endpoints > Endpoint List > select computers > Manage > Repair Agent.

There is no dialog. A confirmation asks: "Repair the agent on the selected computers?"

Confirmation box asking to repair the agent on the selected computers, with Yes and No

Repair steps

  1. The agent reads its identity from its setup file. If the file is missing, it reads the copy in HKLM\Software\xAssets\Enrolment. Only administrators and the system can read that key.
  2. It checks the identity and writes its settings again.
  3. It reinstalls itself and registers with the collection server again. It proves who it is with its own key, so no code is needed.
  4. It runs an inventory, so the asset record is refreshed.

The computer does not restart.

After you confirm

The message reads "Sent to the selected computers." and asks "Do you want to follow it now?". Yes opens Activity. Each computer reports Sent and then Applied.

The run fails when the agent cannot reinstall itself. The reason starts "The agent could not reinstall itself". It names a missing setup file or a missing installation code in the registry.

Undo

None is needed. A repair puts the agent back as it should be, and there is no earlier state to return to.

When to use it

Symptom Use
The agent is Online but inventory has stopped arriving Repair Agent
The agent was partly removed or its settings were edited by hand Repair Agent
The agent is Offline Install Agent from a LAN collection server. A repair cannot reach an offline agent
The agent is Online and fails every action with "failed signature verification" Install Agent. See Agent States
The repair fails for want of an installation code Install Agent, or reinstall with a code from Install Agent Off LAN
The computer was rebuilt and its registration is refused as "already enrolled" Approve Re-enrolment, then Install Agent. See A rebuilt computer

Install Agent stops on a computer that still has the agent installed. Where the table says Install Agent, uninstall xAssets Discovery Agent on that computer first. See A computer that already has the agent.