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


Jenkins: centralizing the management of scheduled tasks
Jenkins is a free open source software for continuous integration. It is normally used by development equipment to ensure non-regression of source code. In turn, it is possible to use Jenkins as a scheduler to centralize the administration of schedul

MDT: Running a PowerShell Script During a Deployment
In this article, I explain how to run a PowerShell script (ps1 file) during a deployment with MDT. Copy the ps1 << 1 >> file to the Scripts folder in the folder. Open the properties of the sequence and add a task of type Run Command Line

GPO: Deploy a certificate
Presentation In this tutorial, we will see how to deploy a certificate on computers using a GPO. Some cases where you may need to distribute a certificate: Internal Certification Authority Appliance certificate for SSL filtering Self-signed web serve

Leave a Comment