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

Enterprise CA: Installation and Configuration with Windows Server
In this tutorial, I will explain how to set up an enterprise CA that is linked to an Active Directory, unlike the stand-alone CA. This type of CA allows you to automate certificate generation with direct submission to the CA. Automatically issue comp

GPO hide drive C
Presentation In this tutorial, we'll see how to hide drive C using Group Policy (GPO). This GPO is often used to hide drives on RDS farms. Hiding the reader does not prevent access, it is possible to access the reader by the browser directly entering

Leave a Comment