GPO: Installing the FusionInventory Agent

Introduction

Following the many messages that I can see on the forum regarding the installation of the FusionInventory agent, I will explain how I have been proceeding for several years.

In this article, I will explain how to install the FusionInventory agent using a script that runs when the computer starts up.

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

Steps to Install the FusionInventory Agent

Agent download

Download the FusionInventory agent (s) on the Github repository and place it (s) on the GLPI web server so that it is accessible on the web. It is also possible to configure the agent url directly on the Github repository, which often involves a rule in the company’s firewall, because the station is not authenticated when it goes to the Internet.

agent in web server

The installation script

We must now retrieve the installation script for the FusionInventory agent. Personally I use the VBS script available below. and adapt it to your configuration.

Customizing the script

Line numbers are indicative

line 68 :

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

Line 88 :

Modify according to the url of your GLPI server:

Line 105 :

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

Save file. You must now create a GPO to run the script when the station is started.

Conclusion

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

Link :





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 sch

GPO Login Script

Table Of ContentsPresentationImplementation of a logon script Presentation In this tutorial, we will see how to set up a GPO that will execute a logon script. Logon scripts are usually in batch or vbs

GPO: Enabling and Configuring WinRM – Remote Management

Table Of ContentsPresentationGPO for WinRMConfiguring WinRMService configuration Presentation In this tutorial, we will have how to enable and configure remote management (WinRM - Windows Remote Manag