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.
You must now create a GPO to run the script when the station is started. SetupOptions = '/acceptlicense /runnow /server='' /S' Modify the /server=”xx” parameter by adapting the url to your GLPI server.
Line 105 : SetupOptions = '/acceptlicense /runnow /server='' /S' Modify according to the url of your GLPI server: SetupLocation = '' Line 88 : SetupLocation = '' & SetupVersion Put the version of the agent to install, in example 2.4.2 SetupVersion = '2.4.2'