I want to deploy from a login script with OcsLogon.exe.
I verify DEPLOY is ON in administrator console, I add the OCS-NG-Windows-Agent-Setup.exe agent and I share the OcsLogon.exe.
In the user profile I add ocs,bat dans logon script
This is the OcsLogon.log file:
********************************************************
Starting OCS Inventory NG Logon Installer 2.1.0.3 on 08/03/2016 at 11:17:11
Checking if not already running...OK
Parsing command line arguments...OK
Searching OCS Inventory NG Agent installed version...OK (0.0.0.0)
OCS Inventory NG Agent does not seems to be installed, setup version 2.0.0.15 required..
Download timeout is set to <60000> millisecond.
Download does not use HTTP proxy server.
Downloading file <http://myserver/ocsinventory/deploy/OCS-NG-Windows-Agent-Setup.exe> without server authentication...OK (C:\Users\ocs\AppData\Local\Temp\OCS-NG_Agent_Setup.exe)
Starting OCS Inventory NG Agent installer...OK (exit code is OK)
Windows does not automatically start OCS Inventory NG Service, so starting Agent <C:\Users\ocs\AppData\Local\Temp\ocs-ng\Ocsinventory.exe>...OK (exit code is OK)
All done, exiting ;-)