Zoomed Image

Install Agent Off LAN

Endpoint Management Guide

Getting Started

Install Agent Off LAN

Install Agent Off LAN gives you an installation code for the agent and two ways to get the agent onto computers. Use it for computers that no collection server can reach, such as laptops at home and servers in another network. The installed agent connects out to the listening collection server you choose.

  • Endpoints > Endpoints Dashboard > Getting Started > Install Agent Off LAN
  • Step 6. Computers off your network in the Setup Steps list on the same tab

Both open the Install the Discovery Agent form.

Install the Discovery Agent form over the Getting Started tab, with no collection server chosen, the Installation Code at None and the Install on each Endpoint tab open

The form

Field What it does
Cloud Collection Server The listening collection server the agent connects to. It starts at Select a Cloud Collection Server. Choosing one generates the code
New Opens the Create Credentials form
Assign Platform Optional. A platform name given to every computer that enrolls with this code, so you can group them later. It starts at None
Installation Code The code the installer needs. It holds the database name, the collection server's listening address and a one-time secret. It reads None until you choose a collection server

The buttons on the tabs are disabled until a code exists. Close closes the form.

The two ways to install

To push the agent from a collection server to computers on your network, use Install Agent On LAN. See Installing the Agent.

Install on each Endpoint

The tab gives a link to xAssets Discovery Agent Installer.zip on the xAssets website. Download the zip onto each computer, open it and run the MSI. Paste the code when the installer asks for it. Run the installer on each computer and paste the code when it asks. Copy Code to Clipboard copies the code.

Deploy via Scripts and Email

Get Scripts for Powershell and Email Deployment opens a text box with two parts:

  • EMAIL DETAILS: instructions for a user to download the installer, run it and paste the code.
  • POWERSHELL INSTALLATION SCRIPT: a script that downloads xAssets Discovery Agent Installer.zip, extracts the MSI and runs it silently with the code. Run it as an administrator, or deploy it through Group Policy or your software distribution tool.

The code is already in both parts. A silent install reads the code from a file:

msiexec /i "xAssets Discovery Agent Installer.msi" /qn CODEFILE=C:\Windows\Temp\xa-code.txt

The installer reads the file once and deletes it. CODE=<installation code> still works, and the installer keeps it out of its log. A code on a command line can be read by other users of the computer while the install runs, so use CODEFILE.

Code behavior

  • A code enrolls one computer. Open the form again for each computer.
  • The code expires 30 days after it was made.
  • Choosing a collection server makes a new code each time.
  • Once a computer has enrolled, it registers with its own key. A reinstall or repair runs without a code.
  • Anyone with an unused code and the installer can enroll one computer into this database. Keep the code as you would a password.
  • Discover > Discovery Dashboard > Getting Started > Revoke Enrolment Codes revokes every unused code for a collection server. See Installing the Agent.

After installation

The agent connects to the collection server and enrolls. The computer appears on Endpoints > Endpoint List with Agent showing Online. If the computer is new to the register, its first inventory creates the asset record.

Things to check

  • The computer needs .NET Framework 4.8 and outbound access to the collection server's listening port. See Network Requirements.
  • The collection server needs an Agent Listener address. Without one, choosing it shows "Collection Server X does not support connections to xAssets Discovery Agent".
  • Do not install the PCAnalyser MSI from Deploying PCAnalyser as an Agent on the same computer. Both use the same install folder.