GPO: Installing the FusionInventory Agent

Introduction

Following the many messages I can see on the forum concerning the installation of the Agent FusionInventory, I will explain how I have been doing for several years.

In this article, I’ll explain how to install the FusionInventory agent using a script that runs when the machine starts.

It is possible to install the agent with a login script at the user level if the user is administrator of his post because the script is executed in the context of the user, he needs them. rights to install software.

How to install the FusionInventory agent

Download the FusionInventory agent (s) on the Github repository and place it (s) on the GLPI web server to make it accessible on the web. It is also possible to configure the agent’s URL directly on the Github repository, which often involves a rule in the company’s firewall, since the post is not authenticated when it goes online.
agent in web server

You must now retrieve the installation script fusioninventory-agent-deployment.vbs and adapt it to your configuration.

Search the line (68):

SetupVersion = "2.4"

Put the version of the agent to install, in Example 2.4.2

SetupVersion = "2.4.2"

Search the line (88):

SetupLocation = "https://github.com/fusioninventory/fusioninventory-agent/releases/download/" & SetupVersion

Modify according to the URL of your GLPI server:

SetupLocation = "https://glpi.rdr-it.lan/agents-fusion/"

Search the line (105):

SetupOptions = "/acceptlicense /runnow /server='http://glpi.yourcompany.com/glpi/plugins/fusioninventory/' /S"

Modify the / server = “xx” parameter by adapting the url to your GLPI server.

SetupOptions = "/acceptlicense /runnow /server='http://glpi.rdr-it.lan/plugins/fusioninventory/' /S"

Save file. It is now necessary to create a GPO to execute the script at the start of the post.

Conclusion

This solution allows the installation of the fusion inventory agent on the computers of a domain, there is plenty of method to deploy the agent, if you have a software deployment solution, it is also possible to use it.


Related Posts


GPO: Deploy RemoteApp Programs

Introduction In this tutorial we will see how to deploy RemoteApp configured by Group Policy (GPO) on an RDS farm. Prerequisites The deployment of the RDS farm must have: A server with the RD Web Acce

Active Directory: Multi Site, Subnet, and Replication Configuration

Presentation In this tutorial, we will approach the notions of Active Directory sites as well as subnets. Active Directory sites can optimize management in multi-site / network infrastructures by: Man

GPO: Make users administrator of their post

Presentation In this tutorial, we are going to have how to set up a GPO to make the admin domain users of their post. The goal is to add the Domain Users group in the Administrators 1 group of the use